Get video transcript
get_transcriptRetrieve video subtitles as plain text. Supports YouTube, Twitter, Instagram, TikTok, Twitch, Vimeo, Facebook, and more. Auto-detects language and allows pagination for long transcripts.
Instructions
Fetch cleaned subtitles as plain text for a video (YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion, Reddit). Uses auto-discovery for type/language when omitted. Optional: type, lang, response_limit (when omitted returns full transcript), next_cursor for pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (supported: YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion, Reddit) or YouTube video ID | |
| format | No | Subtitle format (default from YT_DLP_SUB_FORMAT or srt) | |
| type | No | Subtitle track type: official or auto-generated | |
| lang | No | Language code (e.g. en, es). When omitted with Whisper fallback, language is auto-detected | |
| response_limit | No | Max characters per response. When omitted, returns full content. When set: min 1000 | |
| next_cursor | No | Opaque cursor from previous response for pagination |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoId | Yes | ||
| type | Yes | ||
| lang | Yes | ||
| text | Yes | ||
| next_cursor | No | ||
| is_truncated | Yes | ||
| total_length | Yes | ||
| start_offset | Yes | ||
| end_offset | Yes | ||
| source | No |