{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"subscription": "0x1a2b3c4d5e6f...",
"channel": "order_book",
"filters": {
"symbols": [
"BTC"
]
},
"result": {
"symbol": "BTC",
"isSnapshot": false,
"bids": [
[
"65000.5",
"0.0"
],
[
"65001.0",
"2.0"
]
],
"asks": [
[
"65002.0",
"0.0"
],
[
"65003.0",
"1.5"
]
],
"timestamp": 1710000001000,
"dexProcessedTimestamp": 1710000001000,
"dexReceivedTimestamp": 1710000001050,
"hyperethTimestamp": 1710000001100
}
}
}Order book updates with snapshots and incremental changes (available on hyperliquid, aster, lighter, and kuru servers)
{
"jsonrpc": "2.0",
"method": "subscription",
"params": {
"subscription": "0x1a2b3c4d5e6f...",
"channel": "order_book",
"filters": {
"symbols": [
"BTC"
]
},
"result": {
"symbol": "BTC",
"isSnapshot": false,
"bids": [
[
"65000.5",
"0.0"
],
[
"65001.0",
"2.0"
]
],
"asks": [
[
"65002.0",
"0.0"
],
[
"65003.0",
"1.5"
]
],
"timestamp": 1710000001000,
"dexProcessedTimestamp": 1710000001000,
"dexReceivedTimestamp": 1710000001050,
"hyperethTimestamp": 1710000001100
}
}
}API key for authentication (required for private channels)
Incremental order book updates