TruthScan API
for Developers
Detect AI-generated text, images, audio, and video in your own product. REST API with JSON responses, webhooks, and enterprise SLA.
2.8 s
Avg response time
99.9%
Uptime SLA
11
Models in ensemble
50+
Languages supported
Authentication
All API requests require a Bearer token in the Authorization header.Request an API key →
Authorization: Bearer ts_live_xxxxxxxxxxxxxxxxxxxxxxxx
Endpoints
Response Format
All endpoints return the same standardized JSON structure:
{
"verdict": "ai",
"ai_probability": 0.91,
"human_probability": 0.09,
"confidence": 94,
"signals": [
{ "label": "Low perplexity score — GPT-family smoothness", "severity": "high" },
{ "label": "Burstiness coefficient 0.09 — below human baseline", "severity": "high" },
{ "label": "GPT-4o model signature detected (71% confidence)", "severity": "medium" }
],
"model_used": "TruthScan Text v2.1 — RoBERTa + Binoculars + Fast-Detect-GPT",
"processing_time_ms": 1243
}verdict"ai" | "human" | "mixed"
Final classification
ai_probabilitynumber (0–1)
Probability this is AI
confidenceinteger (0–100)
Model certainty %
signalsSignal[]
Forensic evidence list
model_usedstring
Models that ran
processing_time_msinteger
Latency in milliseconds
TruthScan AI Models
All models run in ensemble. Results are voted and weighted by confidence.
| Model | Type | Accuracy | Description |
|---|---|---|---|
| RoBERTa-base-OpenAI-detector | Text | 93% | Hugging Face fine-tuned classifier |
| Binoculars perplexity | Text | 91% | Zero-shot LLM scoring |
| Fast-Detect-GPT | Text | 90% | Perturbation-based detection |
| XceptionNet | Image | 95% | Deepfake face + GAN detection |
| Error Level Analysis (ELA) | Image | 89% | JPEG compression forensics |
| Hive Moderation API | Image | 93% | AI image generation classifier |
| RawNet2 | Audio | 96% | Voice clone detection (ASVspoof) |
| Wav2Vec2 XLSR | Audio | 94% | Synthetic speech detection |
| MFCC-CNN | Audio | 91% | Spectral feature classifier |
| SyncNet | Video | 97% | Lip-sync deepfake detection |
| RetinaFace | Video | 95% | Face detection + boundary check |
TruthScan API Access
Ready to integrate TruthScan?
Free tier available. Enterprise plans include dedicated inference, SLA guarantees, webhooks, and custom model fine-tuning.
Request API Key →