Get transcript
getTranscript(query, options?): TranscriptResponse
Same extraction as POST /v1/transcripts, using query parameters. Useful for browser checks and short scripts. Prefer POST when sending languages arrays or larger option sets.
Security
API Token
The preferred authorization scheme for the YouTube Transcript API. Create a key with transcripts:read in the developer dashboard.
Example: Authorization: Bearer YOUR_API_KEY
See Authentication for scopes and rate limits.
Accepted permissions (at least one required)
ParametersExpand Collapse
video_id:stringQuery param:
11-character YouTube video ID or a full video URL.
format?:stringQuery param:
Output format. Same values as the POST endpoint. Default word_timestamps.
word_level?:booleanQuery param:
Include millisecond word offsets on ASR tracks. Default false.
languages?:stringQuery param:
Comma-separated ISO language codes, for example en,es.
track_policy?:stringQuery param:
manual_first, asr_first, manual_only, or asr_only. Default manual_first.
ReturnsExpand Collapse
video_id:stringEchoed YouTube video ID.
language:stringNegotiated ISO language code.
track_type:stringASR or MANUAL.
format:stringFormat actually returned.
data:objectPayload shape depends on format. See Extract transcript.