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 value:"dinner"
- 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 value:"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.
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 value:"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 value:"https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228"
- heightintegerRequiredNullable
The image height in pixels.
Example value:300
- widthintegerRequiredNullable
The image width in pixels.
Example value:300
- idstringRequired
The Spotify category ID of the category.
Example value:"equal"
- namestringRequired
The name of the category.
Example value:"EQUAL"