Reference
Rate limits & idempotency
Rate limits
| Scope | Limit |
|---|---|
| All endpoints, per API key | 300 requests per minute |
| Create order, per API key | 60 requests per minute |
Exceeding a limit returns HTTP 429 with code 42900. Wait and retry, ideally with exponential backoff (1 s, 2 s, 4 s, …).
Ways to reduce request volume:
- Cache Currencies and refresh every 5–10 minutes.
- Debounce quotes so you request after the user stops typing, not on every keystroke.
- Use status callbacks for order progress instead of frequent polling.
Idempotency
Pass clientOrderId when creating orders:
- Within one account, the same
clientOrderIdcreates only one order; later requests return that order. - All API keys in an account share the same
clientOrderIdspace. - Format: 1–64 characters, letters, digits and
_ . : -only. - If two requests with the same
clientOrderIdarrive at the same moment, the later one returns40000(clientOrderId is being created, retry later); retry shortly to get the order.
Retry policy
| Situation | Retry? |
|---|---|
| Network error, timeout | Yes. For orders, use the same clientOrderId |
42900, 42010, 42020, 50000 | Yes, after backing off |
40101 | Re-sign and retry for an expired timestamp or reused signature; otherwise fix your configuration |
Other 4xxxx | No — fix the request first |
Need help with your integration? Contact support: [email protected]