Get video transcript
get_transcriptRead-onlyIdempotent
Extract cleaned subtitles as plain text from video URLs on platforms like YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, and Dailymotion. Input a video URL to retrieve transcript content in formats including SRT, VTT, ASS, or LRC.
Instructions
Fetch cleaned subtitles as plain text for a video (YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion). Input: URL only. Uses auto-discovery for type/language and returns the first chunk with default size.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Video URL (supported: YouTube, Twitter/X, Instagram, TikTok, Twitch, Vimeo, Facebook, Bilibili, VK, Dailymotion) or YouTube video ID | |
| format | No | Subtitle format (default from YT_DLP_SUB_FORMAT or srt) |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| text | Yes | ||
| type | Yes | ||
| source | No | ||
| videoId | Yes | ||
| end_offset | Yes | ||
| next_cursor | No | ||
| is_truncated | Yes | ||
| start_offset | Yes | ||
| total_length | Yes |