Messages
{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"op": "<string>",
"server_ts": 123
}{
"message": "<string>",
"op": "<string>"
}{
"op": "<string>",
"server_ts_ms": 123
}Websockets
Public
Market data streams — order book, trades, tickers, klines.
Path: /ws/public
No authentication required.
WSS
/
ws
/
public
Messages
{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"args": {
"item": "<string>"
},
"op": "<string>"
}{
"op": "<string>",
"server_ts": 123
}{
"message": "<string>",
"op": "<string>"
}{
"op": "<string>",
"server_ts_ms": 123
}Subscribe
type:object
Subscribe to one or more topics.
{"op":"subscribe","args":["ticker.BTC-USDCx"]}
Unsubscribe
type:object
Unsubscribe from topics. Mirrors subscribe args.
Ping
type:object
Keepalive probe. Server echoes ts in pong.
Subscribed
type:object
Subscription acknowledgement listing active topics.
Unsubscribed
type:object
Unsubscribe acknowledgement.
Pong
type:object
Ping response. Echoes client ts when provided.
Error
type:object
Error frame with human-readable message. May include req_id.
Event
type:object
Streaming payload for a subscribed topic.
Includes server_ts_ms, topic, and data.
⌘I