get_channel_analytics
Retrieve channel-level organic analytics (views, watch time, engagement) for a date range, with optional daily breakdown.
Instructions
Get channel-level organic analytics over a date range: views, estimated minutes watched, average view duration/percentage, subscribers gained/lost, likes, comments, shares. Optionally break down by a dimension (e.g. 'day' for a daily time series). Requires the yt-analytics.readonly scope.
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": {
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "get_channel_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account name to query. Use list_accounts to see available options. Defaults to the first configured account. | |
| metrics | No | Comma-separated metric list. Defaults to a standard organic set. See YouTube Analytics API metric names. | |
| end_date | Yes | End date, YYYY-MM-DD. | |
| dimensions | No | Optional dimension(s), e.g. 'day', 'month', 'country'. | |
| start_date | Yes | Start date, YYYY-MM-DD. |