API Documentation

The AI Detector API allows you to integrate AI-content detection and claim checking into your applications.

Authentication

All API requests require an API key. Include it in the X-API-Key header:

X-API-Key: fc_your_api_key_here

Get your API key from the account dashboard. API access requires a Pro or Enterprise plan.

Base URL

https://api.nendry.com/api/v1

Rate Limits

PlanRequests/DayRequests/Month
Pro50010,000
EnterpriseUnlimitedUnlimited

Endpoints

GET /status

Check API status and your usage.

Response

{
  "status": "ok",
  "plan": "pro",
  "limits": {
    "checksPerDay": 500,
    "checksPerMonth": 10000
  },
  "usage": {
    "checksToday": 42,
    "checksThisMonth": 1337
  }
}
POST /check

Analyze content for AI detection / authenticity.

Request Body

ParameterTypeDescription
content *stringText content to analyze (max 10,000 chars)
options.analyzeContentbooleanWhether to perform AI analysis (default: true)

Example Request

curl -X POST https://api.nendry.com/api/v1/check \
  -H "X-API-Key: fc_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "COVID vaccines contain microchips"
  }'

Response

{
  "authenticityScore": 15,
  "summary": "Content appears AI-generated: AI-generated text.",
  "signals": [
    {
      "type": "warning",
      "category": "ai-text",
      "message": "Text appears AI-generated (85% confidence)"
    }
  ],
  "metadata": {
    "claimsAnalyzed": 1,
    "processingTime": "1234ms"
  }
}
POST /check-url

Check a URL/domain for source information.

Request Body

ParameterTypeDescription
url *stringURL to check

Response

{
  "domain": "bbc.com",
  "rating": "High",
  "score": 90,
  "details": {
    "category": "news",
    "description": "Well-established news organization"
  }
}
POST /check-image

Check if an image is AI-generated.

Request Body

ParameterTypeDescription
imageUrl *stringURL of image to analyze

Response

{
  "isAIGenerated": true,
  "confidence": 85,
  "manipulated": false,
  "details": {
    "model": "DALL-E",
    "indicators": ["unnatural textures", "lighting inconsistencies"]
  }
}
POST /batch

Check multiple items at once (max 10).

Request Body

{
  "items": [
    { "content": "First claim to check" },
    { "content": "Second claim to check" }
  ]
}

Response

{
  "results": [
    { "index": 0, "authenticityScore": 75, "summary": "likely human writing" },
    { "index": 1, "authenticityScore": 25, "summary": "likely AI-generated" }
  ]
}

Error Responses

StatusErrorDescription
401API key requiredMissing X-API-Key header
401Invalid API keyThe API key is not valid
403API access requires Pro planUpgrade needed
429Rate limit exceededToo many requests
400Content is requiredMissing required field

SDKs & Libraries

Coming soon: Official SDKs for Python, JavaScript, and more.

JavaScript Example

const response = await fetch('https://api.nendry.com/api/v1/check', {
  method: 'POST',
  headers: {
    'X-API-Key': 'fc_your_api_key',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    content: 'Text to fact-check'
  })
});

const result = await response.json();
console.log(result.authenticityScore);

Python Example

import requests

response = requests.post(
    'https://api.nendry.com/api/v1/check',
    headers={'X-API-Key': 'fc_your_api_key'},
    json={'content': 'Text to fact-check'}
)

result = response.json()
print(result['authenticityScore'])

Support

Questions? Contact us at {{CONTACT_EMAIL}}