Charts
Get YouTube Top-Track Chart (weekly)
Return the YouTube weekly top-track chart for a given country_code and date. Each row merges track-basic-info with the chart row and carries both rankStats (rank history) and viewStats (views history). Data is updated weekly on Thursdays.
get/api/charts/youtube/tracks
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
country_codestring required
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
datestring date-time
Date for the time-slice (YYYY-MM-DD). Required unless latest=true.
offsetinteger
Number of items to skip from the start of the result set; pair with limit to paginate.
latestboolean
If true, use the most recently available date and ignore date.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.