City
List Top Artists in a City
Top artists in a city for a given platform (domain in spotify | youtube | shazam | radio | instagram). Each item merges per-platform stats (count, and username when domain=instagram) with basic artist info (IDs, audience stats, genre tags, latest release). count is surfaced as a string when the underlying aggregate returns a BIGINT.
get/api/city/{id}/{domain}/top-artists
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'spotify' | 'youtube' | 'shazam' | 'radio' | 'instagram' required
Platform whose audience signal ranks the artists (one of spotify | youtube | shazam | radio | instagram).
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.