{"uid":"cap_aAbtpo7omZJk2VV0ZwFSg","slug":"coingecko-historical-crypto-price-snapshot-8c712c2d","name":"CoinGecko Historical Crypto Price Snapshot","description":"Historical crypto price on a specific date — price, market cap and 24h volume snapshot for any coin by CoinGecko id, in USD or more.","url":"https://coingecko.use.x402atlas.com/history","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["id","date"],"properties":{"id":{"type":"string","description":"CoinGecko coin id slug"},"date":{"type":"string","pattern":"^[0-9]{2}-[0-9]{2}-[0-9]{4}$","description":"Snapshot date in DD-MM-YYYY format (day-first, not ISO). Only the trailing ~365 days are available; older dates are rejected"},"vs_currency":{"type":"string","default":"usd","description":"Target currency code (default: usd)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["queried_at","id","date","vs_currency"],"properties":{"id":{"type":"string","description":"CoinGecko coin id slug"},"date":{"type":"string","description":"Snapshot date, echoed in DD-MM-YYYY format"},"price":{"type":"number","description":"Price on the snapshot date"},"market_cap":{"type":"number","description":"Market cap on the snapshot date"},"queried_at":{"type":"string","format":"date-time","description":"UTC timestamp the upstream was queried"},"vs_currency":{"type":"string","description":"Currency the figures are quoted in"},"total_volume":{"type":"number","description":"24h trading volume on the snapshot date"}}}}}}},"responseSchema":{"type":"json","example":{"id":"bitcoin","date":"30-12-2020","price":28966,"market_cap":538856000000,"queried_at":"2026-06-08T12:00:00Z","vs_currency":"usd","total_volume":26649000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oFgCdK0vzuHKB-5FsQPnW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns price, market cap, and 24h volume snapshot for any cryptocurrency on a specific historical date, via CoinGecko.","exampleAgentPrompt":"What was Bitcoin's price, market cap, and 24h volume on 14-03-2021 in USD? Use the CoinGecko coin id 'bitcoin'.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the historical price, market capitalization, and 24-hour trading volume for the specified coin on the given date, denominated in the requested currency (default USD).","failureModes":["Invalid or unknown CoinGecko coin id returns an error or empty result","Date formatted incorrectly (not DD-MM-YYYY) causes a bad request error","Date too far in the past or future may return no data","Unsupported currency code returns an error","Payment not processed results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a point-in-time historical price, market cap, or volume snapshot for a specific cryptocurrency on a specific date. Prefer this over real-time price endpoints when the user asks about past prices, historical performance, or wants to know what a coin was worth on a particular day.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:36:44.885Z","isFirstParty":false}