provider Library GET /me/library/contains
@utdk/spotify /me/library/contains
Check User's Saved Items
Check 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.
uris query required
string

Try it

Authentication
Configure credentials for Spotify Web API
checkLibraryContains
GET/me/library/contains
Check 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.

required

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import spotify from '@utdk/spotify';

await spotify.checkLibraryContains()