YouTube Channel API
youtube_channel_viewerLook up public YouTube channel stats—subscribers, views, video count, and links—by entering a handle, channel URL, or UC channel ID.
Instructions
See a channel's subscribers, views, video count and links. Costs 1 credit per successful call. Only public information is returned. Hidden subscriber counts show as unavailable. YouTube rounds large counts, so figures are close but not exact.
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_id": "<channel_id>"
},
"name": "youtube_channel_viewer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel_id | Yes | Channel handle or link. Use a @handle, a channel link, or a channel ID that starts with UC. |