AI Detection API
Send text or an image and receive an AI-generated probability. Billed per request using credits.
Authentication
Create an API key in your account and pass it as a Bearer token in the Authorization header.
Endpoint
POST /api/detect with a JSON body containing either text or an image data URL. The response includes ai_probability, verdict, confidence, and signals.
Rate and billing
Each request consumes credits by length (text) or per image. API pricing uses the same credit packs as the web app.
Example request
curl -X POST https://bestaidetector.online/api/detect \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"text":"Paste the text to check here"}'