REST API for Developers

AI Detector API

Integrate AI content detection into your application with a simple REST API. Detect ChatGPT, Claude, and Gemini content programmatically with 95%+ accuracy.

Try It Online

<2s

avg response time

99.9%

uptime SLA

95%+

detection accuracy

Get started in minutes

A single POST request is all you need

request.py
import requests

response = requests.post(
    "https://api.aidetectors.io/v1/detect",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json"
    },
    json={
        "text": "Your text to analyze...",
        "options": {
            "sentence_scores": True,
            "model_attribution": True
        }
    }
)

result = response.json()
print(f"AI Probability: {result['ai_probability']}%")
print(f"Most Likely Model: {result['model_attribution']['top_model']}")
response.json
{
  "ai_probability": 94.7,
  "human_probability": 5.3,
  "confidence": "high",
  "sentences": [
    { "text": "Your text...", "ai_score": 97.2 },
    { "text": "More text...", "ai_score": 91.1 }
  ],
  "model_attribution": {
    "top_model": "gpt-4",
    "scores": {
      "gpt-4": 0.82,
      "claude-3": 0.11,
      "gemini": 0.04,
      "other": 0.03
    }
  },
  "word_count": 156,
  "processing_time_ms": 1240
}

Try the detection engine

This interactive demo uses the same engine behind the API. Paste any text to see results.

99.9%+ Accuracy
💳Free Daily Credits
Third-party Verified
Try an example text.
0/500 words

Built for production

Enterprise-grade AI detection infrastructure you can rely on

Fast Response Times

Average response time under 2 seconds for texts up to 5,000 words. Built for production workloads.

95%+ Accuracy

Same detection engine that powers aidetectors.io. Detects ChatGPT, GPT-4, Claude, Gemini, LLaMA, and more.

Simple REST API

Clean JSON request/response format. Get started with a single POST request. SDKs for Python, Node.js, and more.

99.9% Uptime

Enterprise-grade infrastructure with global CDN. Rate limits designed for high-volume use cases.

Detailed Results

Overall AI probability, sentence-level scores, per-model attribution, and confidence intervals in every response.

SOC 2 Compliant

Your data is encrypted in transit and never stored. Full GDPR compliance and data processing agreements available.

Simple, transparent pricing

Start free, scale as you grow

Starter

Free

100 requests/month

  • Overall AI probability score
  • Up to 1,000 words per request
  • Community support
  • API key dashboard
Most Popular

Developer

$29/month

5,000 requests/month

  • Sentence-level scores
  • Up to 5,000 words per request
  • Per-model attribution
  • Webhook support
  • Email support

Enterprise

Custom

Unlimited requests

  • Everything in Developer
  • Dedicated infrastructure
  • Custom model training
  • SLA guarantees
  • Dedicated support engineer
  • On-premise deployment option

Frequently Asked Questions

How do I get an API key?

Sign up for a free account at aidetectors.io and navigate to your Account dashboard. Your API key is generated instantly and you can start making requests immediately. The free tier includes 100 requests per month.

What AI models can the API detect?

The API detects content from all major AI models including ChatGPT (GPT-3.5, GPT-4, GPT-4o), Claude (all versions), Google Gemini, Meta LLaMA, Mistral, Cohere, and other popular language models. The response includes per-model attribution scores.

What languages does the API support?

The API supports 25+ languages including English, Spanish, French, German, Portuguese, Chinese, Japanese, Korean, Arabic, Hindi, and more. Detection accuracy is highest for English but remains above 90% for all supported languages.

What is the rate limit?

Rate limits depend on your plan: Free tier allows 10 requests per minute, Developer allows 60 requests per minute, and Enterprise plans have custom rate limits. All plans include burst allowances for occasional spikes.

Do you store the text I send to the API?

No. Text submitted via the API is processed in real-time and immediately discarded. We never store, log, or use your content for any purpose. This is documented in our data processing agreement, available for Enterprise customers.

Can I use the API for commercial products?

Yes. All paid plans include commercial usage rights. You can integrate AI detection into your SaaS product, LMS, CMS, hiring platform, or any other application. White-label options are available on Enterprise plans.

Explore more AI detection tools

Start building with AI detection today

Get your free API key and make your first detection request in under 5 minutes.