Order Book Depth
GET
/gateway/v1/exchange/depthReturns order book bid/ask levels with computed stats.
Included fields: spread, spread percentage, mid-price, and total bid/ask depth.
Use `limit` to control the number of price levels (1–100, default 20). Set `type=swap` to query perpetual contract order books instead of spot.
Query Parameters
pairstringrequired
Trading pair (e.g. BTC/USDT)
Example:
BTC/USDTtypeenum<string>
Market type: spot for spot trading, swap/perpetual/perp for perpetual contracts
Available options:
spotswapperpetualperpExample:
spotlimitinteger
Number of price levels (1-100)
Example:
20exchangeenum<string>
Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid.
Available options:
binanceokxbybitbitgetcoinbasekrakengatemexcupbitbitstampderibitbitmexbithumbhyperliquidExample:
binanceOrder Book Depth
OK