YouTube Channel API
youtube_channelRetrieve subscriber and video counts for any public YouTube channel. Returns current stats using YouTube's own field names, with cache support to avoid live-read costs.
Instructions
Subscriber and video counts for a public YouTube channel. Returns one object. Fields use this platform's own names. Cost: 1 credit on a live read, 0 on a cache hit. Public data only: no bios, contact details or login-walled data. Read-only.
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": {
"url": "<url>"
},
"name": "youtube_channel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public URL, for example https://www.youtube.com/@channel | |
| cache | No | Defaults to true. Only pass false when you specifically need a live read — it always costs credits, where a cache hit is free. |