---
title: "Get artist genres"
method: GET
path: "/api/v2/artist/genres"
tags: ["Referential"]
---

# Get artist genres

`GET /api/v2/artist/genres`

## Request

- Base URL: `https://developers.soundcharts.com` (the document declares no server; this is the origin it was published from)
- URL: `https://developers.soundcharts.com/api/v2/artist/genres`
- Auth: none declared
- TypeScript: <https://skmtc.dev/soundcharts/apis/soundcharts-api/docs/api/v2/artist/genres/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `genre` string
- `sortOrder` string

## Response `200`

A Genre and sub Genre collection response

- GenreCollectionResponse
  - `items` Genre[]
    - `root` string
    - `sub` string[]
  - `page` OffsetPage
    - `offset` integer: The offset of the items returned (as set in the request or by default). Default is 0
    - `limit` integer: The maximum number of items in the response (as set in the request or by default).
    - `next` string: URL to the next page of items. (null if none)
    - `previous` string: URL to the previous page of items. (null if none)
    - `total` integer: The maximum number of items available to return.
  - `errors` Error[]
    - `key` string: Error key
    - `code` integer: Error code
    - `message` string: Error message

---

[API](https://skmtc.dev/soundcharts/apis/soundcharts-api.md) - [All operations](https://skmtc.dev/soundcharts/apis/soundcharts-api/llms.txt) - [OpenAPI document](https://skmtc.dev/soundcharts/apis/soundcharts-api/revisions/0ce4aea7eaf7?raw)
