Messages
{
"id": 5,
"method": "market_request",
"params": [
"ETH_BTC",
86400
]
}{
"id": 6,
"method": "market_subscribe",
"params": [
"ETH_BTC",
"BTC_USDT"
]
}No examples found{
"id": 5,
"result": {
"period": 86400,
"last": "0.020981",
"open": "0.02035",
"close": "0.020981",
"high": "0.020988",
"low": "0.020281",
"volume": "135220.218",
"deal": "2776.587022649"
},
"error": null
}{
"id": 123,
"result": {
"status": "<string>"
},
"error": null
}{
"id": null,
"method": "market_update",
"params": [
"ETH_BTC",
{
"period": 86400,
"last": "0.020964",
"open": "0.020349",
"close": "0.020964",
"high": "0.020997",
"low": "0.020281",
"volume": "135574.476",
"deal": "2784.413999488"
}
]
}WebSocket API
Market Statistics
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": 5,
"method": "market_request",
"params": [
"ETH_BTC",
86400
]
}{
"id": 6,
"method": "market_subscribe",
"params": [
"ETH_BTC",
"BTC_USDT"
]
}No examples found{
"id": 5,
"result": {
"period": 86400,
"last": "0.020981",
"open": "0.02035",
"close": "0.020981",
"high": "0.020988",
"low": "0.020281",
"volume": "135220.218",
"deal": "2776.587022649"
},
"error": null
}{
"id": 123,
"result": {
"status": "<string>"
},
"error": null
}{
"id": null,
"method": "market_update",
"params": [
"ETH_BTC",
{
"period": 86400,
"last": "0.020964",
"open": "0.020349",
"close": "0.020964",
"high": "0.020997",
"low": "0.020281",
"volume": "135574.476",
"deal": "2784.413999488"
}
]
}Market Statistics Query
type:object
Get market statistics for a specified period
Subscribe to Market Statistics
type:object
Subscribe to market statistics updates
Unsubscribe from Market Statistics
type:object
Stop receiving market statistics updates
Market Statistics Response
type:object
Market statistics including OHLCV data
Subscribe Response
type:object
Subscription confirmation
Market Statistics Update
type:object
Periodic market statistics update (every 1 second)
⌘I