Playlists

Get Category's Playlists

GET
/browse/categories/{category_id}/playlists

Get a list of Spotify playlists tagged with a particular category.

Authorization

oauth_2_0
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Path Parameters

category_id*Category ID

The Spotify category ID for the category.

Query Parameters

limit?Limit

The maximum number of items to return. Default: 20. Minimum: 1. Maximum: 50.

Range1 <= value <= 50
Default20
offset?Offset

The index of the first item to return. Default: 0 (the first item). Use with limit to get the next set of items.

Default0

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/browse/categories/dinner/playlists"
{  "message": "Popular Playlists",  "playlists": {    "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",    "offset": 0,    "previous": "https://api.spotify.com/v1/me/shows?offset=1&limit=1",    "total": 4,    "items": [      {        "collaborative": true,        "description": "string",        "external_urls": {          "spotify": "string"        },        "href": "string",        "id": "string",        "images": [          {            "url": "https://i.scdn.co/image/ab67616d00001e02ff9ca10b55ce82ae553c8228\n",            "height": 300,            "width": 300          }        ],        "name": "string",        "owner": {          "external_urls": {            "spotify": "string"          },          "followers": {            "href": "string",            "total": 0          },          "href": "string",          "id": "string",          "type": "user",          "uri": "string",          "display_name": "string"        },        "public": true,        "snapshot_id": "string",        "tracks": {          "href": "string",          "total": 0        },        "type": "string",        "uri": "string"      }    ]  }}