Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Is there a way to fetch a user's recently played playlists through the web api

Solved!

Is there a way to fetch a user's recently played playlists through the web api

 

Hi,

I'm trying to add a user's recently played playlists and their top mixes into my app, like how the native Spotify app does, however, I cannot find a way to do so.

Is there a specific category ID for these playlists?

Reply

Accepted Solutions
Marked as solution

Hi @greedymau5 

 

You can retrieve details about the last 50 tracks played using the Get Recently Played Tracks endpoint. In most cases, this will also show you the context in which each track was played (such as the playlist or album) at items→context.

 

Hope this helps.

 

Cheers!

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

View solution in original post

1 Reply
Marked as solution

Hi @greedymau5 

 

You can retrieve details about the last 50 tracks played using the Get Recently Played Tracks endpoint. In most cases, this will also show you the context in which each track was played (such as the playlist or album) at items→context.

 

Hope this helps.

 

Cheers!

XimzendSpotify Star
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.

Suggested posts