{"uid":"cap_0J-yxbzePtm1iGp-2vMdT","slug":"crypto-price-history-556b9e27","name":"Crypto Price History","description":"Daily price/market-cap/volume history for one coin -- the crypto analogue of /history, for BTC, ETH, SOL, and 17+ other major coins by ticker. Optional 'days' controls the lookback window (default 30, max 365); CoinGecko auto-picks point granularity from 'days' (roughly hourly under 90 days, daily above). From CoinGecko. $0.01/call.","url":"https://www.x402financialdata.com/crypto-history/:symbol","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","HEAD","DELETE"],"type":"string"},"pathParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Coin ticker, e.g. BTC, ETH, SOL"}}},"queryParams":{"type":"object","required":[],"properties":{"days":{"type":"integer","description":"Lookback window in days, default 30, max 365."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UZV05COBUaKumy2MD_NEj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns daily price, market-cap, and volume history for major cryptocurrencies over a configurable lookback window via CoinGecko.","exampleAgentPrompt":"Pull the last 90 days of price, market cap, and volume history for ETH from CoinGecko so I can analyze its trend.","exampleUseCases":[{"title":"Backtesting a crypto trading strategy","prompt":"Get me 365 days of daily price and volume history for BTC so I can backtest my moving average strategy."},{"title":"Portfolio performance review","prompt":"Pull the last 60 days of ETH price and market cap data — I want to see how my portfolio has performed since I bought in."},{"title":"Crypto market trend report","prompt":"Fetch 90 days of price history for SOL so I can put together a trend chart for my weekly crypto newsletter."}],"resultDescription":"A time series dataset containing daily (or hourly for windows under 90 days) price, market capitalization, and trading volume data for the requested cryptocurrency, sourced from CoinGecko. Granularity is automatically selected based on the requested lookback window.","failureModes":["Unsupported ticker symbol returns an error or empty result","Requested 'days' value exceeds 365 maximum","Missing required 'symbol' path parameter causes a 400 error","CoinGecko upstream outage causes service unavailability","Payment failure (x402) blocks the request"],"whenToPreferThis":"Use this endpoint when you need structured historical price, market cap, and volume time series for a specific major cryptocurrency (BTC, ETH, SOL, or 17+ others) with configurable lookback windows up to 365 days. Prefer this over general market overview endpoints when you need per-coin historical data rather than a snapshot, and over equity /history endpoints when your subject is a crypto asset rather than a stock.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:53:09.887Z","isFirstParty":false}