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

[Developer] Web API playback queue route

The Web API is lacking a public endpoint to fetch an authenticated users current queue. The addition of this would expand the creative possibilities developers would have at their disposal, without it a big chunk of what the Web API was designed to provide is simply not there.

Updated on 2025-03-01

Thank you for sharing your feedback with the Spotify Ideas Exchange.

Your suggestion has been marked as a Live Idea and will be reviewed by the Spotify staff once it receives enough votes. We appreciate your contribution and look forward to your continued support of this idea!

For more details about how the Ideas Exchange works, please refer to here.

Comments
FlashRumpfi

I also have a use case where I'd like to query the next upcoming tracks in the queue. It shoule work similar to endpoint /me/player/recently-played

matthijskooijma

Adding this feature (and maybe also the related feature of *removing* an item from the playback queue) would allow a third-party implementation of https://community.spotify.com/t5/Idea-Submissions/Other-Prevent-playing-the-same-song-again-soon/idi... (skipping repeats of the same or similar song in the queue when playing an artist or artist radio or so).


Without this, one would have to poll the player whenever a song change is expected (since there is also no realtime event notifications AFAICS), and then skip to the next track *after* the duplicate song started playing, which is not really pretty (probably better than playing the full duplicate track, though).

durush

Just checking are there any updates on this feature? the ability to get a queue, remove from queue, reorder queue seem like  very trivial and important features for a queue based music streaming platform.

 

thanks!

Luan
Status changed to: Good Suggestion

Updated on 2022-09-11

Hello!

 

Looks like your idea is gathering more and more votes and it's amazing! We are going to change its status to 'Good Suggestion' again and we hope it continues to reach new marks soon.

More information about how the Spotify Idea Exchange works can be found here.

PhilipTrauner

Looks like this was silently rolled out recently: https://developer.spotify.com/console/get-queue/

Its limited to 20 tracks, but there don't appear to be any context-based restrictions in place (radio stations, autoplay) 👏

matthijskooijma

Cool, that's a good start. For the "skip duplicate" usecase I am thinking about this still leaves the issue that you cannot seem to remove tracks from the queue, but it is now a lot easier to know when a skip is needed in advance.

wiiwiiw

It would be great if we could read currently playing index in the queue. That way user could tap song in the queue to skip to it

Josenzo

Not sure who implemented the new endpoint: https://developer.spotify.com/documentation/web-api/reference/#/operations/get-queue. But it is completely useless the way is designed right now.

 

Why is the endpoint also showing the tracks that are going to play next from the radio? The array must be empty if there are zero tracks on the queue.

 

Not only that, no boolean or parameter identifies if the track is from the actual Queue (Next in queue), or the tracks that are going to play from the playlist (Next from: My playlist). This is crazy.

 

The documentation does not explain how to get more than two items. No matter what, I always receive two tracks.

FuelCell12

This would be amazing for developers! I have a number of project ideas that rely on queue logic. Please consider beefing up the API!

Luan
Status changed to: Live Idea

Updated on 2025-03-01

Thank you for sharing your feedback with the Spotify Ideas Exchange.

Your suggestion has been marked as a Live Idea and will be reviewed by the Spotify staff once it receives enough votes. We appreciate your contribution and look forward to your continued support of this idea!

For more details about how the Ideas Exchange works, please refer to here.