Rate limits
Connections
| Limit | Value | When you go over it |
|---|---|---|
| Connections per IP address | 10 | HTTP 429 Too many connections from this IP |
| Connections per account | Keep to 25, across all of the account's API keys | Opening more can close your oldest connection, with close code 1008 |
| Failed connection attempts per IP address | 5 | One attempt allowed every 30 seconds; the others get HTTP 429 with a Retry-After header |
- The IP address is your public address, so systems that share one outbound address share the 10 connections.
- Failed attempts are missing or invalid credentials, a disallowed origin, and a bad handshake. Server-side errors and the per-IP connection limit do not count. The lockout applies to every connection from that address, valid keys included, so one client with a bad key can lock out others sharing the address.
Messages and subscriptions
| Limit | Value |
|---|---|
| Messages you send per minute, per connection | 100, in bursts of up to 10 |
| Channel subscriptions per connection | 50 |
The 100 messages per minute limit is refilled steadily: after a burst of 10, one more is allowed about every 0.6 seconds. It covers everything you send other than valid order commands (subscribe, unsubscribe, auth, ping). Over it, the reply is RATE_LIMITED.
Valid order commands do not count toward it. place_order has the order limits below, and cancels have the cancel limit. Order commands that can never become an order do count: malformed ones, ones without a usable id, any sent on a connection that cannot trade, and any frame over 4KB. Once that budget is spent they are answered RATE_LIMITED; valid commands are unaffected.
Orders
These are the REST API's limits, and the counts are shared with REST. Details are on Placing and cancelling orders.
| Limit | Counted | Refused with |
|---|---|---|
| Orders per minute | Per account and trading pair, unless your account has an account-wide limit, which then covers all pairs together. Shared with REST. | ORDER_RATE_LIMIT_EXCEEDED |
| Max open orders | Per account and order type; orders acked but not yet live count too | ORDER_LIMIT_EXCEEDED |
| Cancels per second | Per API key, shared with REST; cancel_order and cancel_all_orders each on their own counter | RATE_LIMITED |
| Refused orders per second | Per API key, across your connections; as many as the key's requests per second | RATE_LIMITED |
| Commands in progress | 16 running and 256 queued per connection; must start within 5 seconds of arriving | BUSY |
A requests-per-second limit of 0 means the credential is switched off: every order command is answered RATE_LIMITED.
Checking your limits and usage
GET /api/trading/rate-limits on the REST API returns your current limits and how much of each you have used, including cancels sent over the WebSocket. For each trading pair, orders_per_minute[] shows:
| Field | Description |
|---|---|
limit | Orders per minute; 0 means no limit |
scope | user_symbol: this pair has its own count. user: one count shared by all pairs (an account-wide limit). |
source | Where the limit is set: user_symbol (your account, this pair), user (your account, all pairs), pair (this pair's default), global (the exchange default) or none |
used, remaining, resets_in_ms | Usage in the current minute |
Updated 3 days ago

