Understand box api call rate limit
AnsweredThere are two limitations according to Box API document
- 10 API calls per second per user.
- 4 uploads per second per user.
So the question is: the first limit is 10 APIs/sec contains the the second limitation (4 upload APIs/sec) ?
For example: I can call 4 upload APIs/sec + 6 other API call (total 10API calls/sec)
Or 4 upload APIs/sec + 10 other API calls ( total 14 api calls/sec)
Thanks for your helping.
-
Hi ,
There will actually be four rate limits that you'll need to be aware of, as per the reference docs:
- 16.67 API calls per second per user (updated from 10).
- 4 uploads per second per user.
- 6 searches per second per user, up to 60 searches per minute.
- 12 searches per second per enterprise.
The 16.67 API calls per second per user will be the limit, and be inclusive of the 4 uploads. So you can call 4 upload API calls/sec + 12 other API calls (total 16.67 API calls/sec).
The only oddity here is the 12 searches per second per enterprise. Each app will still have a 16.67 API call per second per user limit, but 12 is the total limit of searches per seconds amongst all apps within your enterprise / company.
Thanks,
Jon
-
Yes - the rate limits apply no matter what method or application is calling the API, including the official Box SDKs. Rate limits are in place to protect the health of the service and to minimize the risk of an overactive application causing issues - whether intentionally such as an attack or (much more frequently) unintentionally such as a bug in the code calling the API.
Please sign in to leave a comment.
Comments
6 comments