GET /orderBook/L2
Summary: Get order book
Operation ID: getOrderBookL2
Auth: none
Operation ID: getOrderBookL2
Auth: none
Description
Get the current order book (Level 2) for a symbol.
Parameters (2)
depth
(integer, query, optional, default: 25)
Order book depth (25 or 100)
Constraints: {'enum': [25, 100]}
symbol
(string, query, required)
Instrument symbol (e.g., XBTUSD)
Examples (2)
| Title | Type | URL | Action |
|---|---|---|---|
| Get order book for XBTUSD (Bitcoin) | probe-gate |
https://www.bitmex.com/api/v1/orderBook/L2?symbol=XBTUSD&depth=5 |
|
| Get order book for ETHUSD (Ethereum) | probe-gate |
https://www.bitmex.com/api/v1/orderBook/L2?symbol=ETHUSD&depth=3 |
No probe data for this endpoint yet.