Get All Categories
Developing
GET
/browse/categories
category-browse
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.spotify.com/v1/browse/categories' \
--header 'Authorization;'
Response Response Example
200 - Example 1
{
"categories": {
"href": "string",
"items": [
{
"href": "string",
"icons": [
{
"height": 0,
"url": "string",
"width": 0
}
],
"id": "string",
"name": "string"
}
],
"limit": 0,
"next": "string",
"offset": 0,
"previous": "string",
"total": 0
}
}
Request
Query Params
country
string
optional
locale
string
optional
es_MX
, meaning "Spanish (Mexico)". Provide this parameter if you want the category metadata returned in a particular language. Note that, if locale
is not supplied, or if the specified language is not available, all strings will be returned in the Spotify default language (American English). The locale
parameter, combined with the country
parameter, may give odd results if not carefully matched. For example country=SE&locale=de_DE
will return a list of categories relevant to Sweden but as German language strings.limit
integer
optional
offset
integer
optional
limit
to get the next set of categories.Header Params
Authorization
string
required
Responses
Modified at 2022-09-12 10:04:50