X1 token OHLC candles
OHLC candles for a token, built from indexed trades. Pass ?tf=1m, 5m, 15m, 1h, 4h or 1d (default 5m) and ?limit=N up to 1000 (default 200); ?before=<unix seconds> pages backwards. Timestamps are unix seconds. The description used to name the timeframes without naming the PARAMETER, so a paying agent had no way to ask for one and silently got 5m whatever it sent (found 2026-09-17).
- Price per call
- $0.004
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 0
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://apexfaucet.xyz/api/x402/candles/:mint", { method: "GET" });
console.log(await res.json());https://apexfaucet.xyz/api/x402/candles/:mint