Get prices
get_pricesCurrent mid prices for Hyperliquid native perps, spot assets and HIP-3 builder-DEX perps. Spot pairs are resolved to BASE/QUOTE display names (e.g. HYPE/USDC), with data.spot_pairs mapping each back to its native HL pair id (e.g. @107 — needed for raw HL interactions like spot order asset indices). HIP-3 perps are keyed by their dex-prefixed symbol (e.g. xyz:TSLA); data.hip3.failed_dexes lists any DEX whose prices could not be read, and a requested symbol on such a DEX is listed in unavailable_symbols (price unknown right now), not missing_symbols (no such symbol). WITHOUT symbols this returns ~850 entries — prefer scan_markets for discovery and pass symbols here for targeted lookups (perp symbols like BTC, spot pairs like HYPE/USDC, or HIP-3 symbols like xyz:TSLA). (Requires api:read.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbols | No | symbols to return, as an array (['BTC','HYPE']) or a comma-separated string ('BTC,ETH,HYPE'); omit for all |