This endpoint allows you to query available cities for the Get artist ranking for a city endpoint. The searchCity field helps you to search for the city you’re looking for.

Request

GET /api/v2/top-artist/referential/cities/{countryCode}

Path parameters

Parameter name Value Description Additional
countryCode string

Country code (2 letters ISO 3166-2, example: 'US', full list on https://en.wikipedia.org/wiki/ISO_3166-2)

Required

Query string parameters

Parameter name Value Description Additional
searchCity string

Search city filter

offset integer

Get results starting from position

limit integer

Number of results (max. 100)

Response

Status code Description Resource
200 OK

A City ranking collection response

City Collection
401 Unauthorized

You are not logged in

403 Forbidden

This endpoint is not included in your current plan, reach out to help@soundcharts.com if you want access.


Explore this api

countryCode

Country code (2 letters ISO 3166-2, example: 'US', full list on https://en.wikipedia.org/wiki/ISO_3166-2)

searchCity

Search city filter

offset

Get results starting from position

limit

Number of results (max. 100)

Try it out!