Hyperliquid OHLCV candles (perps and HIP-3 markets) with range, change and realized volatility
hl_candlesUse when an agent needs price history for a Hyperliquid perp or HIP-3 market (xyz:TSLA). Input: coin, interval (1m-1M, default 1h), limit (1-500, default 100), optional start/end (ISO date or unix). Output: JSON candles (time, open, high, low, close, volume, trades) plus summary: change %, high/low, volume, annualized realized volatility. Unknown coin: 400, not charged. Example: ?coin=ETH&interval=1h&limit=24 Price: $0.002 USDC (Base or Solana) via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coin": "<coin>"
},
"name": "hl_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End time: ISO date/time or unix seconds/ms (default now) | |
| coin | Yes | Hyperliquid perp symbol (BTC, ETH, kPEPE) or HIP-3 dex:COIN (xyz:TSLA). Not listed or delisted: 400 before payment (not charged) | |
| limit | No | Number of candles, newest last (1-500, default 100) | |
| start | No | Start time: ISO date/time or unix seconds/ms (default end - limit x interval) | |
| interval | No | Candle interval (default 1h) |