From
RequiredDateThe first day counted — a date, or words like 28 days ago.
Default: 28 days ago
28 days ago
The channel's best videos for a date range, ranked.
First, connect YouTube Analytics in Services. Then open Actions → + → YouTube Analytics and choose Top Videos.
Each row names a video by ID — hand those to YouTube's Get Video Details for titles and thumbnails.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
The first day counted — a date, or words like 28 days ago.
Default: 28 days ago
28 days ago
The last day counted. The latest two or three days aren't in yet.
Default: today
today
Most first. -views when empty.
Choices: -views, -estimatedMinutesWatched, -subscribersGained, -likes, -comments, -shares
1–200. 10 when empty.
10
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
rows | array | A row per video, best first. |
rows[].video | string | The video ID. Its page is youtube.com/watch?v= followed by it. |
rows[].views | integer | Whole-number value. |
rows[].estimatedMinutesWatched | integer | Minutes of watching, all viewers together. |
rows[].averageViewDuration | integer | Seconds, per view. |
rows[].averageViewPercentage | number | How much of a video a view lasted, as a percentage. |
rows[].subscribersGained | integer | Whole-number value. |
rows[].likes | integer | Whole-number value. |
rows[].comments | integer | Whole-number value. |
rows[].shares | integer | Whole-number value. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: GET https://youtubeanalytics.googleapis.com/v2/reports
Action identifier: youtubeanalytics.videos.top.v1
Permissions declared for this action: https://www.googleapis.com/auth/youtube.readonly, https://www.googleapis.com/auth/yt-analytics.readonly. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| From | startDate | query |
| To | endDate | query |
| Rank By | sort | query |
| How Many | maxResults | query |