Designed for
- Reviewing source code snippets and files
- Screening code from technical interviews and assignments
- Automating checks in engineering and compliance workflows, with signals for human review
CODE-ONLY AI DETECTION API
Detect AI-generated source code programmatically with explainable signals. Built exclusively for code—not essays or general prose. Plans start at $14.99/month.
Starting at $14.99/mo
curl https://detectcodeai.com/api/v1/detect \
-H "Authorization: Bearer ${DETECTCODEAI_API_KEY}" \
-H 'Content-Type: application/json' \
-d '{"code":"def greet(name):\n return name.strip()","language":"python"}'{
"code": 0,
"message": "ok",
"data": {
"id": "e20a6a6f-53e7-4d42-9519-3d55065241bc",
"verdict": "possibly_human",
"confidence": 72,
"confidence_band": "medium",
"signals": [
{
"signal": "Task-specific structure",
"explanation": "The loop is tailored to the booking schedule."
}
],
"language": "python",
"route": "flash+sol",
"partial": false,
"disclaimer": "This result is a probability estimate, not proof. Never use it as the sole basis for academic or employment decisions. Detection is probabilistic — always review the signals yourself before acting."
}
}See authentication, parameters, and error codes in the API docs →
See our Privacy Policy for how we handle submitted code.
Three proprietary models scored 88–96% on the 100-snippet blind-test benchmark. Flash ran on a subset. See accuracy & evaluation methodology.
From $14.99 / month
Web Pro includes 1,000 web checks per month, batch detection of up to 20 snippets, CSV and JSON export, and snippet highlighting.
Get API AccessPlanned add-on
$9.99 for 5,000 extra calls
Valid for 90 days
Use detection results as a signal for human review.
Subscribe, then generate a key in your account.
Use the request and authentication instructions in the API docs.
Parse both fields and show the signals in your review workflow.