API Documentation
The PlagiarismGuard API allows you to programmatically check text for plagiarism. Integrate our powerful plagiarism detection into your applications, websites, or workflows.
Quick Start
- 1
Get your API key
Create an API key from your dashboard
- 2
Make your first request
Use the API key in the Authorization header
- 3
Get results
Receive plagiarism analysis with source matching
Authentication
All API requests require authentication using a Bearer token in the Authorization header.
Authorization: Bearer YOUR_API_KEYKeep your API key secure
Never expose your API key in client-side code or public repositories. Always make API calls from your backend server.
Endpoints
Base URL: https://your-domain.com
Code Examples
curl -X POST https://your-domain.com/api/v1/check \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Your text to check for plagiarism...",
"title": "My Document"
}'Rate Limits
API rate limits are based on your subscription plan.
| Plan | Requests/min | Daily Limit |
|---|---|---|
| Free | 10 | 50 checks |
| Starter | 30 | 200 checks |
| Professional | 60 | 500 checks |
| Enterprise | Unlimited | Unlimited |
Error Handling
The API uses standard HTTP status codes to indicate success or failure.
| Status Code | Description |
|---|---|
200 | Success |
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |
Error Response Format
{
"success": false,
"error": {
"code": "RATE_LIMIT_EXCEEDED",
"message": "You have exceeded your rate limit. Please try again later.",
"retryAfter": 60
}
}