Hi,
Radarr/Servarr dev here. We are working on a new app that will interact with TMDB, what's the best way to have multiple API keys? We'd prefer not to lump them both under using the same key so that we can monitor usage.
Also, did rate limiting change as of recently? Seem to be seeing more 429s in the last week than we've seen in the past on around the same API usage.
Regards, Q
Non riesci a trovare un film o una serie Tv? Accedi per crearlo.
Vuoi valutare o aggiungere quest'elemento a una lista?
Non sei un membro?
Risposta da Travis Bell
il 13 gennaio, 2024 alle 1:25PM
Hey @hman333,
The only way you can have more than a single API key would be to have multiple accounts. Unfortunately, we only allow one API key to be assigned to a single account at a time.
With regards to rate limiting, nothing has changed on the API in the past ~6 months. Is this rate limiting you’re seeing on the API, or website? We have been rate limiting the website more to kill a bunch of scraping activity, which is why I ask.
Risposta da Qstick
il 13 gennaio, 2024 alle 2:05PM
Thanks Travis,
It's the API we are seeing the rate limiting on
Risposta da Travis Bell
il 13 gennaio, 2024 alle 2:24PM
Our rate limits are pretty generous, somewhere in the ~40-50 requests per second (by IP) range so if you’re hitting them, you should rate limit locally to be within the allowed limits.
Long term it’s likely the limits will be tightened up, so if you’re having this problem now, it’s likely to get worse in the future.
Risposta da Qstick
il 13 gennaio, 2024 alle 2:45PM
Thanks Travis, we've not seen this previously so I'll have to dig into what's changed on our side and sort it out. Normally we stay in the 300-500 RPM mark due to some heavy caching on our part, which should be well away from your limits.