Request limits are determined from cost associated with each API call. Clients can spend up to 500 every 10 seconds.
The below table displays the cost associated with each API call:
|batchorder||9 + size of batch|
|fills (without lastFillTime specified)||2|
|fills (with lastFillTime specified)||25|
|recentorders (scheduled to be deprecated 31-Mar-2021)||10|
On the Batch Order endpoint, the cost is 9 + size of the batch of the requests. For example, a batch of 10 order requests, (send, edit, and or cancel) sent through the Batch Order endpoint would cost 19.
If the API limit is exceeded, the API will return error equal to apiLimitExceeded.
The following shows the return of call of the sendorder endpoint where the API limit has been exceeded.