Get price bars
get_barsOHLCV price bars for an instrument over a time range. Instrument ids are bare Hyperliquid symbols (BTC, HYPE) or dex-prefixed HIP-3 symbols (xyz:TSLA) — exactly the symbol values scan_markets returns. Intervals are 1m/5m/15m/1h/1d; start/end default to the last 24h. Returns [timestamp, {o,h,l,c,v}] series with a meta envelope (caps applied server-side). (Requires api:read.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | RFC 3339 end, e.g. 2026-07-02T00:00:00Z (default: start+24h, or now) | |
| start | No | RFC 3339 start, e.g. 2026-07-01T00:00:00Z (default: end-24h, or now-24h) | |
| interval | Yes | ||
| max_points | No | ||
| instrument_id | Yes |