Developer Documentation

AI Detector API Documentation

Everything you need to integrate AI content detection into your application. The AI Detector API provides a simple REST interface for detecting AI-generated text with sentence-level confidence scoring, support for 20+ languages, and sub-second response times. Follow the guides below to get started in minutes.

Base Configuration

Base URLhttps://aidetectorapi.com/v1
AuthenticationBearer token via Authorization header
Content-Typeapplication/json

Authentication

All API requests require a valid API key sent as a Bearer token in the Authorization header. You can generate an API key from your dashboard after signing up. Keep your key secret and never expose it in client-side code.

authentication.sh
# Include your API key in every request
curl https://aidetectorapi.com/v1/detect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Your text to analyze..."}'
authentication.py
import requests

response = requests.post(
    "https://aidetectorapi.com/v1/detect",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"text": "Your text to analyze..."}
)

print(response.json())
authentication.js
const response = await fetch("https://aidetectorapi.com/v1/detect", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ text: "Your text to analyze..." }),
});

const data = await response.json();
console.log(data);

Need More Requests?

The free tier includes 1,000 API requests per month. Upgrade to Pro for 50,000 requests, batch processing, webhook delivery, and priority support.

View Pricing Plans