City
List Top Tracks in a City
Top tracks in a city for a given platform (domain in youtube | shazam | radio). Each item merges per-platform stats with basic track metadata (cm_track, artists, album info, genre tags). position_stats is only populated when domain=shazam. count is surfaced as a string when the underlying aggregate returns a BIGINT.
get/api/city/{id}/{domain}/top-tracks
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Chartmetric city ID.
domain'youtube' | 'radio' | 'shazam' required
Platform whose audience signal ranks the tracks (one of youtube | shazam | radio).
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.