Announcements

Help Wizard

Step 1

NEXT STEP

GET playback state and rate limits

GET playback state and rate limits

Hi! I am looking to build a player as a hobby project that would not be too different from the actual Spotify's web player, but for real-time knowledge about the playback state I would need to poll the GET Playback State endpoint quite often.

 

Will my application start to hit the rate limits if it is polling around once per second for the playback state? Are the rate limits at application-level or user-level? Meaning, will all users of the application suddenly start to get hit by 429 responses if it comes to it?

 

I guess I could diminish this by doing some shenanigans with calculating song playback duration on the client-side and re-fetching the data a lot less often than once a second. But this would open up another whole can of worms with the audio level, song changing and everything, so I would rather not do it.

 

 

Reply
0 Replies

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