Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Spotify API to find tracks from certain months

Spotify API to find tracks from certain months

Hi,

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!

Reply
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

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/ 5 years ago  in Social & Random