rate limit box api

 rate limit box api

Understand box api call rate limit SOLVED Go to solution dohuukhuong dohuukhuong First-time Contributor ‎04-18-2019 06:14 PM Understand box api call rate limit There 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. Solved! Go to Solution. Tags (1) Tags:ratelimit 6 REPLIES jcleblanc jcleblanc Box Employee ‎04-19-2019 07:47 AM Re: Understand box api call rate limit Hi @dohuukhuong , 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 guzi99 guzi99 First-time Contributor ‎12-09-2019 12:57 PM Re: Understand box api call rate limit Is the limit applied to all apps per user? In other words, does each app get this quota per user and users can run multiple apps at this speed of each in parallel? walarsh walarsh First-time Contributor ‎03-17-2020 09:47 AM Re: Understand box api call rate limit Hello Jon, Does this rate limit apply to admin users when using the 'As-User' header? For instance, an admin user making calls as two different users. The rate limit will be 16.6 calls per second per each user? Nayak Nayak Contributor ‎03-18-2020 10:56 PM Re: Understand box api call rate limit Hi, Yes rate limit is applied even when admin users use the 'As-User' header but in this case the api's are counted against the user and not against the admin making the call BradZinser BradZinser First-time Contributor ‎05-27-2020 11:00 AM Re: Understand box api call rate limit Is the rate limit still applied if using the official SDK? dandennhardt dandennhardt Box Employee ‎06-07-2020 07:50 AM Re: Understand box api call rate limit @BradZinser 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.