curl --location --request GET 'https://api.spotify.com/browse/categories' \
--header 'Authorization;'
{
"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
}
}
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
to get the next set of categories.