{"uid":"cap_7m1VApbK89soYs1fxCu4E","slug":"coingecko-coin-history-via-locus-x402-86395e3d","name":"CoinGecko Coin History via Locus x402","description":"Cryptocurrency market data — prices, charts, market cap, exchanges, trending coins, global stats, NFTs, derivatives, and on-chain data.","url":"https://coingecko.x402.paywithlocus.com/coingecko/coin-history","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":"string"},"localization":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{},"payment":{"scheme":"exact","settledUsdc":"0.001000","authorizedMaxUsdc":"0.001000"},"request":{"id":"00000000-0000-4000-8000-000000000000","statusUrl":"/requests/00000000-0000-4000-8000-000000000000"},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","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.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_kr0SYJxboNC8sfFWANSfv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical market data (price, market cap, volume) for a specific cryptocurrency on a given date","exampleAgentPrompt":"What was Bitcoin's price, market cap, and trading volume on July 4th, 2021? Pull the historical data from CoinGecko for that specific date.","exampleUseCases":[{"title":"Historical crypto price lookup","prompt":"What was Ethereum's price and market cap on November 10th, 2021 — the day it hit its all-time high? Pull the CoinGecko historical data for that date."},{"title":"Portfolio cost basis research","prompt":"I bought Solana on March 15th, 2022 — can you look up what the price was on that exact date so I can calculate my cost basis?"},{"title":"Crypto anniversary performance check","prompt":"It's been exactly one year since I bought Dogecoin. Can you pull the CoinGecko historical data for dogecoin on May 8th, 2023 so I can compare it to today's price?"}],"resultDescription":"A JSON object containing the coin's historical market data for the specified date, including price in multiple currencies, market capitalization, total trading volume, and potentially localized metadata. Also includes payment settlement details and a request ID for tracking.","failureModes":["Invalid coin ID returns an error or empty data object","Date formatted incorrectly (not DD-MM-YYYY) causes a bad request","Dates in the future or before coin listing return no data","Payment failure or insufficient USDC balance blocks the request","Rate limiting or upstream CoinGecko unavailability causes timeout"],"whenToPreferThis":"Use this endpoint when you need historical cryptocurrency market data for a specific past date — not current prices. It is ideal for calculating cost basis, backtesting, auditing portfolio performance on a specific day, or researching market conditions at a point in time. Prefer this over real-time price endpoints when the date is explicitly historical. The x402 micropayment model means no API key setup is required, just USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:37:02.929Z","isFirstParty":false}