Public API V4
Depth
The endpoint retrieves depth price levels within ±2% of the market last price. Use when lightweight order book data is needed for a narrow price band around the current market price. The ±2% constraint limits the response to price levels near the last traded price, reducing payload size compared to the full order book.
<Note> The API caches the response for 1 sec </Note> <Warning> Rate limit: 2000 requests/10 sec. See [Public API V4 overview](/public/http-v4/index) for rate limit details. </Warning>get/api/v4/public/orderbook/depth/{market}
Request
- Base URLhttps://whitebit.com
- AuthAPI key in header X-TXC-APIKEY and API key in header X-TXC-PAYLOAD and API key in header X-TXC-SIGNATURE
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
marketstring required
Example:BTC_USDT
Market pair name
Response
Successful response
Example response
{
"ticker_id": "BTC_PERP",
"timestamp": 1594391413,
"asks": [
[
"9184.41",
"0.773162"
]
],
"bids": [
[
"9181.19",
"0.010873"
]
]
}Changes
No recorded changes to this operation across all 1 revision of this API.