OHLC candlestick data for crypto — daily open/high/low/close candles over 1-365
OHLC candlestick data for crypto — daily open/high/low/close candles over 1-365 days for any coin by CoinGecko id, chart-ready.
Answeringour last check, 2026-09-24
1 of 1checks answered this week
601 msmedian answer time
$0.005listed price per call
$0.005price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://coingecko.use.x402atlas.com/ohlc
| Category | Market data |
|---|---|
| Provider host | coingecko.use.x402atlas.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 6 from 5 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-09-24 | valid payment request | 402 | $0.005 | 601 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"days": 30,
"id": "bitcoin",
"vs_currency": "usd"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"days": {
"description": "Window size in days: one of 1, 7, 14, 30, 90, 180, 365",
"enum": [
1,
7,
14,
30,
90,
180,
365
],
"type": "integer"
},
"id": {
"description": "CoinGecko coin id slug",
"type": "string"
},
"vs_currency": {
"default": "usd",
"description": "Target currency code (default: usd)",
"type": "string"
}
},
"required": [
"id",
"days"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"candles": {
"description": "OHLC bars, oldest first",
"items": {
"properties": {
"close": {
"description": "Close price",
"type": "number"
},
"high": {
"description": "High price",
"type": "number"
},
"low": {
"description": "Low price",
"type": "number"
},
"open": {
"description": "Open price",
"type": "number"
},
"time": {
"description": "Candle timestamp (UTC)",
"format": "date-time",
"type": "string"
}
},
"required": [
"time",
"open",
"high",
"low",
"close"
],
"type": "object"
},
"type": "array"
},
"days": {
"description": "Requested window size in days",
"type": "integer"
},
"id": {
"description": "CoinGecko coin id slug",
"type": "string"
},
"queried_at": {
"description": "UTC timestamp the upstream was queried",
"format": "date-time",
"type": "string"
},
"vs_currency": {
"description": "Currency the candles are quoted in",
"type": "string"
}
},
"required": [
"queried_at",
"id",
"vs_currency",
"days",
"candles"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}