Voice API

The AI voice detection API.

Detect AI-generated and cloned voices at scale. One REST call returns a verdict, Authentic, Likely Synthetic, or Inconclusive, with a confidence-scored TrustScore, in seconds.

High accuracy · 60s file purge · Keys hashed at rest

cURL
JavaScript
Python
Java
Go
# detect an AI-generated voice curl -X POST \ https://app.deepfakedetector.ai/api/v1/detect/voice \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{ "audio_url": "https://example.com/call.mp3" }' # or upload a file via multipart curl -X POST \ https://app.deepfakedetector.ai/api/v1/detect/voice \ -H "Authorization: Bearer sk_live_..." \ -F "file=@call.mp3"
const res = await fetch( 'https://app.deepfakedetector.ai/api/v1/detect/voice', { method: 'POST', headers: { 'Authorization': 'Bearer sk_live_...', 'Content-Type': 'application/json' }, body: JSON.stringify({ audio_url: 'https://example.com/call.mp3' }) } ); console.log(await res.json());
import requests res = requests.post( "https://app.deepfakedetector.ai/api/v1/detect/voice", headers={ "Authorization": "Bearer sk_live_...", "Content-Type": "application/json", }, json={"audio_url": "https://example.com/call.mp3"}, ) print(res.json())
var url = URI.create( "https://app.deepfakedetector.ai/api/v1/detect/voice"); var req = HttpRequest.newBuilder().uri(url) .header("Authorization", "Bearer sk_live_...") .header("Content-Type", "application/json") .POST(HttpRequest.BodyPublishers.ofString( "{\"audio_url\": \"https://example.com/call.mp3\"}")) .build(); var res = HttpClient.newHttpClient() .send(req, HttpResponse.BodyHandlers.ofString());
body := strings.NewReader( `{"audio_url": "https://example.com/call.mp3"}`) req, _ := http.NewRequest("POST", "https://app.deepfakedetector.ai/api/v1/detect/voice", body) req.Header.Set("Authorization", "Bearer sk_live_...") req.Header.Set("Content-Type", "application/json") res, _ := http.DefaultClient.Do(req)
What it detects

One endpoint for synthetic and cloned speech.

A single POST to /v1/detect/voice covers AI-generated speech and voice clones alike. It is the single-modality companion to our full deepfake detection API, and powers the same engine behind our consumer AI voice detector.

Every major voice engine

Flags AI-generated speech and voice clones from across major voice engines, including ElevenLabs, PlayHT, Resemble, OpenAI, Murf, and WellSaid. The API detects synthetic origin without attributing audio to any specific engine.

Cloned and spliced audio

Catches cloned voices and spliced or edited audio as well as fully synthetic speech, not just voices that are AI from scratch.

A clear verdict

Each call returns one of three verdicts, Authentic, Likely Synthetic, or Inconclusive, alongside a TrustScore from 0 to 100 you can threshold on.

Request schema

Send a URL or a file. Get a verdict.

Pass a public or signed audio_url, or upload via multipart. We fetch, scan, score, and purge, all within 60 seconds of the verdict unless you opt into retention. Supported formats are MP3, WAV, M4A, FLAC, and OGG.

ParameterTypeDescription
audio_urlstringHTTPS URL to the audio. Either audio_url OR multipart upload required.required*
filemultipartUpload the audio directly as multipart form data. MP3, WAV, M4A, FLAC, or OGG.required*
webhook_urlstringWebhook for async jobs. We POST the verdict here when analysis is done.
strict_modebooleanLower confidence threshold. Increases recall, may reduce precision. Default false.
retainbooleanKeep the audio for audit instead of purging. Default false (60s purge).
Request
# POST /api/v1/detect/voice curl -X POST \ https://app.deepfakedetector.ai/api/v1/detect/voice \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{ "audio_url": "https://example.com/call.mp3", "strict_mode": false, "webhook_url": "https://your-app.com/webhook" }'
Response
{ "job_id": "job_8mTk2x", "verdict": "likely_synthetic", "trust_score": 12, "confidence": 0.94, "media_type": "voice", "duration_s": 18.4, "processing_ms": 2310 }

Verdicts map to Authentic / Likely Synthetic / Inconclusive. Files are deleted within 60 seconds of analysis unless retain is set.

Use cases

Built for fraud and trust & safety at scale.

Drop voice detection into your pipeline with batch processing, webhooks for async jobs, and a real-time streaming option for live calls.

Contact-center fraud

Block vishing and voice-clone scams by flagging synthetic callers in real time across your call center.

Voice-based KYC

Screen synthetic and cloned voices during voice onboarding and identity verification flows.

Media & journalism

Verify audio and interview recordings before publication and triage suspect clips at speed.

Meeting & voicemail

Check meeting recordings and voicemail for cloned voices before they trigger a payout or approval.

Process audio one clip at a time or in batch, register a webhook_url for async results, and use the real-time streaming option for live call and contact-center scenarios. Want the how-to? Read how to detect AI voices and our guide to voice cloning scams.

SDKs

Official clients in eight languages.

Same call to detect an AI-generated voice, same response shape. Auth, retries, exponential backoff, file streaming, and webhook signature verification handled for you.

JavaScript / TypeScript
Python
Go
Ruby
PHP
Java
.NET
Rust
Pricing

API access is included from the Starter plan.

Start free with 50 detections per month, no card required. API access begins on Starter at $49/mo, Business is $199/mo, and Enterprise is $599/mo. See full limits on our pricing page.

$0

Free. 50 detections/month in the web app, no card required.

$49

Starter. Adds API access for programmatic voice detection.

$199

Business. Higher volume, higher rate limits, batch workflows.

$599

Enterprise. Highest throughput with priority support.

FAQ

AI voice detection API questions.

Everything teams ask before they integrate. New to this? Learn how to detect AI voices.

What is an AI voice detection API?

A REST API that analyzes audio and returns whether a voice is AI-generated or cloned, or authentic, with a confidence-scored verdict.

Which voice engines can it detect?

Synthetic speech from major engines including ElevenLabs, PlayHT, Resemble, OpenAI, Murf, and WellSaid.

How do I call the API?

POST an audio_url or upload a file to /v1/detect/voice with your API key; you get back a JSON verdict (Authentic / Likely Synthetic / Inconclusive) and a TrustScore.

What audio formats are supported?

MP3, WAV, M4A, FLAC, and OGG; limits depend on your plan.

Can it run in real time on calls?

Yes, use streaming and webhooks for live call and contact-center scenarios.

Can I use it to stop call-center fraud?

Yes, teams use it to flag synthetic and cloned voices in calls, onboarding, and voicemail as part of a fraud and trust pipeline.

Is it free, and is my audio stored?

A free account includes 50 detections/month; API access starts on the Starter plan. Audio is deleted from primary storage within 60 seconds of analysis unless you opt into retention.

Detect cloned voices
before they cost you.

One REST endpoint, confidence-scored verdicts, webhooks, and SDKs, built for fraud and trust & safety teams.