Announcements

Error 429, how can I avoid rate limiting?

Error 429, how can I avoid rate limiting?

flaberpengu

I have built a script that polls the user's current song around 1-3 times per minute (totaling ~4 times per song), since I am using this information elsewhere. I have reduced this as much as I can in order to avoid rate limiting, however, this is the bare minimum I can check. It needs to run constantly, however, after around 24 hours of this I start receiving Error 429s with Retry-After numbers. Is there a way to avoid this? I cannot reduce my requests any further, nor can I put multiple requests into one single request (i.e. multiple track requests into one). My program (probably) doesn't qualify for a Commercial Account since this is a personal project. Is there a premium API or something? Thanks in advance.

Reply
1 Reply

Peter_Schorn
no

Suggested posts

Env: prod