Voice deepfake detection API: stream call audio and score it live

Pricing is further down this page. Full pricing: https://behavioralsignals.com/portal/.

Try the live demo: press play on a clip

The live demo runs on the portal and opens in a new tab.

The illustration below shows one turn in the middle flagged as a deepfake and the turns around it as real, per utterance. Press play on the live demo on the portal to try a clip.

Recordings inbound_transfer_request.wav

5 August 2026

NameGenderAgeTotal
Speaker 118 – 22100%
Model Version:
7.7.0
Duration:
00:00:26
  • Speaker 1 0:00 – 0:13 sad weak fast Bonafide

    So the transfer was authorised on Tuesday, and the reference should already be on file with your team.

  • Speaker 1 0:14 – 0:21 fast Deepfake

    I need you to move the balance to the account I sent through earlier this morning.

  • Speaker 1 0:22 – 0:26 fast Bonafide

    Let me know once it clears and I will confirm with the desk.

To detect a voice deepfake on a live call, stream the caller’s audio to a deepfake detection API over gRPC and act on the scores it returns during the call. The Behavioral Signals Deepfakes API is its own streaming API, separate from emotion and behavior outputs. It accepts that stream through a gRPC client or the Python SDK, and it returns bonafide or spoofed with a probability for each, every two seconds or at the end of each utterance. It returns no transcript.

Detection is language-agnostic. It reads how speech sounds, not the words, so it works across languages without per-language training.

Results are probabilistic estimates about the audio. They are not a verdict about a person, proof of fraud, or proof of identity.

How live-call detection works

Open one stream for the call and send the caller’s audio in small chunks as it arrives. When you open the stream, you choose when results come back, as described in the real-time deepfake detection docs:

  • Segment level. Results arrive at fixed intervals, every two seconds.
  • Utterance level. Results arrive at the end of each utterance.

The API detects voice activity first. If the audio contains silence or non-speech, no results come back for those chunks. The docs recommend 16-bit linear PCM, mono, at 16 kHz, in chunks of 100 to 500 ms.

What should a deepfake detection API do on a live call?

A live call can’t wait for a file upload. To be useful during the call, a deepfake detection API should:

  • Stream. Keep one connection open for the whole call and accept audio in small chunks as it arrives.
  • Keep scoring. Return results throughout the call, not once at the end.
  • Return probabilities. Give a probability for each class, so your application sets the threshold for its own risk.
  • Fit your stack. Take audio from your own telephony or WebRTC layer, and run where your audio is allowed to go.

The rest of this page shows how the Behavioral Signals Deepfakes API handles each of these.

When do results arrive during a live call?

You choose the result level when you open the stream, as described in the real-time deepfake detection docs:

Result levelWhen results arrive (per the docs)Use it for
segmentAt fixed intervals, every two secondsShort time windows while the caller is talking
utteranceAt the end of each utteranceA decision over the whole utterance

You can act on segment results and confirm on utterance results. That design choice is yours.

The API detects voice activity first. If the audio contains silence or non-speech, no results come back for those chunks.

What does the API return?

Each result covers a stretch of audio, with a start and end time. The deepfake task returns a probability (posterior) for each class and a final_label, the API’s single answer for that stretch:

  • bonafide: the speech appears to come from a live human voice
  • spoofed: the speech appears to be synthetic or cloned

It returns no transcript. The result is about the audio, not the words.

What a result looks like. Field names are from the docs. The values are placeholders, not real output.
result {
  id: "<id>"
  start_time: "<seconds>"
  end_time: "<seconds>"
  task: "deepfake"
  prediction { label: "bonafide" posterior: "<probability>" }
  prediction { label: "spoofed"  posterior: "<probability>" }
  final_label: "<bonafide or spoofed>"
  level: utterance
}

Probabilities, not verdicts. Your application sets the threshold at which it acts. A spoofed result is a detection result about the audio. It is not proof of fraud, and a bonafide result is not proof of who is speaking.

How do I stream a live call to the Deepfakes API?

Illustrative flow, based on the streaming docs. Check the docs for current method signatures.

  1. Get credentials. Create an account at https://portal.behavioralsignals.com/signup and issue an API key. You get a client ID and an API token.
  2. Fork the caller’s audio. From your telephony or WebRTC layer, send the caller’s channel as 16-bit linear PCM, mono, at 16 kHz. The docs recommend chunks of 100 to 500 ms.
  3. Open a stream. The docs describe two ways: the Python SDK, or a bidirectional gRPC client generated from the published api.proto in the language you use. Deepfake detection streams separately from emotion analysis.
  4. Read results as they arrive. Keep a short rolling window per call so one segment doesn’t swing your decision.
  5. Act through your own rules. For example, ask for a second factor, route the call to a fraud queue, or pause a payment until a person reviews it.
Illustrative sketch: SDK calls follow the docs; the call-handling logic is pseudo-code.
from behavioralsignals import Client, StreamingOptions

client = Client()  # reads BEHAVIORALSIGNALS_CID / BEHAVIORALSIGNALS_API_KEY
options = StreamingOptions(sample_rate=16000, encoding="LINEAR_PCM")

for result in client.deepfakes.stream_audio(audio_stream=caller_pcm_chunks, options=options):
    call_state.update(result.results)                    # pseudo
    if call_state.p("spoofed") > THRESHOLD:              # your threshold
        fraud_queue.flag(call_id, call_state.summary())  # pseudo
        call_flow.require_step_up()                      # pseudo

Example rules. Starting points you tune on your own calls. They are not product outputs.

If the results show…your system might…
spoofed above your threshold on a segmentkeep the call going, but ask for a second factor before any account change
spoofed above your threshold on consecutive utterancesroute the call to your fraud team and hold high-risk actions
bonafide throughoutcontinue as normal; your other checks still apply

Tell callers. Let callers know their audio is analyzed, as your jurisdiction and use case require.

How much does the Deepfakes API cost?

Deepfake detection is priced per minute of audio.

Deepfakes jobPrice
Audio, streaming (live calls)$0.50 per minute streaming
Audio, batch (recordings)$0.25 per minute batch

Video deepfake detection is batch and experimental. Full pricing: https://behavioralsignals.com/portal/.

Deepfake audio: $0.50 per minute streaming, $0.25 per minute batch. Full pricing: https://behavioralsignals.com/portal/.

FAQ

How do I detect a voice deepfake on a live call?

To detect a voice deepfake on a live call, stream the caller’s audio to a deepfake detection API over gRPC and act on the scores it returns during the call. The Behavioral Signals Deepfakes API is its own streaming API, separate from emotion and behavior outputs. It accepts that stream through a gRPC client or the Python SDK, and it returns bonafide or spoofed with a probability for each, every two seconds or at the end of each utterance. It returns no transcript.

Does the API return a transcript?

It returns no transcript. The deepfake result is about the audio, not the words.

Is detection language-agnostic?

Detection is language-agnostic. It reads how speech sounds, not the words, so it works across languages without per-language training.