Playlists

Get User's Playlists

GET
/users/{user_id}/playlists

Get a list of the playlists owned or followed by a Spotify user.

Authorization

oauth_2_0 playlist-read-private, playlist-read-collaborative
AuthorizationBearer <token>

Spotify supports OAuth 2.0 for authenticating all API requests.

In: header

Scope: playlist-read-private, playlist-read-collaborative

Path Parameters

user_id*User ID

The user's Spotify user ID.

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 playlist to return. Default: 0 (the first object). Maximum offset: 100.000. Use with limit to get the next set of playlists.

Default0

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/smedjan/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"    }  ]}