YouTube
youtubeRetrieve channel, video, playlist, comment, transcript, advertiser, and search data from the video platform by selecting a resource and passing its parameters; use cursors for paging.
Instructions
Data from YouTube: profiles, posts and videos, collections, transcripts, advertisers, comments.
Pick a resource, then pass its parameters as top-level arguments (extras in params). Each call costs the credits shown below and the result says what was charged and what is left; failures are free. List resources return a cursor: pass it back unchanged for the next page. Pass max_age_days to accept a cached copy for free.
Resources:
channel(handle|id|url): YouTube channel details. 1 credit.
channel.community_posts(handle|id|url): YouTube channel community posts. 1 credit. Paged.
channel.lives(handle|id|url): YouTube channel live streams. 1 credit. Paged.
channel.playlists(handle|id|url): YouTube channel playlists. 1 credit. Paged.
channel.search(query, handle|id|url): Search inside a YouTube channel. 1 credit. Paged.
channel.shorts(handle|id|url): YouTube channel Shorts. 1 credit. Paged. Optional: include_extras.
channel.videos(handle|id|url): YouTube channel videos. 1 credit. Paged. Optional: include_extras.
community_post(url): YouTube community post. 1 credit.
playlist(url|id): YouTube playlist videos. 1 credit. Paged.
search(query): YouTube search. 1 credit. Paged. Optional: type, upload_date, duration, include_extras.
search.hashtag(hashtag): YouTube videos by hashtag. 1 credit. Paged. Optional: type.
search.typeahead(query): YouTube search suggestions. 1 credit. Paged.
shorts.trending(): Trending YouTube Shorts. 1 credit. Paged.
video(url|id): YouTube video or Short details. 1 credit.
video.comment.replies(): YouTube comment replies. 1 credit. Paged. Optional: comment_id.
video.comments(url|id): YouTube video comments. 1 credit. Paged.
video.sponsors(url|id): YouTube video sponsors. 1 credit. Paged.
video.transcript(url|id): YouTube video transcript. 1 credit (captions); AI transcription 1 credit up to 2 minutes, then 5 per started minute of the whole video. Optional: original_audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The platform's id for the item, where a URL is not used. Used by: channel, channel.community_posts, channel.lives, channel.playlists, channel.search, channel.shorts, ... | |
| url | No | URL of the item the resource is about (profile, post, video, event...). Used by: channel, channel.community_posts, channel.lives, channel.playlists, channel.search, channel.shorts, ... | |
| sort | No | Order of results; changing it restarts the cursor chain. Used by: channel.shorts, channel.videos, search, video.comments. Allowed values vary by resource (describe shows them) | |
| type | No | Kind of result. Used by: search, search.hashtag. Allowed values vary by resource (describe shows them) | |
| query | No | Search terms. Used by: channel.search, search, search.typeahead | |
| cursor | No | Opaque cursor from the previous page; pass it back unchanged | |
| handle | No | Channel handle, with or without @. Used by: channel, channel.community_posts, channel.lives, channel.playlists, channel.search, channel.shorts, ... | |
| params | No | Any other parameter for the chosen resource, by name, e.g. {"start_date": "2026-01-01"}. Optional parameters of each resource are in the tool description; call describe for types and allowed values. | |
| region | No | Two-letter country code (ISO 3166-1) for results that vary by country. Used by: search, shorts.trending | |
| language | No | Language code, e.g. en. Used by: video, video.sponsors, video.transcript | |
| resource | Yes | Which YouTube data to fetch. The tool description lists what each needs. | |
| max_age_days | No | Accept a cached copy fetched within this many days, for 0 credits (0 to 30). | |
| include_extras | No | Also fetch length, publish date, likes and description per Short (slower, more errors). Used by: channel.shorts, channel.videos, search |