Read YouTube videos
youtube_fetchRead YouTube videos to get transcripts, time-ranged passages, chapters, comments, thumbnails, and real frames, or batch many videos in one call for research.
Instructions
Read YouTube videos: transcript (whole, a time range, a chapter, or only passages matching a query), real video frames, details, chapters, comments and thumbnail. Batch many videos in one call.
Best for: reading what was said after youtube_search, pulling the same slice from many videos (e.g. the first 30 s of each video to study hooks), quoting with exact timestamps. Returns: per video a header (title, channel, exact publish date, views, likes, duration) and the requested parts. Transcript lines carry [m:ss] stamps; links with ?t= jump to the moment. Per-video failures are reported inline, never dropped.
Tips:
Hooks / intros: start=0, end=30 (plus parts ["details","transcript","thumbnail","frames"] if the visual hook matters).
Frames are real decoded video frames (up to 1280 px): evenly spaced over start–end / the chapter / the whole video (frames=N), or at exact moments (frameAt). The first frames of a video take ~10–20 s (stream lookup); keep frame-heavy calls to a few videos.
Finding a topic inside long videos: pass query instead of reading whole transcripts.
Long transcript cut off? Call again with start = the second where it stopped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Range end for transcript and frames: seconds or 'm:ss'. | |
| parts | No | Any of details, transcript, chapters, comments, thumbnail, frames. Default ["details","transcript"]. | |
| query | No | Return only transcript passages matching these phrases (any language/synonyms), not the full text. | |
| start | No | Range start for transcript and frames: seconds or 'm:ss'. | |
| frames | No | With part frames: how many frames, evenly spaced over the range (default 6, max 20 per video, 40 per call). | |
| videos | Yes | 1–25 video URLs or IDs. A ?t= in a URL is used as start when start is not given. | |
| chapter | No | Limit transcript and frames to the chapter whose title contains this text. | |
| frameAt | No | With part frames: exact moments instead of even spacing, e.g. [0, 3, '0:12']. | |
| matches | No | Max passages per video in query mode (default 6, max 20). | |
| frameWidth | No | Frame width in px (default 640, max 1280). Wider = readable small text, more tokens. | |
| timestamps | No | paragraph (default): ~30 s blocks with [m:ss]; segment: every caption line; none: plain text. | |
| commentsLimit | No | Top comments per video (default 20, max 200). | |
| maxCharacters | No | Transcript characters per video (default 12000, max 60000). | |
| transcriptLangs | No | Preferred transcript languages in order, e.g. ['es','en']. Default: the video's original language. | |
| descriptionChars | No | Description characters in details (default 1500). |