About this endpoint
What it does
Transcribes an audio or video file and returns a structured transcript. You can provide the source either as a public URL or as base64/data URI content, and choose an output format for the transcription.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| audio | Object | Yes | Source file for transcription. Provide one of audio.url or audio.base64. |
| audio.url | String | No | Public http(s) URL of the audio or video file. Max length: 2048 characters. |
| audio.base64 | String | No | The file as base64 or a data: URI. |
| format | ENUM | No | Output format. Allowed values: json (transcript, segments, timings), srt, vtt, txt. Default: json. |
| max_chars | Integer | No | Longest segment or subtitle cue, in characters. Default: 84. Minimum: 20. Maximum: 200. |
| max_seconds | Number | No | Longest segment or subtitle cue, in seconds. Default: 7. Minimum: 1. Maximum: 30. |
| word_timestamps | Boolean | No | Include every word with its start, end and confidence in json output. Default: false. |
Response
Returns a JSON object with text as a string, duration as a number, segments as an array of objects, confidence as a number, and billed_minutes as an integer. The response is the transcription result, including the full transcript text, total audio duration, per-segment timing data, confidence, and billed minutes.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The whole transcript, punctuated and capitalised. |
| duration | Number | Yes | Audio duration in seconds. |
| segments | Object Array | Yes | Transcript segments. Each segment includes start, end, and text; words is present when word_timestamps is enabled. |
| confidence | Number | Yes | Average token confidence, 0–1. |
| billed_minutes | Integer | Yes | Audio minutes this request counts against the plan, rounded up and at least 1. |



