spotifylast.fm

Getting total number of streams and track release date


I'm trying to get a large list of songs released in year X, together with their number of plays/streams.

I'm using Spotify API, and I have a number of highly popular songs. I also need a list of non-popular songs (low play counts). I am wondering if there is any strategy to get a list of songs (maybe last played ones?), and extract their release year and number of total plays?

In the API documentation, I only found 'popularity', which seems different from total number of plays. I haven't found a way to get a list of last played songs yet. Should I consider another strategy?

I know that you can get a list of recently played songs of all users in certain user groups in last.fm. Perhaps there is something similar in Spotify API?


Solution

  • Unfortunately, there is no way to get play counts through the Spotify API, only the Popularity metric.