// API Documentation

TruthLens API

Integrate AI image detection into your app. One endpoint, real-time results, 94%+ accuracy.

Quick Start
curl -X POST https://truthlensbyai.online/api/detect \
  -H "X-API-Key: YOUR_API_KEY" \
  -F "image=@photo.jpg"

# Response
{
  "aiScore": 87,
  "verdict": "ai",
  "classes": [
    { "class": "ai_generated", "score": 0.87 },
    { "class": "not_ai_generated", "score": 0.13 }
  ]
}
URL Detection
curl -X POST https://truthlensbyai.online/api/detect \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/suspicious-image.jpg"}'
API Pricing
Free
$0
10/day
Pro
$9/mo
100/day
Team
$29/mo
Unlimited
Get Your API Key

Sign up โ†’ Dashboard โ†’ Your API key is auto-generated. Use it in the X-API-Key header.

Go to Dashboard โ†’
๐Ÿ”ฅ Launch offer: use STAY30 to get Lifetime Pro for $169 (save $30) ยท Claim now โ†’
๐Ÿš€
Arjun S. from Mumbai
upgraded to Pro
2m ago