Programmatic access to DETECTAI. Available on Pro and Enterprise plans.
Include your API key in every request using the X-API-Key header.
Generate your API key in Settings → API Access (Pro/Enterprise only).
Analyze a text sample for AI generation.
{ "text": "string (50–10,000 characters)" }{
"verdict": "AI" | "HUMAN" | "UNCERTAIN",
"confidence": 0.94,
"credits_remaining": 498,
"processing_time": 1240
}curl -X POST https://detect-ai-nu.vercel.app/api/v1/detect/text \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "The text you want to analyze goes here..."}'import requests
response = requests.post(
"https://detect-ai-nu.vercel.app/api/v1/detect/text",
headers={"X-API-Key": "YOUR_API_KEY"},
json={"text": "The text you want to analyze goes here..."}
)
result = response.json()
print(result["verdict"]) # "AI", "HUMAN", or "UNCERTAIN"const response = await fetch('https://detect-ai-nu.vercel.app/api/v1/detect/text', {
method: 'POST',
headers: {
'X-API-Key': 'YOUR_API_KEY',
'Content-Type': 'application/json',
},
body: JSON.stringify({ text: 'The text you want to analyze...' }),
})
const { verdict, confidence } = await response.json()| Plan | Monthly Credits | Rate Limit |
|---|---|---|
| Pro | 500/month | 60 req/min |
| Enterprise | Unlimited | 300 req/min |