Skip to content

Rate limits

What is limited per account, wallet and IP, what each read costs, what a limited request answers, and how to back off.

On this page

Trading is limited per account: every key that signs for the account, the owner key and each bound instruction key, shares the same limits, so adding keys adds no capacity. Reads and WebSockets are limited per signed-in account, or per IP when you aren't signed in. A limited request gets HTTP 429 and tells you how long to wait.

The limits themselves can change. Don't hard-code them: pace on the headers and always honour retryAfterMs.

Trading

A signed action costs the same over POST /seq/tx and /seq/ws.

  • Signed actions share one rate per account.
  • Orders (place, replace, reduce-only) spend an order allowance. Cancels spend a separate, larger cancel allowance. Both refill over time and grow as the account trades, so an account that places many orders without filling them runs its order allowance down.
  • Margin moves and transfers between your own accounts spend the order allowance.
  • Account actions share a smaller budget per wallet: transfers out, withdrawals, binding a key, rotating the owner key, setting the self-trade prevention level and staking. A transfer out costs more than the others. Creating a sub-account and removing a key are not charged.

Reads

Reads have their own budget, separate from trading. Each request spends its weight:

WeightMethods
1atlas.getTicker, atlas.getBBO, atlas.getOrder, atlas.getOrderByClOrdId, atlas.getTime, atlas.getVersion, atlas.getTransactionReceipt, atlas.getTransactionByHash, atlas.getSignerPolicy, atlas.getOmsDelegateKey, atlas.unsubscribe
1atlas.sendRawTransaction, atlas.sendWalletReadyRequest, atlas.sendRawMessage (on top of the trading limits)
2auth.challenge, auth.logout
5auth.signIn, auth.login, auth.refresh, auth.createHandoff, auth.redeemHandoff
5atlas.getWithdrawal, atlas.getPositions, atlas.getAccounts, atlas.getKeys, atlas.getFeeTier, atlas.getStakingState, atlas.getAdvancedOrder
5atlas.getSymbols, atlas.getAssets, atlas.getTrades, atlas.getTickers, atlas.getTerms, atlas.getPlatformStats, atlas.getInterestRates, atlas.getBuilderTiers
5 with accountAddress · 40 withoutatlas.getBalances, atlas.getOpenOrders
20 with accountAddress · 40 withoutatlas.getFills
5 with depth · 20 full depthatlas.getOrderBook
10atlas.getAccountState
20atlas.getWithdrawals, atlas.getOrderHistory, atlas.getFundingHistory, atlas.getTransactions, atlas.getTransfers, atlas.getLedger, atlas.getPortfolioHistory
20atlas.getCandles, atlas.getFundingRateHistory, atlas.getMarkPriceHistory, atlas.getIndexPriceHistory, atlas.getInterestRateHistory
20atlas.getBuilder, atlas.getBuilderUsers, atlas.getBuilderPayouts, atlas.getAdvancedOrders
1GET /market/udf/config, GET /market/udf/time
5GET /market/udf/symbols, GET /market/udf/search
20GET /market/udf/history

A param counts as present only if it is in the request and not null. Sending "accountAddress": null costs the same as leaving it out.

Read responses carry no remaining-budget headers: pace reads on the weights above, and on a 429 wait retryAfterMs. Pass accountAddress on account reads and depth on atlas.getOrderBook: unscoped reads cost several times more. For anything you poll, use a stream instead.

WebSockets

Updates pushed to you are free. Opening a connection costs 10 from the read budget, atlas.subscribe 5 (10 for an account stream) and atlas.unsubscribe 1. Connections and subscriptions are capped per IP and per signed-in account:

  • A WebSocket upgrade over a limit is refused with HTTP 429.
  • A subscribe over the subscription cap is refused -20005.
  • If you read too slowly, subscriptions are closed (stream.closed with -20006), then the connection (-20007). Reconnect with jittered backoff.

When you are limited

CaseWhat you get
You hit a limit: account, wallet, IP, connection or subscriptionHTTP 429 with error -20001 (Rate limit exceeded: <limit>), and the wait in error.data.retryAfterMs, x-ratelimit-retry-after-ms and Retry-After. Over a WebSocket, an error with the same fields; the connection stays open. The limit's name, also in x-ratelimit-limit, is informational: don't branch on it
Too many open ordersHTTP 429 with protocol code 65 (Open order limit exceeded). Cancel resting orders before placing more
The venue is at capacityHTTP 503 with error -20015 (Venue busy). Retry with backoff. Cancels and reduce-only orders still go through

Wait at least the stated time before retrying. Under sustained pressure, add exponential backoff with jitter.

Pacing headers

Every reply to a signed action carries what the account has left, so a client can pace itself without an extra query:

HeaderWhat it counts
x-ratelimit-remaining-account-rateSigned actions left in the account's rate
x-ratelimit-remaining-ordersThe account's order allowance
x-ratelimit-remaining-cancelsThe account's cancel allowance
x-ratelimit-remaining-account-actionsThe wallet's account-action budget

Edge limit per IP

In front of everything, an edge also limits the requests each IP makes. Over it, every request from that IP is refused with HTTP 403 until its rate drops.

Limits that depend on your tier

Open orders are capped per market and per account, and sub-accounts per wallet. Higher trading volume or staking tiers raise these caps; read and trading limits don't change with tier. An order over the open-order cap is refused 65, and a sub-account over the cap 91.