Back to APIs

Unified Agent API

Speech-to-Text

Speech-to-Text

Transcribe audio via Deepgram with confidence scores and word-level timing.

POST/v1/speech/transcribe

Overview

Transcribe audio to text with timestamps

Credits

2 credits per call

Providers

Deepgram

SDK Method

client.stt(...)

Parameters

audio_url

string

URL to audio file.

audio_base64

string

Base64-encoded audio.

language

string (default: en)

Language code.

Example Response

{
  "success": true,
  "data": {
    "transcript": "Yeah. As as much as, it's worth celebrating, the first spacewalk with an all female team, I think many of us are looking forward to it just being normal.",
    "confidence": 0.99,
    "language": "en",
    "words": [
      {
        "word": "yeah",
        "start": 0.08,
        "end": 0.32,
        "confidence": 0.99,
        "punctuated_word": "Yeah."
      },
      {
        "word": "as",
        "start": 0.32,
        "end": 0.8,
        "confidence": 0.99,
        "punctuated_word": "As"
      }
    ],
    "duration_seconds": 25.93
  },
  "metadata": {
    "provider_used": "deepgram",
    "providers_tried": [
      "deepgram"
    ],
    "mode_used": null,
    "response_time_ms": 1607,
    "request_id": "req_de622db0"
  },
  "credits_used": 2
}

Pay per use on Apify

No code and no subscription: Audio Transcriber on the Apify Store runs on this API, and Apify bills you per result ($0.01 a file with its first minute, then $0.007 a minute). Failed links are free.

Get Started

Create a Suprsonic API key in your dashboard, then call the endpoint with your key in the Authorization header.

Confirm your email and 25 free credits are added, no card needed. After them, your API calls continue with a free 7-day trial of Pro: a card is needed, and nothing is charged until the trial ends. When you need more, subscribe to a plan: Pro is $29 a month for 2,000 credits, Max $99 for 8,000 and Team $249 for 24,000.

Try Speech-to-Text

Test Speech-to-Text in the interactive playground. No setup required.

Open Playground