ZetariumZetariumDex

Rate Limits

Per-account and per-IP throttling, response headers, and 429 handling.

To ensure fair usage and protect the API, requests are subject to per-account (or per-IP for unauthenticated requests) rate limits.

Default limit

All authenticated endpoints share a default bucket:

ScopeLimit
Per account1000 req / minute
Per IP (unauth)1000 req / minute

Stricter per-endpoint limits

Sensitive or resource-intensive endpoints have additional, lower limits that run on top of the default bucket:

EndpointMethodLimitScope
/v2/auth/nonceGET20 / minper IP
/v2/auth/verifyPOST10 / minper IP
/v2/ordersPOST300 / minper account
/v2/orders/batchPOST100 / minper account
/v2/positions/closePOST300 / minper account
/v2/withdrawPOST5 / minper account
/v2/transfers/internalPOST10 / minper account
/v2/deposit/signaturePOST10 / minper account
/v2/referral/claimPOST5 / minper user

Response headers

Every response includes:

HeaderMeaning
x-ratelimit-limitMax requests in the current window
x-ratelimit-remainingRemaining requests in the current window
x-ratelimit-resetSeconds until the window resets
retry-after (on 429)Seconds to wait before retrying

When you hit a limit

The API returns HTTP 429 Too Many Requests with:

Headers:

retry-after: 60
x-ratelimit-limit: 5
x-ratelimit-remaining: 0
x-ratelimit-reset: 60

Body:

{
  "ok": false,
  "error": "Rate limit exceeded, retry in 1 minute",
  "errorId": "180f0dc0be29c0a8"
}

Use the retry-after header (seconds) to know when to retry. The errorId can be quoted in support requests.

Best practices

  • Read x-ratelimit-remaining and slow down before hitting 0
  • Back off using retry-after rather than retrying immediately
  • Batch order operations via /v2/orders/batch when placing many orders
  • Cache static reference data (markets, instruments) on your side

Cap your client-side rate to ~80% of the published limit. Bursts and clock skew between client and server make hard-pinning the limit unreliable.

High frequency

If your usage will sustainably exceed these limits, contact the operations team about the volume tier / market-maker programme. Higher limits are granted manually today.

On this page