Crypto OHLCV candles: open, high, low, close and volume of Hyperliquid perps
Historical price candles (OHLCV) of a Hyperliquid perpetual such as BTC, ETH or SOL: open, high, low, close, volume in coins and trade count per bar, newest last. Intervals 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w and more; up to 500 bars (default 50). Read from Hyperliquid's public API. Use for charts, backtests, volatility and trend checks, or as context for a trading agent.
Inputs
| Name | Type | Description |
|---|---|---|
coin | string | Coin symbol such as BTC, ETH, SOL or HYPE (default BTC) |
interval | string | Bar length: 1m, 3m, 5m, 15m, 30m, 1h (default), 2h, 4h, 8h, 12h, 1d, 3d or 1w |
bars | integer | Number of bars, 1-500 (default 50) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/candles?coin=BTC"
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/hyperliquid/candles?coin=BTC&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"coin": "BTC",
"interval": "1h",
"count": 1,
"candles": [
{
"time": "2026-10-23T08:00:00.000Z",
"open": 81574,
"high": 81916,
"low": 81543,
"close": 81761,
"volume": 575.87267,
"trades": 9106
}
],
"source": "Hyperliquid public info API"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is hyperliquid_candles, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp