Get Several Browse Categories
Changed onGet a list of categories used to tag items in Spotify (on, for example, the Spotify player’s “Browse” tab).
Request
- Base URLhttps://api.spotify.com/v1
- URLhttps://api.spotify.com/v1/browse/categories
- AuthOAuth 2Authorization code: https://accounts.spotify.com/authorizeToken URL: https://accounts.spotify.com/api/token
Query parameters
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).
The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.
The index of the first item to return. Default: 0 (the first item). Use with limit to get the next set of items.
Response
A paged set of categories
Example response
{
"categories": {
"href": "https://api.spotify.com/v1/me/shows?offset=0&limit=20\n",
"limit": 20,
"next": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",
"total": 4,
"items": [
{
"icons": [
{
"url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",
"height": 300,
"width": 300
}
],
"id": "equal",
"name": "EQUAL"
}
]
}
}Changes
- info
endpoint deprecated
- info
- breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
deleted the
queryrequest parametercountry - info
added
subschema #2to theresponse propertyallOflist for the response status
- breaking