Market Channel
Stream public order-book, price, and market lifecycle updates
Use the Market channel to keep one or more outcome-token books current without polling. The channel is public and does not require CLOB credentials.
Endpoint
wss://ws-subscriptions-clob.kuest.com/ws/market
Subscribe
| Field | Type | Description |
|---|---|---|
type | string | Must be market |
assets_ids | string[] | Outcome token IDs to stream |
custom_feature_enabled | boolean | Enables best_bid_ask and new_market events |
Use one connection for multiple token IDs when possible.
Message types
| Type | Meaning |
|---|---|
book | Full level-2 order-book snapshot |
price_change | Incremental change caused by an order placement or cancellation |
tick_size_change | Minimum price-increment update |
last_trade_price | Latest matched trade |
best_bid_ask | Top-of-book update; requires custom features |
new_market | Newly ingested market metadata; requires custom features |
Keep local state consistent
Numeric values are serialized as strings. Live messages include sequence, stream_id,
and server_ts_ms; book.hash summarizes a book payload.
- Build local state from a full
booksnapshot. - Apply incremental messages in sequence.
- On reconnect, stream change, or sequence gap, discard the local book and request a fresh snapshot.
Do not continue applying deltas after a missed sequence. A visually plausible but stale book can produce incorrect prices and unsafe orders.
Try it
WebSocket Playground
Browser sockets cannot set custom Authorization headers. This widget appends the token as a query param.
wss://ws-subscriptions-clob.kuest.com/ws/market
Connection Log
No events yet.