Exchange

Exchange Order Book Depth

Returns 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.

get/gateway/v1/exchange/depth

Query parameters

pairstring required

Trading pair (e.g. BTC/USDT)

Example:BTC/USDT

Trading pair (e.g. BTC/USDT)

type'spot' | 'swap' | 'perpetual' | 'perp'

Market type: spot for spot trading, swap/perpetual/perp for perpetual contracts

Example:spot

Market type: spot for spot trading, swap/perpetual/perp for perpetual contracts

limitinteger

Number of price levels (1-100)

Example:20

Number of price levels (1-100)

exchange'binance' | 'okx' | 'bybit' | 'bitget' | 'coinbase' | 'kraken' | 'gate' | 'mexc' | 'upbit' | 'bitstamp' | 'deribit' | 'bitmex' | 'bithumb' | 'hyperliquid'

Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid.

Example:binance

Exchange identifier. Note: hyperliquid uses USDC-settled perps (e.g. BTC/USDC:USDC); pass USDC-quoted pairs when querying hyperliquid.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

Example response

{
  "$schema": "https://example.com/schemas/SimpleListResponseExchangeDepthItem.json"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.