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) ?
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por talestalker
el 21 de julio de 2019 a las 16:04
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.
Contestado por Travis Bell
el 21 de julio de 2019 a las 16:14
I'll add one clarification, rate limiting is only done by IP address. We don't take your API key into consideration.
Contestado por talestalker
el 23 de septiembre de 2024 a las 09:42
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.
Contestado por talestalker
el 23 de septiembre de 2024 a las 10:40
Here I see only 50 request per second
.
Contestado por DhruvNetflix
el 23 de septiembre de 2024 a las 10:54
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.
Contestado por talestalker
el 23 de septiembre de 2024 a las 11:03
Right now:
Contestado por ticao2 🇧🇷 pt-BR
el 23 de septiembre de 2024 a las 11:03
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.
Contestado por DhruvNetflix
el 23 de septiembre de 2024 a las 11:13
Can you please tag or bring travis bell here @travisbell to clarify whether changes took place or not since 2022
Contestado por DhruvNetflix
el 23 de septiembre de 2024 a las 11:15
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
Contestado por ticao2 🇧🇷 pt-BR
el 23 de septiembre de 2024 a las 11:18
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.
Contestado por talestalker
el 23 de septiembre de 2024 a las 11:19
I used the standard Personal API key. User status (mod/user) has nothing to do with it.
Contestado por DhruvNetflix
el 24 de septiembre de 2024 a las 05:42
Contestado por Travis Bell
el 24 de septiembre de 2024 a las 10:10
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.