REST throughput
REST limits are enforced as both requests-per-second and requests-per-minute. The tighter of the two applies.
Limits are per API key, tracked with a sliding window. When you exceed a limit, the API returns
429 Too Many Requests with a Retry-After header (seconds) when applicable.
WebSocket connections
Each organisation has a cap on concurrent open websocket connections across rooms and alerts combined.
A single connection can subscribe to every room and every alert. You rarely need more than a handful of sockets in production: one per logged-in user for alerts, plus a small pool for background streams.
When you exceed the cap, new connections are rejected at handshake with close code
4002.
Webhook subscriptions
Filter limits
Every websocket room has a per-subscription filter cap. Across the rooms WebSocket, no single client can hold more than 500 total filter items at once (summed across all rooms on the same connection). If you need to track more than 500 entities, open additional connections (within your plan’s connection cap) or move to a subscription-free room and filter client-side for hot entities only.Pulse and Trending
Each Pulse or Trending HTTP request selects one list and page, with 1–100 results and a maximum page end of 1,000. Responses are limited to 4 MiB. Live subscriptions allow up to 16 names per connection per room, with the same page limits and a 4 MiB maximum frame. Useinterval_ms to select update spacing: 100, 500, 1,000, 2,500, 5,000, or 10,000 ms. The fastest requested interval controls the combined frame for the room. See snapshot limits.
What to do when limited
REST
- Respect
Retry-Afterwhen present. - Use exponential backoff with jitter for retries on
429,5xx, network errors, and timeouts. Cap the backoff at 30 seconds. - Cache aggressively. Markets, events, and trader profiles change slowly and are safe to keep in your own layer for minutes at a time.
- Prefer batch endpoints over fan-out (for example, the bulk wallet positions endpoint over N single-wallet calls).
- Move polling to websockets when you’re refreshing the same data repeatedly.
WebSocket
- Filter at subscribe time, not in your code. Server-side filtering is free; client-side filtering still bills you for the message.
- Pool subscriptions on a single connection. The 1-credit connection hold is per-connect, and the same socket can hold many rooms.
- Reconnect with backoff, not in a tight loop. Every connect re-incurs the 1-credit hold.
- Drop subscriptions you no longer need with
unsubscribe_allorleave_roomso you stop being billed for incoming messages.