Hyperliquid Candles
hyperliquid_candlesOHLCV candles for one Hyperliquid perp or spot symbol, from Hyperliquid's public info API ({"type":"candleSnapshot"}). Each candle: open/high/low/close/volume (base units), trade count, and the interval's start/end timestamps. Pass lookback_hours for a window ending now (default 24h), or an explicit start_time/end_time (ISO date/datetime or unix seconds/milliseconds) for a specific historical window — Hyperliquid retains candle history well beyond 24h. interval accepts Hyperliquid's own granularities: 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"coin": "BTC",
"interval": "1h",
"lookback_hours": 6
},
"name": "hyperliquid_candles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Perp symbol (e.g. "BTC") or spot pair id/name (e.g. "@0" or "PURR/USDC"). | |
| end_time | No | Window END — same formats as start_time. Defaults to now. | |
| interval | No | 1m | 3m | 5m | 15m | 30m | 1h | 2h | 4h | 8h | 12h | 1d | 3d | 1w | 1M (default "1h") | |
| start_time | No | Window START — ISO date/datetime or unix seconds/milliseconds. Use with end_time for a window that does not end now. | |
| lookback_hours | No | Window length ending now, in hours (default 24). Ignored when start_time is given. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | No | ||
| count | No | ||
| found | No | ||
| source | No | ||
| candles | No | ||
| end_time | No | ||
| interval | No | ||
| start_time | No |