I got an error “Max retries exceeded with url”. What’s the current rate limit. I’m currently retrieving every 5 seconds and it managed to do that about 750 times without crashing.
For Helix, the rate limit and how to see what your current limits/remaining are in the docs here: https://dev.twitch.tv/docs/api/guide#rate-limits some endpoints have additional limits on top of this which are explained on those specific endpoints in the docs.
One important thing to keep in mind is that the API uses caching, so if you’re making the same requests every 5 seconds you’re making an excessive amount of duplicate requests that are just going to get cached data. There’s no need to make the same request more than once a minute.
It is also worth noting the that current rate limit max and rate limit remaining is returned as headers with the response so you can architecutre your application to listen and respond to the rate limit remaining pool
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.