getOrderbook
Retrieve orderbook depth for a trading pair. Inspect current bid/ask levels before placing orders, or get the best bid/ask price with limit=1.
Instructions
Retrieve orderbook depth data for a trading pair. Returns a snapshot of bids and asks across all supported product types.
Use this endpoint when you need to:
Inspect current bid/ask depth before placing an order
Retrieve the best bid/ask price and available size at each level
Correlate with the WebSocket orderbook stream using the
u(update ID) andseqfields
Supported Products: Spot, USDT contract, USDC contract, Inverse contract, Option
Returns up to 500 levels per side for derivatives (spot: up to 200; option: up to 25).
Use limit=1 for best bid/ask only.
Do not use this endpoint for RPI orders — use getRpiOrderbook instead.
Do not use this endpoint for 24h stats or last price — use getTickers instead.
Notes:
RPI orders are not included; use getRpiOrderbook for RPI-inclusive depth
Bids are sorted in descending order by price
Asks are sorted in ascending order by price
No authentication required
Agent hint: Use this endpoint to get current bid/ask depth for a trading pair. Use limit=1 (default for spot/option) for best bid/ask only; increase limit for deeper analysis. RPI orders are excluded — use getRpiOrderbook if RPI depth is needed. Do not use for 24h stats or last price — use getTickers for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| limit | No |