Announcements

Help Wizard

Step 1

NEXT STEP

spotify api Get Recommendations alternative?

spotify api Get Recommendations alternative?

the potify api Get Recommendations got Deprecated
and I wonder if there is an alternative?
Reply
17 Replies

i think we can get recommendations using search but not specific like endpoint get recommendations, i hope @spotify will bring it back endpoint

Did it just get deprecated? I swear it was not a few days agoโ€ฆ.

Well that really stinks. I have a python program for personal use that generates a playlist of songs from a particular date range based on artist recommendations. This morning (27-November-2024) it no longer works. I guess I'll have to think of a different way to seed the target playlist with tracks. Grrrr....

Same here. I have a Python script to generate custom recommendations based on On Repeat and Liked Songs. I was enjoying the results. It worked as recently as yesterday, November 26. 

Why did they take it down? I'm writing my final project for engineering degree, I need it so bad ๐Ÿ˜…

 

I know right. So weird that they just removed it without any warnings or replacements 

What I am doing as an alternative is using /search, as @Ryuko4w mentioned above.

I am getting both the currently played artist and track and then pass them to /search - i.e. '<artist_name> <track_name>'. Then, I get the tracks after the first suggestion and use them as a list of recommendations.

It is not ideal, but we have to adapt to the current situation.

I only learnt about this feature today and was crushed to see it was just removed as it would've been ideal for building my daily playlist. I suppose I will be using related artists instead.

Hoping for a replacement. Shocked to see it disappear without a trace; has so many cool possible applications

Bump.
Also hoping for a replacement. Being able to leverage the recommendations algorithm through the API is super useful!

this endpoint was great, i made a script that took a playlist as an input and outputted a list of similar songs that you could add to your playlist, this was 10x better then what spotify have inside the app ๐Ÿ˜ข

How u mean? 

https://api.spotify.com/v1/search?q=track:Nothing%20Else%20Matters%20artist:metallica&type=track

This results in an array with 20 object where they all seem to be just alternative versions. 

Unfortunately reading here

 

https://developer.spotify.com/blog/2024-11-27-changes-to-the-web-api 

 

I guess that no replacement will be available... and no way to have back the recomendation.

 

Here the forum related page

 

https://community.spotify.com/t5/Spotify-for-Developers/Changes-to-Web-API/td-p/6540414 

 

 

really sad to see this go. still think about this a year later. AI ruined it for all the home devs out there :'(

I spent a few hours debugging this wondering why it was returning 404, only to find this ๐Ÿ˜ž

This is disappointing, in that Spotify continues to limit functionality for its Premium content subscribers. Most of us are not trying to steal company data or train AI models; we are simply trying to play our music and control our devices via home automation routines. Why can't the Spotify Web API do the same things that the Spotify Web / Mobile / Desktop applications do for Spotify Premium membership from a programmatic level?!

Found this API ReccoBeats, although the result is not as good as Spotify

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