Rate limits
Requests per minute by IP, per-endpoint REST limits, WebSocket limits per connection and command, and open orders per market for Spot Trading API.
Spot Trading API limits requests per IP address and per user account, WebSocket messages per connection and per command, and orders per market.
REST rate limits
Every REST call counts against a limit of requests per minute per IP address, set by your tier:
| Tier | Max. requests per minute |
|---|---|
| Starter | 600 |
| Medium | 800 |
| Pro | 1000 |
Exceeding it returns 429. Repeated violations get you banned with 418. To request a new tier, contact support.
Some endpoints also have their own limit per user account:
| Endpoint | Description | Max. requests per second |
|---|---|---|
POST /v1/trading/order | Create one order | 15 |
DELETE /v1/trading/order/{id} | Cancel one order | 15 |
DELETE /v1/trading/order | Cancel many orders | 1 |
GET /v1/trading/order | Get orders | 5 |
GET /v1/trading/order/{id} | Get one order | 5 |
GET /v1/trading/trade | Get trades | 5 |
GET /v1/trading/order/{id}/trades | Get the trades of one order | 5 |
GET /v1/trading/wallet/balance | Get balance | 5 |
POST /v1/trading/wallet/deposit | Move funds from Wallet to Pro | 1 |
POST /v1/trading/wallet/withdraw | Move funds from Pro to Wallet | 1 |
And per IP address:
| Endpoint | Description | Max. requests per second |
|---|---|---|
GET /v1/trading/candle | OHLCV (open, high, low, close, volume) | 5 |
WebSocket rate limits
Connections to wss://ws.bit2me.com/v1/trading are limited per IP and per connection:
| Condition | Result |
|---|---|
| More than 50 concurrent connections from one IP | Handshake 429 |
| More than 50 messages per second on one connection | Close 4001 |
Each command also has its own limit per connection. The connection is aborted when a limit is reached.
| Command | Max. messages per second |
|---|---|
authenticate | 1 |
subscribe | 50 |
unsubscribe | 50 |
add-order | 10 |
add-orders (batch) | 1 |
cancel-order | 10 |
cancel-orders (batch) | 1 |
cancel-all-orders | 1 |
auto-cancel-orders-on-disconnection | 5 |
Open and cancelled orders per market
These limits apply to REST and WebSocket orders alike. Limits per symbol, by user tier:
| Tier | Purpose | Max. open orders per symbol | Max. orders created or cancelled per symbol in the last hour |
|---|---|---|---|
| Standard | General purpose | 20 | 1000 |
| Advanced | Market makers, high-frequency trading | 100 | Up to 10000 |
Reaching them returns MAX_OPEN_ORDERS_REACHED or MAX_CREATED_ORDERS_REACHED. To go beyond these limits, contact support.
Order types and expiry are on Order rules, and the full list of error codes on Errors.