Reference

Rate limits & idempotency

Rate limits

ScopeLimit
All endpoints, per API key300 requests per minute
Create order, per API key60 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 clientOrderId creates only one order; later requests return that order.
  • All API keys in an account share the same clientOrderId space.
  • Format: 1–64 characters, letters, digits and _ . : - only.
  • If two requests with the same clientOrderId arrive at the same moment, the later one returns 40000 (clientOrderId is being created, retry later); retry shortly to get the order.

Retry policy

SituationRetry?
Network error, timeoutYes. For orders, use the same clientOrderId
42900, 42010, 42020, 50000Yes, after backing off
40101Re-sign and retry for an expired timestamp or reused signature; otherwise fix your configuration
Other 4xxxxNo — fix the request first

Need help with your integration? Contact support: [email protected]