A YouTube channel's latest videos, shorts or streams with views, likes, dates and subscriber count ($0.003)
get_youtube_channel_videosFetch a YouTube channel's videos, shorts, or live streams by @handle, URL, or channel ID and return titles, views, likes, dates, duration, and thumbnails.
Instructions
A YouTube channel's latest videos, shorts or live streams: title, views, likes, publish date, duration, description and thumbnail, plus channel id, handle, subscribers and video count. Pass @handle, channel URL or UC id; up to 100 videos, optional publishedWithinDays. No API key or quota. Not charged on 400, 404 or 502. Price: $0.003 USDC per call, paid over x402 on Base from the wallet in X402_PRIVATE_KEY (not charged when the call fails).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"channel": "<channel>"
},
"name": "get_youtube_channel_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Which tab to list: videos (default), shorts or streams. | |
| limit | No | Maximum videos to return, 1-100. Default 30. | |
| channel | Yes | YouTube channel: @handle (@mkbhd), channel URL, or a UC... channel id. | |
| publishedWithinDays | No | Only videos published in the last N days, 1-3650. Default: no date limit. |