Hello friends, I made a C# WinForms app using TMDBLib to get information about movies, anime, series, TV shows, etc., but the requests take more than a minute to return data and give the following error:
"The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing."
I also tested it in Delphi using RESTRequest4Delphi, and it gives the same error (with different wording).
Does the API have limitations on requests per second, minute, hour, or per IP? I only made 10 requests in one minute, and after this, the app takes more than a minute to get a response.
After all time elapsed, don't have a response and the app stay with no filled with data!
Also, how should I handle image attribution? The website only provides SVG images. Is it enough to just display the image, or do I need to do something else?
My api key works, i've tested with this link on browser: https://api.themoviedb.org/3/movie/550?api_key=API_KEY&language=pt-BR and browser shows the json returned.
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von ticao2 🇧🇷 pt-BR
am 2. März 2025 um 23:53
I think you can find more help on the TMDbLib website
https://github.com/jellyfin/TMDbLib
https://opencollective.com/jellyfin
API Request Limits
First we have this information in the instructions for using the TMDb API.
https://developer.themoviedb.org/docs/rate-limiting
And Travis Bell, the Administrator, has already given us this explanation.
For API Requests:
See here: https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747?page=1#62c83b78befd91005007a0c7
For Images:
See here:
https://www.themoviedb.org/talk/62edd3ca46aed400917de201#62ee88e7176a940086449cdf
https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747?page=1#6301a107097c49007f60374a
https://www.themoviedb.org/talk/62c7c1b258361b005fd2e747
And...
Is there really no API Rate Limiting?
See here:
https://www.themoviedb.org/talk/6442ced4d35dea02fcfb0fab#6442d4a0d35dea0455fb1a07
Include the TMDb logo and state that the data/images are obtained from TMDb