Skip to main content

Get transcript

Retrieve existing transcript data

Stream transcript

Generate transcripts in real-time
You can transcribe YouTube, Vimeo, DailyMotion and private media files (.mp4 and .mp3). More formats will be introduced soon.
Transcripts provide accurate, time-stamped text versions of your video content with optional AI formatting for enhanced readability.

Get transcript

Path variables

string
required
The video ID for the file.

Request parameters

string
required
The media type of the video.Options: youtube, vimeo, dailymotion, or private
string
required
The language code of the input audio in ISO-639-1 format.Examples: en, en-US, fr, es
boolean
required
If true, the transcript will be formatted by the AI.
This is applicable for auto-generated transcripts from video platforms like YouTube. It is not applicable for private videos.

Response

string
Human-readable timestamp in HH:MM:SS format
number
Start time of the segment in seconds
number
End time of the segment in seconds
number
Length of the transcript segment text in characters

Error responses

OK
The transcript has been successfully retrieved.
NO_CONTENT
The video has not been transcribed yet.
BAD_REQUEST
The request is invalid.
UNAUTHORIZED
The request is unauthorized.
INTERNAL_SERVER_ERROR
The server has encountered an error.
If the video has not been transcribed yet, the response will be 204 with no content. Calling the Stream endpoint is required.

Stream transcript

Request body

string
required
The unique identifier for the video
string
required
The media type of the video. Options: youtube, vimeo, dailymotion, or private
string
required
The language code of the input audio in ISO-639-1 format, like en or fr
boolean
required
If true, the transcript will be formatted by the AI. This is applicable for auto-generated transcripts from video platforms like YouTube. It is not applicable for private videos.
boolean
required
Whether to use Server-Sent Events for streaming
boolean
required
Whether to regenerate the transcript if it already exists

Response Types

The streaming endpoint returns different types of messages:

Download Progress Messages

Download Progress
Download progress shows real-time information about video file processing, including speed and estimated time to completion.

Error Messages

Transcript Segment Messages

Transcript Segment
boolean
Indicates whether this segment was generated using Automatic Speech Recognition
number
The character length of the transcript text
number
Current progress of the transcription process (0.0 to 1.0)

Semaphore Messages

Transcript Info Messages

Transcript Info
number
Duration of the video in seconds
string
Unique identifier for this specific transcript

Progress Messages

Progress Update
Progress messages provide real-time updates on transcription completion percentage and processing status.