cryptofeed402 OHLCV candles
OHLCV candles for any Hyperliquid perp (main dex + HIP-3 like xyz:TSLA) or, with venue=okx, any OKX USDT spot pair. Intervals 1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M (OKX: 6h instead of 3d/8h); limit 1-500 (OKX 300), end= for older Hyperliquid candles. Open/high/low/close, volume, trade count, closed flag. Bad params 400, unknown symbol 404, no charge. Free sample at /samples/can
- Price per call
- $0.003
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://cryptofeed402.site/candles/:symbol", { method: "GET" });
console.log(await res.json());https://cryptofeed402.site/candles/:symbol