hl_get_orderbook
Retrieve the L2 orderbook (bids and asks) for any asset on Hyperliquid. Specify the asset symbol and optional depth to control the number of price levels returned.
Instructions
Get L2 orderbook (bids/asks) for a specific asset.
Args: coin: Asset symbol e.g. BTC, ETH, SOL depth: Number of price levels to return (default 10)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |