Messages
{
"req": "sub",
"chs": [
"book::1"
]
}{
"req": "unsub",
"chs": [
"book::1"
]
}{
"data": []
}{
"data": []
}{
"ch": "book::1",
"ts": 1767225600000,
"sq": 1234567890,
"data": {
"b": [
[
"100.00",
"10.00"
]
],
"a": [
[
"100.00",
"10.00"
]
]
}
}Perps WebSocket order book updates.
WSS
/
v1
/
ws
Messages
{
"req": "sub",
"chs": [
"book::1"
]
}{
"req": "unsub",
"chs": [
"book::1"
]
}{
"data": []
}{
"data": []
}{
"ch": "book::1",
"ts": 1767225600000,
"sq": 1234567890,
"data": {
"b": [
[
"100.00",
"10.00"
]
],
"a": [
[
"100.00",
"10.00"
]
]
}
}Subscribe
type:object
Subscribe to order book updates for an instrument
Unsubscribe
type:object
Unsubscribe from order book updates
Subscribe Response
type:object
Response to book subscribe request
Unsubscribe Response
type:object
Response to book unsubscribe request
Update
type:object
Real-time order book updates for subscribed instruments
Was this page helpful?
⌘I