video_analytics
Retrieve performance metrics for a single YouTube video over a specified date range, including views, watch time, engagement, and subscriber changes, to evaluate content impact.
Instructions
Performance for one video over a date range (YYYY-MM-DD).
Uses the YouTube Analytics API, which has its own quota separate from the Data API. Figures lag real time by roughly two to three days.
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": {
"video_id": "<video_id>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "video_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | views,estimatedMinutesWatched,averageViewDuration,averageViewPercentage,likes,comments,shares,subscribersGained | |
| end_date | Yes | ||
| video_id | Yes | ||
| start_date | Yes |