Messages
{
"type": "arb_feed_batch",
"feed": "arb",
"entries": [],
"flushTs": 1710000000000,
"chunk": 1,
"chunkCount": 1
}{
"action": "subscribe",
"channel": "orderbook",
"outcomeIds": [
"clv2abc123def456",
"clv2xyz789ghi012"
]
}{
"action": "unsubscribe",
"channel": "orderbook",
"outcomeIds": [
"clv2abc123def456",
"clv2xyz789ghi012"
]
}Websockets
Arb-feed
Subscribe to the full arb-return broadcast feed. Send { action: "subscribe", channel: "arb-feed" } (no ids required). Receives batched arb_feed_batch messages for all markets whenever the engine publishes arb updates.
WSS
/
Messages
{
"type": "arb_feed_batch",
"feed": "arb",
"entries": [],
"flushTs": 1710000000000,
"chunk": 1,
"chunkCount": 1
}{
"action": "subscribe",
"channel": "orderbook",
"outcomeIds": [
"clv2abc123def456",
"clv2xyz789ghi012"
]
}{
"action": "unsubscribe",
"channel": "orderbook",
"outcomeIds": [
"clv2abc123def456",
"clv2xyz789ghi012"
]
}appId
type:userPassword
App-level auth: pass appId as a query parameter on connect. Required for all connections. The appId must belong to an active app with matching allowed origins.
jwt
type:http
User-level auth: pass JWT as token query param on connect, or send { action: 'authenticate', token } mid-session. Required for user-specific events (orders, balances). Same JWT as the REST API.
Batched arb-return feed update
type:object
Pushed to clients subscribed to { channel: "arb-feed" }. Contains arb updates for multiple markets in a single batch.
Subscribe to orderbook
type:object
Subscribe to aggregated orderbook updates for markets
Unsubscribe from orderbook
type:object
⌘I