Youtube Get Timestamped Transcript
youtube_get_timestamped_transcriptFetch a YouTube video's transcript as timed segments with start times and durations for building chapter lists or deep links. Supports pagination via cursor.
Instructions
Fetch a YouTube video's transcript as timed segments.
Returns every caption segment as {text, start, duration}, where start is seconds
from the video's beginning and duration is on-screen time (segments overlap, so
duration is not speech length). Use this to build chapter lists or deep links
(https://youtu.be/<video_id>?t=<start>); use youtube_get_transcript when you only
need the words.
Long transcripts are truncated at RESPONSE_LIMIT by cumulative text length.
next_cursor is the index of the next segment — pass it back to continue;
null means you have all segments. Same caching and failure modes as
youtube_get_transcript; this costs no Data API quota.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| video_id | Yes | ||
| languages | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | Yes | ||
| segments | Yes | ||
| video_id | Yes | ||
| truncated | Yes | ||
| next_cursor | Yes | ||
| is_generated | Yes | ||
| language_code | Yes |