Skip to main content
WSS
Connect to wss://mainnet-ws1.bulk.trade, then send the subscription below. All channels share the same socket; the page name is not a separate endpoint path. The playground sends read-only subscription messages. Periodic full order book snapshots.
Parameters:
  • nlevels (optional): Number of price levels per side
  • aggregation (optional): Price bucket size in quote currency
Update Frequency: Periodic, according to the network endpoint’s book-snapshot publication cadence. Structure: levels[0] = bids (descending), levels[1] = asks (ascending) timestamp is Unix time in nanoseconds. Replace the local snapshot in full on each message. The topic includes nlevels and, when supplied alongside nlevels, aggregation; use the exact returned topic when unsubscribing. For example, nlevels: 20 produces l2snapshot.BTC-USD.20. Supply nlevels when using aggregation so each aggregation variant has a distinct topic.

Connection and Limits

See connection management for reconnect behavior and public rate limits for connection budgets.
L2 order book subscribe
type:object

Schema defaults on this request are playground example prefills, not omitted-field defaults accepted by the network endpoint.

L2 order book l2Snapshot
type:object

Network-published l2Snapshot

L2 order book subscribed
type:object
L2 order book unsubscribed
type:object