Endpoints
- Production:
wss://ws-subscriptions-clob.kuest.com/ws/{market|user}
Channels
| Channel | Use case | Auth |
|---|---|---|
market | Public market data (order book, price changes, tick size, best bid/ask, last trade). | None |
user | Private order and trade updates scoped to your API key. | Required |
Subscribe
Send a subscription payload immediately after opening the socket.| Field | Type | Description |
|---|---|---|
type | string | market or user. |
assets_ids | string[] | Token IDs to receive market events for (market channel only). |
markets | string[] | Condition IDs to receive user events for (user channel only). |
auth | object | L2 API credentials for the user channel. |
custom_feature_enabled | boolean | Enable additional market data (best_bid_ask, new_market, planned market_resolved). |
Update subscriptions
To remove subscriptions, send an unsubscribe payload:Payload conventions
- All numeric values are strings (prices, sizes, timestamps).
owner,trade_owner, andorder_ownerare rewritten to the caller API key.book.hashusessha1(orderbook_summary_json)with the hash field zeroed.price_change.hashcurrently uses the internal order ULID.
Availability
- Available:
book,price_change,tick_size_change,last_trade_price,best_bid_ask(requirescustom_feature_enabled),new_market(requirescustom_feature_enabled),order,trade. - Planned:
market_resolved(requirescustom_feature_enabled), trade statusRETRYING(TBD).