Check if one or more tracks is already saved in the current Spotify user's 'Your Music' library.
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.spotify.com/v1/me/tracks/contains?ids=' \
--header'Authorization;'
Response Response Example
200 - Example 1
[true]
Request
Query Params
Header Params
Responses
🟢200On success, the HTTP status code in the response header is `200` OK and the response body contains a JSON array of `true` or `false` values, in the same order in which the `ids` were specified.
On error, the header status code is an [error code](https://d