v1

latestOpenAPI 3.0.32026-07-148993228.8 KB
Categories

Get Single Browse Category

Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).

get/browse/categories/{category_id}

Path parameters

category_idstring required

The Spotify category ID for the category.

Example:dinner

Query parameters

countrystring

A country: an ISO 3166-1 alpha-2 country code. Provide this parameter to ensure that the category exists for a particular country.

Example:SE
localestring

The desired language, consisting of an ISO 639-1 language code and an ISO 3166-1 alpha-2 country code, joined by an underscore. For example: es_MX, meaning "Spanish (Mexico)". Provide this parameter if you want the category strings returned in a particular language.<br/> Note: if locale is not supplied, or if the specified language is not available, the category strings returned will be in the Spotify default language (American English).

Example:sv_SE

Response

A category

hrefstring required

A link to the Web API endpoint returning full details of the category.

idstring required

The Spotify category ID of the category.

namestring required

The name of the category.

Example response

{
  "icons": [
    {
      "height": 300,
      "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
      "width": 300
    }
  ],
  "id": "equal",
  "name": "EQUAL"
}