cURL
curl --request GET \ --url https://whitebit.com/api/v2/public/depth/{market}
{ "success": true, "message": null, "result": { "lastUpdateTimestamp": "2020-07-09T14:49:12.000Z", "asks": [ [ "9431.9", "0.705088" ] ], "bids": [ [ "9427.65", "0.547909" ] ] } }
This endpoint retrieves the current order book as two arrays (bids / asks).
Response is cached for: 100 ms
Market pair name
"BTC_USDT"
Successful response
true
null
Show child attributes
Timestamp of last update
"2020-07-09T14:49:12.000Z"
Array of ask orders
[Price, Amount]
2
["9431.9", "0.705088"]
Array of bid orders
["9427.65", "0.547909"]