Announcements

Help Wizard

Step 1

NEXT STEP

API call to get all playlists for a given track

API call to get all playlists for a given track

Hi,

 

I'm making a small mobile app as a gift to a friend. The concept is: he enters some songs, it returns all playlists containing all of those songs.

 

My plan was:

- get all playlists for the least popular song (according to Spotify's Popularity field)

- filter out any where Tracks does not contain all of the selected songs

 

However it seems you can only search playlists with a text query that only filters based on the name of the playlist, so not quite what I want.

 

Is it possible (if so, how!) to ask Spotify to add an API endpoint to allow you to search for playlists containing a specific track? It might look something like this:

https://api.spotify.com/v1/search?type=playlist?track={trackId}offset=0&limit=20

 

Any help (including if this question should be directed somewhere else) would be greatly appreciated!

 

Thanks,

Jack

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random