OHLC candlestick data for crypto
coingecko.use.x402atlas.com/ohlc
OHLC candlestick data for crypto — daily open/high/low/close candles over 1-365 days for any coin by CoinGecko id, chart-ready.
GET
https://coingecko.use.x402atlas.com/ohlcUptime100% of 3 checks 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://coingecko.use.x402atlas.com/ohlc?days=30&id=bitcoin&vs_currency=usd");
console.log(await res.json());Example input
{
"days": 30,
"id": "bitcoin",
"vs_currency": "usd"
}More from CoinGecko Crypto Price & DataProvider status
- coingecko.use.x402atlas.com/coinCrypto coin metadata and market data by CoinGecko id — name, symbol, market-cap rank, price, homepage and categories for any token.0.005
- coingecko.use.x402atlas.com/historyHistorical crypto price on a specific date — price, market cap and 24h volume snapshot for any coin by CoinGecko id, in USD or more.0.005
- coingecko.use.x402atlas.com/marketsTop crypto coins ranked by market cap — paginated market data (price, market-cap rank, symbol) in any currency, CoinGecko-sourced.0.005
- coingecko.use.x402atlas.com/priceCrypto token price in USD, EUR and more — real-time spot prices for one or many coins by CoinGecko id (bitcoin, ethereum, solana).0.005
- coingecko.use.x402atlas.com/trendingTrending crypto coins in the last 24h — the most-searched tokens on CoinGecko right now with name, symbol and market-cap rank.0.005
