Detect plagiarism and AI-generated content programmatically. Pay-as-you-go at $0.01 per scan.
Sign in and create a key under Settings → API Keys. The raw key is shown only once — store it securely.
sk_live_... (or sk_test_... in test mode).
Revoke a key at any time from the same page.
Every detection endpoint accepts your key in either header form.
curl https://originalcheck.tech/api/v1/detection/scan \ -H "X-API-Key: sk_live_xxx" \ -F "text=Your text here" \ -F "scan_type=both"
| Header | Value | Notes |
|---|---|---|
X-API-Key | sk_live_xxx | Recommended |
Authorization | Bearer sk_live_xxx | Drop-in compatible with OpenAI/DeepSeek style clients |
?api_key= | sk_live_xxx | Query parameter, handy for quick browser tests |
| Field | Type | Required | Description |
|---|---|---|---|
text | string | one of | Text to analyze, minimum 100 characters |
file | file | one of | PDF, DOCX or TXT document |
scan_type | string | no | both (default), plagiarism, or ai |
curl -X POST https://originalcheck.tech/api/v1/detection/scan \
-H "X-API-Key: sk_live_xxx" \
-F "text=The mitochondrion is often described as..." \
-F "scan_type=both"
{
"scan_id": "0f3c...-...",
"status": "completed",
"message": "Scan completed successfully.",
"quota": {
"feature": "detections",
"used": 1,
"limit": 0,
"unlimited": true,
"remaining": null,
"allowed": true
}
}
402 Payment Required — check the quota object to
stay ahead of the limit. Paid plans report "unlimited": true.
Up to 10 documents per request. Each document consumes one scan from your quota.
curl -X POST https://originalcheck.tech/api/v1/detection/batch-scan \ -H "X-API-Key: sk_live_xxx" \ -F "files=@thesis-01.pdf" \ -F "files=@thesis-02.docx" \ -F "scan_type=both"
Fetch a completed result, including matched sources and suspicious segments.
curl https://originalcheck.tech/api/v1/detection/scan/0f3c...-... \
-H "X-API-Key: sk_live_xxx"
{
"plagiarism_score": 15.4,
"ai_score": 87.0,
"sources": [
{
"url": "https://arxiv.org/abs/1706.03762",
"title": "Attention Is All You Need",
"similarity": 62.8,
"matched_text": "..."
}
],
"result_json": {
"ai_engine": "deepseek",
"ai_confidence": 0.93,
"ai_verdict": "likely_ai",
"ai_reasoning": "Dense use of templated transitions...",
"highlighted_paragraphs": [ { "paragraph": "...", "similarity": 62.8, "is_suspicious": true } ],
"suspicious_segments": [ { "text": "...", "score": 81.0, "reasons": ["Templated transitions"] } ]
}
}
Paginated history with search and filters.
| Query param | Type | Description |
|---|---|---|
page | int | 1-based page number (default 1) |
per_page | int | Items per page (default 10) |
search | string | Case-insensitive match against the document title |
type | string | plagiarism, ai, or both |
status | string | completed, processing, pending, failed |
curl "https://originalcheck.tech/api/v1/detection/history?search=thesis&type=both&status=completed&page=1&per_page=20" \ -H "X-API-Key: sk_live_xxx"
Download the PDF integrity report. An .xlsx export is available at
/api/v1/reports/scan/{scan_id}/export.xlsx.
| Status | Meaning | What to do |
|---|---|---|
| 401 | Missing or invalid key | Check the key value and header name |
| 402 | Daily free quota exhausted | Back off until the daily reset, or upgrade the plan |
| 403 | Account disabled | Contact support |
| 404 | Scan not found | Verify the scan_id belongs to your account |
| 400 | Invalid input | Text must be at least 100 characters; supported formats are PDF, DOCX, TXT |
import requests
API_URL = "https://originalcheck.tech/api/v1"
HEADERS = {"X-API-Key": "sk_live_xxx"}
resp = requests.post(
f"{API_URL}/detection/scan",
headers=HEADERS,
data={"text": open("thesis.txt").read(), "scan_type": "both"},
timeout=120,
)
resp.raise_for_status()
scan_id = resp.json()["scan_id"]
result = requests.get(f"{API_URL}/detection/scan/{scan_id}", headers=HEADERS, timeout=30).json()
print("plagiarism:", result["plagiarism_score"], "ai:", result["ai_score"])
for source in result["sources"]:
print(" matched:", source["url"], source["similarity"])