Skip to main content
Question

Large scale API usage issues

  • May 22, 2025
  • 6 replies
  • 22 views

Forum|alt.badge.img

Hello,

we are developing a java application for a box enterprise client. The application scans all client`s files/folders, always retrieving the BoxItem.Info and  sometimes downloading the files themselves. We are speaking about possible millions of items over gigabytes of data.

As I was able to find in the forum, the API calls limit is up to 10 calls per sec, and overall enterprise account monthly calls limit is 100,000.

1. Is it possible to increase the calls per second rate to a much higher rate?

2. Is it possible to increase the calls per month rate to a much higher rate?

Thanks.

6 replies

Forum|alt.badge.img

Hello, 

 

Thanks so much for using our platform and developer forum! 

 

1. Is it possible to increase the calls per second rate to a much higher rate? 

We do not make exceptions to these limits and they cannot be increased. One distinction I'd like to make though is that it is 10 calls per second per user and 4 uploads per second per user. Therefore, if you're worried about hitting rate limits we recommend spreading out the calls over multiple users. 

 

2. Is it possible to increase the calls per month rate to a much higher rate?

It would be best to have a conversation about this with your account executive or our sales team

 

Best, 

Kourtney 


Forum|alt.badge.img

regarding the "per user limit" : we are using a JWT authentication method. Does this mean that generating multiple JWTs for the application, will allow theoretically higher access rate if each box connection will be done with another token?

Moreover, does the overall monthly limit of 100k calls is per ''user/JWT/app'' or per account ?

Thanks


Forum|alt.badge.img

Hello, 

 

Theoretically yes you could say that. The overall monthly limit is measured on a per enterprise basis, so if you have multiple applications, those will all contribute to this count.

 

Best, 

Kourtney 


Forum|alt.badge.img

So, as the total number of API calls is capped by by some finite number (i.e. 100k) is API calls batching a valid solution to reduce the `registered` calls?


Forum|alt.badge.img

Hi,

 

is there a way to see the number of API requests already made during the month on a per user basis in the Box portal?

 

Thanks


Forum|alt.badge.img

you can add a request interceptor.

It executes before API call is sent. There you can implement the logic.

Here is a very basic example:

 

api.setRequestInterceptor(new RequestInterceptor {
private static AtomicInteger requestsCounter = new AtomicInteger(0);
@Override
public BoxAPIResponse onRequest(BoxAPIRequest request) {
System.out.println("Box api ["+request.getUrl()+"] calls count=" + requestsCounter.incrementAndGet());
return null;
}
}
);