Shazam Chart Cities
List of cities available for Shazam city-level filtering in a given country. Returns cities: string[] on success. When the country has no rows the handler returns length: -1 and cities: "Invalid Country or No Cities Found" (legacy string fallback).
Path Parameters
- Type: stringcountry
_code min length:2max length:2requiredISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
Responses
- application/json
Request Example for get/api/charts/shazam/{country_code}/cities
curl 'https://api.chartmetric.com/api/charts/shazam/{country_code}/cities' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": {
"length": 3,
"cities": [
"Atlanta",
"Austin",
"Baltimore"
]
}
}