youtube_transcript
Retrieve transcripts from YouTube videos with support for language selection, multiple output formats, timestamps, and translation.
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 |
|---|---|---|---|
| id | Yes | YouTube video ID (11-character code) | |
| lang | No | Preferred transcript language | |
| format | No | Response format | |
| timestamps | No | Include timestamps in the JSON response | |
| translate_to | No | Translate transcript to this language code |