Charts
List Chart Genres for Platform
Return the available chart genres for the given platform (optionally filtered by code2). Shape is highly platform-dependent — Amazon returns [{ id, name }], Apple Music / iTunes / Beatport return hardcoded string arrays, SoundCloud / Anghami / Siriusxm return DB-backed string arrays, and Melon / Tencent return DB-backed object arrays. The envelope { obj: [...] } is always a list but the element type varies per platform.
get/api/charts/genres/{platform}
Request
- Base URLhttps://api.chartmetric.com
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/chartmetric/apis/chartmetric-developer-api/docs/api/charts/genres/:platform/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
platform'amazon' | 'amazon_albums' | 'apple_music' | 'apple_music_albums' | 'apple_music_videos' | 'beatport' | 'itunes' | 'itunes_albums' | 'itunes_videos' | 'line_daily' | 'melon_daily' | 'melon_monthly' | 'melon_weekly' | 'melon_yearly' | 'shazam_genre' | 'soundcloud' | 'soundcloud_legacy' | 'soundcloud_trending' | 'siriusxm' | 'tencent_weekly' | 'tencent_monthly' | 'anghami' | 'genius' required
Chart platform whose genre list is returned (e.g. amazon, applemusic, itunes, soundcloud, melon).
Query parameters
code2string
ISO 3166-1 alpha-2 country code (2 letters, e.g. 'US', 'BR', 'GB').
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.