Yt Video Transcript
yt_video_transcriptGet the transcript (captions) of a YouTube video: timestamped segments plus the joined text, the caption language, and whether the track is auto-generated. No API key needed. Use it to summarize, quote or search what is said in a video. Long videos are paged: pass the returned next_start_seconds as start_seconds to continue. A video with no captions returns a captions_unavailable error, never an empty transcript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Caption language code (e.g. "en", "fr", "pt-BR"). "en" also matches "en-US". Default: the video's default caption track. If the video has no track in this language the error lists the ones it has. | |
| video_id | Yes | YouTube video ID (e.g. "dQw4w9WgXcQ") or a full youtube.com / youtu.be URL | |
| max_chars | No | Stop after this many characters of transcript text (default 50000, max 200000). | |
| start_seconds | No | Skip segments that start before this many seconds (for paging through long videos). Default 0. |