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
  • isLegacy
    Type: boolean

    When true, returns the legacy genre taxonomy; when false (default), returns the modern genre_v2 taxonomy.

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"
    }
  ]
}