Library
Check User's Saved Items
Changed onCheck if one or more items are already saved in the current user's library. Accepts Spotify URIs for tracks, albums, episodes, shows, audiobooks, artists, users, and playlists.
get/me/library/contains
Request
- Base URLhttps://api.spotify.com/v1
- URLhttps://api.spotify.com/v1/me/library/contains
- AuthOAuth 2Authorization code: https://accounts.spotify.com/authorizeToken URL: https://accounts.spotify.com/api/token scopes: user-library-read, user-follow-read, playlist-read-private
Query parameters
urisstring required
A comma-separated list of Spotify URIs. Maximum: 40 URIs.
Supported URI types:
- spotify:track:{id}
- spotify:album:{id}
- spotify:episode:{id}
- spotify:show:{id}
- spotify:audiobook:{id}
- spotify:artist:{id}
- spotify:user:{id}
- spotify:playlist:{id}
Example:spotify:track:7a3LWj5xSFhFRYmztS8wgK,spotify:album:4aawyAB9vmqN3uQ7FjRGTy,spotify:artist:2takcwOaAZWiXQijPHIx7B
Response
Array of booleans
boolean[] required
Example response
[ false, true ]
Changes
- info
endpoint added
- info