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. Subscribe to the latest liquidation-size impact curve for one market. The network endpoint sends the cached curve immediately when available, followed by executor-published updates.
  • timestamp is Unix time in nanoseconds.
  • full contains adjusted total-impact curves; book contains raw order-book sweep-cost curves. buy consumes asks and sell consumes bids.
  • A side can be null when a curve cannot be formed from the available depth. Treat it as unavailable, not zero impact.
  • Each non-null curve contains logMin, logRange, and bps. The example abbreviates the arrays; use n = bps.length. Knot i represents quantity exp(logMin + i / (n - 1) * logRange). The smallest quantity is exp(logMin).
  • No initial event is sent before the executor publishes the first curve for that symbol.
The same cached value is available through GET /impact.

Connection and Limits

See connection management for reconnect behavior and public rate limits for connection budgets.
Impact curves subscribe
type:object

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

Impact curves impact
type:object

Network-published impact

Impact curves subscribed
type:object
Impact curves unsubscribed
type:object