Endpoint

GET https://api.spotify.com/v1/users/{owner_id}/playlists/{playlist_id}/followers/contains

Request Parameters

Header Fields

Header Field Value
Authorization Required. A valid access token from the Spotify Accounts service: see the Web API Authorization Guide for details.
Following a playlist can be done publicly or privately. Checking if a user publicly follows a playlist doesn’t require any scopes; if the user is publicly following the playlist, this endpoint returns true.
Checking if the user is privately following a playlist is only possible for the current user when that user has granted access to the playlist-read-private scope. See Using Scopes.

Path Parameters

Path Parameter Value
owner_id The Spotify user ID of the person who owns the playlist.
playlist_id The Spotify ID of the playlist.

Query Parameters

Query Parameter Value
ids Required. A comma-separated list of Spotify User IDs ; the ids of the users that you want to check to see if they follow the playlist. Maximum: 5 ids.

Response Format

On success, the HTTP status code in the response header is 200 OK and the response body contains a JSON array oftrue or false values, in the same order in which the ids were specified. On error, the header status code is an error code and the response body contains an error object.

Example (check if users are following a playlist)

Check if the users with the Spotify IDs possan and elogain are following the playlist spotify:user:jmperezperez:playlist:2v3iNvBX8Ay1Gt2uXtUKUT:

curl -ik -X GET "https://api.spotify.com/v1/users/jmperezperez/playlists/2v3iNvBX8Ay1Gt2uXtUKUT/followers/contains?ids=possan,elogain" -H "Authorization: Bearer {your access token}"
[ true, false ]

The response shows that possan is following the playlist, while elogain is not.

Try it