Help Wizard

Step 1


Spotify API to find tracks from certain months

Spotify API to find tracks from certain months


I am trying to use the Spotify API to create a website to view data sorted by top tracks and artists from specific months and years in the user's profile history. Is this possible to do with the API's data? I know that they offer the option to view data from the past 30 days, 6 months, and all time, but is there a way to slice those time periods into months in a year? Any advice would be appreciated! Thank you!

1 Reply

Hi @muthupal01! Sorry, the API doesn't currently have a method that would give you the top tracks for any given month in the past. The top tracks API has three time periodslong_term, short_term, and medium_term (the default).

Suggested posts