the402 endpoint detail

← All endpoints

agent402.tools api coin-ohlc

https://agent402.tools/api/coin-ohlc

answers 402

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.

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.008
Network
base
Pay to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
109 ms
Payment options
13 usable of 13
Last checked
2026-09-06T01:16:44.628Z (2h ago)
Category
mcp-server

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fcoin-ohlc"