Get Single Browse Category
Get a single category used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
Request
- category_idstringRequired
The Spotify category ID for the category.
Example:dinner
- 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.
Note: iflocale
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:locale=sv_SE
Response
A category
- hrefstringRequired
A link to the Web API endpoint returning full details of the category.
- Required
The category icon, in various sizes.
- urlstringRequired
The source URL of the image.
Example:"https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228"
- heightintegerRequiredNullable
The image height in pixels.
Example:300
- widthintegerRequiredNullable
The image width in pixels.
Example:300
- idstringRequired
The Spotify category ID of the category.
Example:"equal"
- namestringRequired
The name of the category.
Example:"EQUAL"
Response sample
{ "href": "string", "icons": [ { "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228", "height": 300, "width": 300 } ], "id": "equal", "name": "EQUAL"}