Historical crypto price on a specific date — price, market cap and 24h volume snapshot for
Historical crypto price on a specific date — price, market cap and 24h volume snapshot for any coin by CoinGecko id, in USD or more.
5000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-15
updated
Provider
coingecko.use.x402atlas.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:137",
"payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
"asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:42161",
"payTo": "0x32793F68dC2EA26BBC75eB900DA120069e8B6d02",
"asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"amount": "5000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "ASt6xvRyQ7ntERsmcYVMdLqZvz1GEN8Fzexzq62tXrNQ",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "5000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"category": "finance",
"info": {
"input": {
"method": "GET",
"queryParams": {
"date": "30-06-2026",
"id": "bitcoin",
"vs_currency": "usd"
},
"type": "http"
},
"output": {
"example": {
"date": "30-12-2020",
"id": "bitcoin",
"market_cap": 538856000000,
"price": 28966,
"queried_at": "2026-06-08T12:00:00Z",
"total_volume": 26649000000,
"vs_currency": "usd"
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"date": {
"description": "Snapshot date in DD-MM-YYYY format (day-first, not ISO). Only the trailing ~365 days are available; older dates are rejected",
"pattern": "^[0-9]{2}-[0-9]{2}-[0-9]{4}$",
"type": "string"
},
"id": {
"description": "CoinGecko coin id slug",
"type": "string"
},
"vs_currency": {
"default": "usd",
"description": "Target currency code (default: usd)",
"type": "string"
}
},
"required": [
"id",
"date"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"date": {
"description": "Snapshot date, echoed in DD-MM-YYYY format",
"type": "string"
},
"id": {
"description": "CoinGecko coin id slug",
"type": "string"
},
"market_cap": {
"description": "Market cap on the snapshot date",
"type": "number"
},
"price": {
"description": "Price on the snapshot date",
"type": "number"
},
"queried_at": {
"description": "UTC timestamp the upstream was queried",
"format": "date-time",
"type": "string"
},
"total_volume": {
"description": "24h trading volume on the snapshot date",
"type": "number"
},
"vs_currency": {
"description": "Currency the figures are quoted in",
"type": "string"
}
},
"required": [
"queried_at",
"id",
"date",
"vs_currency"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
},
"tags": [
"crypto",
"historical-price",
"price",
"market-cap",
"date",
"coingecko",
"market-data"
]
}
}Use it
curl
curl "https://coingecko.use.x402atlas.com/history" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://coingecko.use.x402atlas.com/history");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://coingecko.use.x402atlas.com/history")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/771.json, and this resource appears in /discovery/resources and /discovery/search.