youtube_transcript
Retrieve YouTube video transcripts with optional timestamps, language selection, and translation. Supports plain text, SRT, and VTT formats.
Instructions
Retrieve transcript for a YouTube video. Returns transcript segments for a YouTube video using YouTube's native player captions.
Set format=text, format=srt, or format=vtt to receive plain-text output instead of the standard response envelope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Response format | |
| id | Yes | YouTube video ID (11-character code) | |
| lang | No | Preferred transcript language | |
| timestamps | No | Include timestamps in the JSON response | |
| translate_to | No | Translate transcript to this language code |