Check whether text is AI-generated.
POST/v2/text/sync
- Passive: the target is not contacted
The text must be 250 to 500,000 characters, roughly 64 words minimum. Set include_annotations to get block-level scores.
Query parameters
external_idYour own tracking ID, echoed back
include_annotationsAdds block-level results
Request body (form) · 1ShowHide
text
Text to analyse, 250 to 500,000 characters
Response fields · 10ShowHide
id
Request identifier (UUID)
created_at
Processing time
external_id
Echoed from the request
confidence
Confidence from 0 to 1
is_detected
Whether AI text was detected
annotations[]
Text block and confidence pairs, only with include_annotations
word_count
Words in the text
character_count
Characters in the text
token_count
Tokens in the text
md5
MD5 of the text
curl -X POST 'https://api.aiornot.com/v2/text/sync' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d '{
"text": "Replace this with at least 250 characters of text to analyse."
}'{
"id": "00000000-0000-0000-0000-000000000000",
"created_at": "2026-01-01T12:00:00Z",
"external_id": "case-0001",
"report": {
"ai_text": {
"confidence": 0.12,
"is_detected": false
}
},
"metadata": {
"word_count": 80,
"character_count": 480,
"token_count": 100,
"md5": "00000000000000000000000000000000"
}
}