OHLCV candles (paid, x402) — $0.003
get_candlesPaid endpoint ($0.003): OHLCV candles for any Hyperliquid perp (venue=hyperliquid, default; main dex + HIP-3; intervals 1m,3m,5m,15m,30m,1h,2h,4h,8h,12h,1d,3d,1w,1M; limit 1-500, default 100; optional end= epoch ms or ISO for older candles, Hyperliquid keeps the most recent 5000 per interval) or any OKX USDT spot pair (venue=okx; intervals 1m-12h,1d,1w,1M; limit 1-300; most recent only). Bad params or unknown symbol return an error and no charge. Returns the x402 payment requirements and URL. Free sample response: https://cryptofeed402.site/samples/candles
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | Hyperliquid only: end time, epoch ms or YYYY-MM-DD / ISO 8601 UTC | |
| limit | No | Default 100; max 300 for okx | |
| venue | No | ||
| symbol | Yes | Hyperliquid perp ticker, e.g. BTC, ETH, kPEPE; HIP-3 builder-dex perps as dex:TICKER, e.g. xyz:TSLA; for venue=okx a spot base ticker, e.g. PEPE | |
| interval | No | Default 1h. 3d/8h are Hyperliquid only, 6h is OKX only |