---
title: "List Chartmetric Genres"
method: GET
path: "/api/genres"
tags: ["Genre"]
---

# List Chartmetric Genres

`GET /api/genres`

## Request

- Base URL: `https://api.chartmetric.com`
- URL: `https://api.chartmetric.com/api/genres`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/docs/api/genres/get.ts> (a function with typed inputs; its response is checked against the schema)

List Chartmetric genres, optionally filtered by `name`. Pass `isLegacy=true` to receive the legacy `genre` taxonomy instead of `genre_v2`.

## Query parameters

- `name` string: Case-insensitive substring filter on genre name; omit to return all genres.
- `isLegacy` boolean: When true, returns the legacy `genre` taxonomy; when false (default), returns the modern `genre_v2` taxonomy.

## Response `200`

Success

- object
  - `obj` object[], required
    - `id` integer, required: Chartmetric genre ID.
    - `name` string, required: Genre name (e.g. `K-Pop`, `Mandopop`).

---

[API](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api.md) - [All operations](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chartmetric/apis/chartmetric-developer-api/revisions/94dac96833a3?raw)
