Performance of specific videos
yt_video_performanceGet performance metrics—views, watch time, and engagement—for specific YouTube videos over any date range.
Instructions
Metrics for one or more named videos over a date range — the counterpart to yt_top_videos when you already know which videos you care about. Returns one row per video. Note that the window is a reporting window, not the video's lifetime: a range of the last 30 days shows the last 30 days of a video published two years ago. Setting resolve_titles=true spends 1 YouTube Data API quota unit per 50 videos (default daily budget: 10,000 units); the Analytics query itself does not draw on that budget. Pass resolve_titles=false to return bare video IDs and spend none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metrics | No | Metrics to return per video. | |
| end_date | Yes | End date, YYYY-MM-DD, inclusive. YouTube Analytics lags roughly 2-3 days, so ending the range at today usually returns zeros for the last few days. | |
| video_ids | Yes | YouTube video IDs (the part after v= in a watch URL), 1 or more. | |
| start_date | Yes | Start date, YYYY-MM-DD, inclusive. Interpreted in the channel's timezone. | |
| resolve_titles | No | Look up each video's title so the result is readable. Setting resolve_titles=true spends 1 YouTube Data API quota unit per 50 videos (default daily budget: 10,000 units); the Analytics query itself does not draw on that budget. Pass resolve_titles=false to return bare video IDs and spend none. |