List Chartmetric Genres (legacy path)
List Chartmetric genres. Accepts isLegacy to switch between genre_v2 (default) and the legacy genre taxonomy. Equivalent response shape to GET /api/genres.
Query Parameters
- Type: booleanis
Legacy When true, returns the legacy
genretaxonomy; when false (default), returns the moderngenre_v2taxonomy.
Responses
- application/json
Request Example for get/api/genre
curl https://api.chartmetric.com/api/genre \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
"obj": [
{
"id": 501120,
"name": "pop"
},
{
"id": 501121,
"name": "hip-hop/rap"
}
]
}