Hi,
I'm starting a project which include looking for movies informations. I was wondering if your rate limiting is based on the IP address AND APIkey or only on the API key.
my point is :
do I need every of my user to get their own APIkey or can I provide an hardcoded API key within my code?
what happen if you get thousands of users and they all perform multiple request the same time? thus hitting the rate limit
what about apps like radarr(open source) or plex(not open source) ?
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de talestalker
pe data de 21 iulie 2019 la ora 4:04 PM
1/ Rate limiting is based on combination of API key and IP address, so you can use only one API key hardcoded in your app.
2/ TMDB serves over 3 billion requests a day (according to TMDB about page) without any noticeable problems.
3/ Don't know about Radarr, but Plex runs it's own cache layer (on their servers) between end users and TMDB API.
Răspuns de Travis Bell
pe data de 21 iulie 2019 la ora 4:14 PM
I'll add one clarification, rate limiting is only done by IP address. We don't take your API key into consideration.
Răspuns de talestalker
pe data de 23 septembrie 2024 la ora 9:42 AM
I don't know where the limit of 20 connections per IP address came from. I can only answer you from my personal experience that if I need to do 150 requests at once, I split them into 3 batches of 50 requests each, which I do at the beginning of each measured second at once, and I have no problem. If I increase the load to say 60, I start getting HTTP Error 429 for the "extra" requests. I use javascript and promises.
Răspuns de talestalker
pe data de 23 septembrie 2024 la ora 10:40 AM
Here I see only 50 request per second
.
Răspuns de DhruvNetflix
pe data de 23 septembrie 2024 la ora 10:54 AM
Here you can find the first comment or reply by @travisbell where he stated this '20 connection per IP' 8th july 2022, 7:43pm is the timing of that reply for locating the exact reply --- Btw when did you last used APIs from here and fired 50 calls at a time, if you didn't face any issue, I should also not worry about it.
Răspuns de talestalker
pe data de 23 septembrie 2024 la ora 11:03 AM
Right now:
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 23 septembrie 2024 la ora 11:03 AM
This was said by:
Reply by Travis Bell STAFF
on July 8, 2022 at 11:13 AM
I believe that from 2022 to today there have already been changes.
Răspuns de DhruvNetflix
pe data de 23 septembrie 2024 la ora 11:13 AM
Can you please tag or bring travis bell here @travisbell to clarify whether changes took place or not since 2022
Răspuns de DhruvNetflix
pe data de 23 septembrie 2024 la ora 11:15 AM
Hey, I have no idea what you did here, probably updated the data, but that's an admin privilege right? the rate limit maybe different there or maybe rate limits are not defined from moderator handle
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 23 septembrie 2024 la ora 11:18 AM
They did. See here a year later.
https://www.themoviedb.org/talk/6442ced4d35dea02fcfb0fab#6442d4a0d35dea0455fb1a07
And Travis Bell is already part of this conversation.
https://www.themoviedb.org/talk/5d34aec717792c0011bc9bd9#5d34c7bd17792c0014bcd438
Let's wait for him to stop by.
Răspuns de talestalker
pe data de 23 septembrie 2024 la ora 11:19 AM
I used the standard Personal API key. User status (mod/user) has nothing to do with it.
Răspuns de DhruvNetflix
pe data de 24 septembrie 2024 la ora 5:42 AM
Răspuns de Travis Bell
pe data de 24 septembrie 2024 la ora 10:10 AM
The only limit is a rough rate limit of ~40 requests per second by IP address. You might get a bit more more from time to time, but generally that is the approximate limit.