Region
OptionalTextThe country whose chart it is.
This input offers a picker for region from your connected account. You can also supply its value directly.
US
The most popular videos in a country.
First, connect YouTube in Services. Then open Actions → + → YouTube and choose Top Charts.
YouTube's own charts. Since July 2025 these are the Music, Movies and Gaming charts rather than a general trending list — choose one with Category (Music is 10, Gaming 20).
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 country whose chart it is.
This input offers a picker for region from your connected account. You can also supply its value directly.
US
Which chart. Music is 10, Gaming 20.
This input offers a picker for category from your connected account. You can also supply its value directly.
10
1–50 a page. YouTube sends 5 when it's left empty.
10
Where the previous page left off — its nextPageToken.
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 |
|---|---|---|
items | array | A list of values. |
items[].id | string | The video ID. Its page is youtube.com/watch?v= followed by it. |
items[].snippet | object | A group of named values. |
items[].snippet.title | string | Text value. |
items[].snippet.description | string | Text value. |
items[].snippet.channelId | string | Text value. |
items[].snippet.channelTitle | string | Text value. |
items[].snippet.publishedAt | string | ISO 8601. |
items[].snippet.tags | array | Missing when the video has none. |
items[].snippet.categoryId | string | Text value. |
items[].snippet.liveBroadcastContent | string | live, upcoming or none. |
items[].snippet.defaultAudioLanguage | string | Text value. |
items[].snippet.thumbnails | object | Sizes default, medium, high, standard and maxres — not every video has every size. |
items[].snippet.thumbnails.default | object | A group of named values. |
items[].snippet.thumbnails.default.url | string | Text value. |
items[].snippet.thumbnails.default.width | integer | Whole-number value. |
items[].snippet.thumbnails.default.height | integer | Whole-number value. |
items[].snippet.thumbnails.medium | object | A group of named values. |
items[].snippet.thumbnails.medium.url | string | Text value. |
items[].snippet.thumbnails.medium.width | integer | Whole-number value. |
items[].snippet.thumbnails.medium.height | integer | Whole-number value. |
items[].snippet.thumbnails.high | object | A group of named values. |
items[].snippet.thumbnails.high.url | string | Text value. |
items[].snippet.thumbnails.high.width | integer | Whole-number value. |
items[].snippet.thumbnails.high.height | integer | Whole-number value. |
items[].snippet.thumbnails.standard | object | A group of named values. |
items[].snippet.thumbnails.standard.url | string | Text value. |
items[].snippet.thumbnails.standard.width | integer | Whole-number value. |
items[].snippet.thumbnails.standard.height | integer | Whole-number value. |
items[].snippet.thumbnails.maxres | object | A group of named values. |
items[].snippet.thumbnails.maxres.url | string | Text value. |
items[].snippet.thumbnails.maxres.width | integer | Whole-number value. |
items[].snippet.thumbnails.maxres.height | integer | Whole-number value. |
items[].contentDetails | object | A group of named values. |
items[].contentDetails.duration | string | ISO 8601 — PT4M13S is 4 minutes 13 seconds. |
items[].contentDetails.definition | string | hd or sd. |
items[].contentDetails.caption | string | "true" when the video has captions. |
items[].statistics | object | A group of named values. |
items[].statistics.viewCount | string | A number, sent as text. |
items[].statistics.likeCount | string | Missing when likes are hidden. |
items[].statistics.commentCount | string | Missing when comments are off. |
items[].status | object | A group of named values. |
items[].status.privacyStatus | string | public or unlisted — private videos aren't returned. |
items[].status.embeddable | boolean | True or false. |
items[].status.madeForKids | boolean | True or false. |
nextPageToken | string | Text value. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
This action supports multiple pages of results. Open its Fetch setting to retrieve more pages when one page is not enough. Each page adds a service request.
Request: GET https://www.googleapis.com/youtube/v3/videos
Action identifier: youtube.videos.chart.v1
No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.
| Input | Request key | Location |
|---|---|---|
| Region | regionCode | query |
| Category | videoCategoryId | query |
| How Many | maxResults | query |
| Page Token | pageToken | query |