Messages
{
"id": 11,
"method": "depth_request",
"params": [
"ETH_BTC",
100,
"0"
]
}{
"id": 12,
"method": "depth_subscribe",
"params": [
"ETH_BTC",
100,
"0",
true
]
}No examples found{
"id": 11,
"result": {
"timestamp": 1689600180.516447,
"asks": [
[
"0.020846",
"29.369"
]
],
"bids": [
[
"0.02083",
"9.598"
]
]
},
"error": null
}{
"id": 123,
"result": {
"status": "<string>"
},
"error": null
}{
"id": null,
"method": "depth_update",
"params": [
true,
{
"timestamp": 1689600180.516447,
"asks": [
[
"0.020846",
"29.369"
]
],
"bids": [
[
"0.02083",
"9.598"
]
],
"update_id": 214403,
"event_time": 1749026542.817343
},
"ETH_BTC"
]
}WebSocket API
Order Book Depth
WSS
/
ws
Documentation Index
Fetch the complete documentation index at: https://whitebit-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Messages
{
"id": 11,
"method": "depth_request",
"params": [
"ETH_BTC",
100,
"0"
]
}{
"id": 12,
"method": "depth_subscribe",
"params": [
"ETH_BTC",
100,
"0",
true
]
}No examples found{
"id": 11,
"result": {
"timestamp": 1689600180.516447,
"asks": [
[
"0.020846",
"29.369"
]
],
"bids": [
[
"0.02083",
"9.598"
]
]
},
"error": null
}{
"id": 123,
"result": {
"status": "<string>"
},
"error": null
}{
"id": null,
"method": "depth_update",
"params": [
true,
{
"timestamp": 1689600180.516447,
"asks": [
[
"0.020846",
"29.369"
]
],
"bids": [
[
"0.02083",
"9.598"
]
],
"update_id": 214403,
"event_time": 1749026542.817343
},
"ETH_BTC"
]
}Order Book Depth Query
type:object
Get current market depth for a specific cryptocurrency pair
Subscribe to Order Book Depth
type:object
Subscribe to real-time order book depth updates
Unsubscribe from Depth
type:object
Stop receiving order book depth updates
Depth Response
type:object
Order book depth with bids and asks
Subscribe Response
type:object
Subscription confirmation
Depth Update
type:object
Real-time order book depth update (full reload or partial)
⌘I