Coin OHLC candles
GET https://agent402.tools/api/coin-ohlc
OHLC candles for a coin: days 1 (30-min candles), 7 or 14 (4-hour), 30 / 90 / 180 / 365 (daily), in any vs currency. Returns aligned {time, open, high, low, close} bars plus the window's high/low/first/last and % change. The candle sibling of crypto-history, which returns close-only points: use OHLC for technical indicators, range/volatility work and charting. Cached in-process for 60 seconds.
Warnings
Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET "https://agent402.tools/api/coin-ohlc"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseRecent checks
| Checked (UTC) | Result | Status | Time | Live price |
|---|---|---|---|---|
| 2026-10-11 10:16 | Valid 402 | 402 | 844 ms | $0.008 |
| 2026-10-11 05:46 | Valid 402 | 402 | 456 ms | $0.008 |
| 2026-10-11 01:15 | Valid 402 | 402 | 519 ms | $0.008 |
| 2026-10-10 20:45 | Valid 402 | 402 | 143 ms | $0.008 |
Receipts
No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.
What a check proves