get_order_book
Retrieve the top 100 bid and ask prices for a trading pair, aggregated by price level. Use this order book data to assess liquidity and estimate slippage before placing an order.
Instructions
Return the top 100 bids and asks for a trading pair, aggregated by price level. Public endpoint, no auth required. Use this to assess available liquidity and likely slippage before sizing an order; use get_ticker for a simple price quote or list_trades for recent execution flow.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pair | Yes | Trading pair using Luno's symbol convention (e.g. XBTZAR for BTC/ZAR, ETHZAR, XBTEUR). BTC is automatically rewritten to XBT. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asks | Yes | ||
| bids | Yes | ||
| timestamp | Yes |