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

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