Skip to content
Fourohtwo

Token OHLC Candles

x402.freeq.one/tools/token_ohlcv

Token OHLC Candles: OHLC candles for one ERC-20 token by contract address and chain, derived from Alchemy price history: 5m, 1h or 1d candles over 1-90 days with first/last/high/low and change. Price points only — no volume, no pool snapshot, no liquidity or market cap. Pay per call in USDC on Base via x402 — POST https://x402.freeq.one/tools/token_ohlcv.

BaseAnswering
POSThttps://x402.freeq.one/tools/token_ohlcv

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.freeq.one/tools/token_ohlcv", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"days":7,"chain":"eth","address":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","interval":"1h"}),
});
console.log(await res.json());

Example input

{
  "days": 7,
  "chain": "eth",
  "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "interval": "1h"
}

More from x402-gatewayProvider status