AIPaperFix
Sign in
  • AI Detector
  • How It Works
  • Word Counter
  • Citation Generator
  • Paper Formatter
  • Paraphraser
  • Summarizer
  • Grammar Checker
  • Plagiarism Checker
  • Translator
  • Email Writer
  • Dictionary
  • Homework Helper
  • Upload File
  • Pro & Pricing

AIPaperFix Pro

Detection API

Check English and Chinese text for AI-generated writing from your own scripts and apps. The API is included with AIPaperFix Pro and uses the same model as the website.

Get started

  1. Get AIPaperFix Pro. Pro & Pricing
  2. Create an API key on your account page and keep it secret. Account
  3. Send a POST request with your key in the Authorization header and the text as JSON.

Request

POST https://aipaperfix.com/api/v1/detect

curl
curl https://aipaperfix.com/api/v1/detect \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Paste the English or Chinese text you want to check here."}'
JavaScript
const response = await fetch("https://aipaperfix.com/api/v1/detect", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.AIPAPERFIX_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ text }),
});
const result = await response.json();
console.log(result.ai_probability, result.label);
Python
import os, requests

response = requests.post(
    "https://aipaperfix.com/api/v1/detect",
    headers={"Authorization": f"Bearer {os.environ['AIPAPERFIX_API_KEY']}"},
    json={"text": text},
    timeout=30,
)
result = response.json()
print(result["ai_probability"], result.get("label"))

Response

JSON
{
  "ai_probability": 0.82,
  "label": "ai",
  "sentences": [
    { "text": "First sentence of your text.", "ai_probability": 0.77 },
    { "text": "Second sentence.", "ai_probability": 0.88 }
  ],
  "engine": "model",
  "model_version": "aipf-2026.10-…"
}
ai_probability
Overall AI signal from 0 to 1.
label
"human", "mixed" or "ai" — the same three bands as the website (below 0.4, 0.4–0.7, above 0.7).
sentences
Each sentence with its own AI signal, in the original order.
engine
"model" normally. "rules" with "fallback": true means the detection model was briefly unavailable and a basic rule-based estimate was returned.
confidence
"low" when the text is too short for a reliable result.

Limits

  • Up to 20,000 characters per request.
  • Up to 60 requests a minute per key.
  • English and Chinese text only.
  • Up to 5 keys per account.

Errors

Errors return JSON like {"error": "…", "code": "…"} with these status codes:

HTTPcodeMeaning
401invalid_api_keyThe key is missing, wrong or deleted.
402pro_requiredThe key belongs to an account without an active Pro subscription.
400text_requiredThe text field is missing or empty.
413text_too_longThe text is longer than 20,000 characters.
422unsupported_languageThe text is not English or Chinese.
429rate_limitedToo many requests. Wait for the number of seconds in the Retry-After header.

About accuracy

Scores are estimates, not proof of who wrote a text. Rewritten or “humanized” AI text is often missed, and non-native and student writing can land in the mixed range. Don’t use a score as the only basis for academic, hiring or other important decisions. How it works

AIPaperFix

Free AI content detection and writing tools. No sign-up required.

Product

  • AI Detector
  • How It Works
  • Pro & Pricing
  • Detection API
  • Privacy Policy
  • Terms of Use

Writing tools

  • Word Counter
  • Citation Generator
  • Paper Formatter
  • Paraphraser
  • Summarizer
  • Grammar Checker
  • Plagiarism Checker
  • Translator
  • Email Writer
  • Dictionary
  • Homework Helper
© 2026 AIPaperFix Results are estimates and should not be the only basis for important decisions.