DeepGuard API Documentation
Integrate AI content detection into your platform with a single REST API call. Batch process thousands of files, build real-time moderation pipelines, or add deepfake detection to any app.
Base URL
https://deepguard.org/apiAuthentication
Authorization: Bearer YOUR_API_KEYEndpoints
/api/detect/textAnalyze text for AI generation. Returns probability score, sentence-level breakdown, and likely source models.
Request Body
{
"text": "Your text content here (50–10,000 characters)"
}Response
{
"riskScore": 87,
"verdict": "ai_generated",
"confidence": 94,
"detectors": [
{ "name": "GPT/LLM Detector", "score": 91, "verdict": "Likely ChatGPT-4" },
{ "name": "Perplexity Analyzer", "score": 85, "verdict": "Low perplexity" },
{ "name": "Burstiness Detector", "score": 82, "verdict": "Uniform sentence length" },
{ "name": "Stylometric Analyzer", "score": 90, "verdict": "AI-typical phrasing" }
],
"sentences": [
{ "text": "The quick brown fox...", "aiProbability": 92 }
],
"possibleModels": ["ChatGPT-4", "Claude 3", "Gemini Pro"],
"summary": "High probability of AI generation detected across all four models."
}cURL Example
curl -X POST https://deepguard.org/api/detect/text \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"text": "Your text content here"}'/api/detect/audioUpload an audio file to detect AI voice cloning, TTS synthesis, or deepfake audio. Supports mp3, wav, m4a.
Request Body
// multipart/form-data
{
"file": <audio_file>, // mp3, wav, m4a (max 16MB)
"fileName": "recording.mp3"
}Response
{
"riskScore": 73,
"verdict": "deepfake",
"confidence": 89,
"features": [
{ "name": "Spectral Artifacts", "confidence": 0.91, "description": "Unnatural frequency patterns detected" },
{ "name": "Prosody Anomaly", "confidence": 0.84, "description": "Robotic intonation patterns" }
],
"possibleSources": ["ElevenLabs", "Bark", "Whisper TTS"],
"metadata": { "Format": "MP3", "SampleRate": "44100 Hz", "Channels": "Stereo" },
"summary": "High likelihood of AI voice synthesis detected."
}cURL Example
curl -X POST https://deepguard.org/api/detect/audio \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F "fileName=recording.mp3"/api/detect/videoUpload a video file to detect face-swapping, deepfake manipulation, or AI-generated faces. Supports mp4, webm.
Request Body
// multipart/form-data
{
"file": <video_file>, // mp4, webm (max 50MB)
"fileName": "video.mp4"
}Response
{
"riskScore": 91,
"verdict": "deepfake",
"confidence": 96,
"features": [...],
"possibleSources": ["FaceSwap", "DeepFaceLab", "SimSwap"],
"metadata": { "Resolution": "1920x1080", "FrameRate": "30fps", "Codec": "H.264" },
"frameTimeline": [
{ "frame": 120, "timestamp": "0:04", "aiProbability": 91 },
{ "frame": 315, "timestamp": "0:10", "aiProbability": 95 }
],
"faceAnomalies": [
{ "type": "Face Mismatch", "severity": "high", "description": "Boundary artifacts around jaw line" },
{ "type": "Lip Sync Anomaly", "severity": "medium", "description": "Slight desync between audio and lip movement" }
],
"summary": "Strong deepfake indicators detected. Face replacement likely."
}cURL Example
curl -X POST https://deepguard.org/api/detect/video \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "[email protected]" \
-F "fileName=video.mp4"Rate Limits & Pricing
| Plan | Requests/month | Rate limit | Price |
|---|---|---|---|
| Free | 100 | 5 req/min | $0 |
| Pro | 10,000 | 60 req/min | $49/mo |
| BusinessPopular | 100,000 | 300 req/min | $199/mo |
| Enterprise | Unlimited | Custom | Contact us |
Common Use Cases
Social Media Platforms
Automatically flag AI-generated content before it goes viral. Integrate into your content moderation pipeline.
News & Media Verification
Verify authenticity of user-submitted photos, videos, and articles before publication.
Recruitment & HR
Detect AI-generated resumes, cover letters, and verify video interview authenticity.
Dating & Identity Apps
Verify profile photos and videos are real. Prevent catfishing and deepfake impersonation.
Ready to integrate?
Get your API key by signing up for a free account. No credit card required.