Site
Home / Forum / Developers / API request limit query

API request limit query


Posted: 09 Apr 2023 11:08
smathers
Posts: 30
Joined: 2023-04-07

The first SportsDB based feature I am thinking of adding to my Scottish football android app is one which would require me to ideally burst 2 or 3 API calls in setting up each SPFL division's page with fixtures and live scores/results. Am I permitted to do so given the "1 API request per 2 seconds" usage stipulation?

In my defence, the worst case scenario for my proposed solution should average out at 1 request to the SportsDB API per 20-30 secs since my app's football data calls will be controlled via an AWS lambda function. In other words, my app will only use this Amazon server based function to request football data (using its own API). This function shall then either return a cached SportsDB response or make periodic requests to the SportsDB server for a value refresh. This approach will thus minimise load on the SportsDB server and will be largely independent of how many users are concurrently accessing my app's results/fixtures page.


Posted: 10 Apr 2023 10:33

zag
Posts: 3,331
Joined: 2020-03-23

The first SportsDB based feature I am thinking of adding to my Scottish football android app is one which would require me to ideally burst 2 or 3 API calls in setting up each SPFL division's page with fixtures and live scores/results. Am I permitted to do so given the "1 API request per 2 seconds" usage stipulation?

In my defence, the worst case scenario for my proposed solution should average out at 1 request to the SportsDB API per 20-30 secs since my app's football data calls will be controlled via an AWS lambda function. In other words, my app will only use this Amazon server based function to request football data (using its own API). This function shall then either return a cached SportsDB response or make periodic requests to the SportsDB server for a value refresh. This approach will thus minimise load on the SportsDB server and will be largely independent of how many users are concurrently accessing my app's results/fixtures page.


Yeh should be fine, the actual limit is 30 requests per 60 seconds per IP.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 2 (Total: 2)