Top YouTube videos
youtube_top_videosThe channel's best videos in a period, by views, watch time or revenue, with titles, average view duration, average percentage watched and subscribers gained (and estimated revenue and RPM when ranked by revenue - monetized channels only). Default: last 28 days, by views.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "youtube_top_videos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | ||
| limit | No | Default 10. | |
| channel | No | Channel name or id. Only needed when more than one YouTube channel is connected. | |
| endDate | No | YYYY-MM-DD. Default: 3 days ago (YouTube Analytics lags 2-3 days). | |
| currency | No | Currency for revenue, ISO code like 'EUR'. Default USD (YouTube's reporting currency). | |
| startDate | No | YYYY-MM-DD. Default: 28 days before endDate. |