Request limits are determined from cost associated with each API call. Clients have a pool of up to 500 that continually replenishes at a rate of 500 every 10 seconds.
The below table displays the cost associated with each API call:
| Endpoint | Cost |
| sendorder | 10 |
| editorder | 10 |
| cancelorder | 10 |
| batchorder | 9 + size of batch |
| accounts | 2 |
| openpositions | 2 |
| fills (without lastFillTime specified) | 2 |
| fills (with lastFillTime specified) | 25 |
| cancelallorders | 25 |
| cancelallordersafter | 25 |
| withdrawaltospotwallet | 100 |
| recentorders | 10 |
| openorders | 2 |
If the API limit is exceeded, the API will return error equal to apiLimitExeeded.
| Example | |
|
The following shows the return of call of the sendorder endpoint where the API limit has been exceeded.
{
"result":"error", "serverTime":"2016-02-25T09:45:53.818Z", "error":"apiLimitExceeded" } |