Developers
Check Plagiarism API
Run the same plagiarism and AI-detection scan as the website from your LMS, editorial tool or script. Each scan uses one credit from your balance. There's no separate API plan.
Getting started
- Buy a credit pack (API access unlocks after your first purchase).
- Create a key in Dashboard → API access.
- Send it as
Authorization: Bearer cp_live_…on every request.
POST/api/v1/scans
Runs a scan and returns the finished report (usually 1–3 minutes; keep the request open up to 5 minutes). Uses 1 credit, which is refunded automatically if the scan fails.
curl https://checkplagiarism.app/api/v1/scans \
-H "Authorization: Bearer cp_live_..." \
-H "Content-Type: application/json" \
-d '{
"text": "Your document text (50–25,000 words)...",
"name": "essay-final.docx",
"exclude_bibliography": true,
"exclude_quotes": false
}'Response 201:
{
"id": "3f6c…",
"object": "scan",
"status": "done",
"report_url": "https://checkplagiarism.app/dashboard/scan/3f6c…",
"words": 1240, "checked_words": 1180,
"similarity": 17,
"similarity_by_type": { "internet": 12, "publication": 5 },
"ai": { "score": 12, "generated_pct": 8, "paraphrased_pct": 4, "low_confidence": true },
"sources": [ { "n": 1, "url": "https://…", "title": "…", "host": "en.wikipedia.org", "type": "internet", "pct": 9, "words": 106 } ],
"matches": [ { "start": 211, "end": 340, "source": 1, "text": "…matched passage…" } ],
"ai_sentences": [ { "text": "…", "label": "ai_generated", "ai": 91 } ]
}matches[].start/end are character offsets into the text you sent. ai.low_confidence is true for scores under 20%, which have a higher false-positive rate. If the AI model is unavailable, ai.score is null and a style score is returned instead.
GET/api/v1/scans/{id}
Fetch a report again (same shape as above). Reports are kept for 90 days.
GET/api/v1/scans?limit=20
Your most recent scans as summaries (id, name, status, words, similarity, ai_score, source, created_at).
GET/api/v1/credits
Your balance:
{ "object": "credits", "credits": 7, "expires_at": "2027-01-04T10:00:00Z", "free_scan_available": false }Errors & limits
Errors are JSON: { "error": { "message": "…", "code": "…" } }
401 unauthorized: missing, invalid or revoked key400 invalid_body / too_short / too_long: text must be 50–25,000 words402 no_credits: buy more credits429 too_many_running: at most 2 scans can run at once per account502 scan_failed: the scan failed and the credit was returned; retry
Need higher volume or concurrency? Contact us.