{"uid":"cap_bwmuWmTjAHFFzHnBp9Nsm","slug":"x402-token-price-history-b3bdbe26","name":"x402 Token Price History","description":"Token price history in USD by CoinGecko id or chain:address: a 1-365 day time series with change %, high and low, or the price at an exact past date Token price history in USD for any coin by CoinGecko id or by chain:address: a time series over 1 to 365 days with change %, high and low, or the price at an…","url":"https://api.x-402.online/v1/token/price-history?utm_source=zero.xyz","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","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_LW6I4VAIztttXamfI7qkj","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 a USD price time series (1–365 days) or exact past-date price for any token, identified by CoinGecko ID or chain:address, with change %, high, and low.","exampleAgentPrompt":"What was Ethereum's price history over the last 30 days — give me the daily high, low, and overall change percentage?","exampleUseCases":[{"title":"Portfolio performance review","prompt":"Show me the price history for Solana over the last 90 days, including the daily highs and lows and how much it's changed overall."},{"title":"Token launch price lookup","prompt":"What was the price of USDC on Base (chain:base address 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA) exactly 6 months ago?"},{"title":"DeFi token trend analysis","prompt":"Get me the 365-day price history for Uniswap by its CoinGecko ID 'uniswap', I need the time series with highs, lows, and percent change."}],"resultDescription":"A time series of USD token prices over the requested period (1–365 days) including daily or granular data points, percentage change over the period, and high/low values — or the exact USD price at a specified past date.","failureModes":["Unknown CoinGecko ID returns 404 or empty result","Invalid chain:address format causes a bad request error","Date range outside 1–365 days may be rejected","Token with no CoinGecko data (too new or delisted) returns no data","Payment failure via x402 protocol blocks the request"],"whenToPreferThis":"Use this endpoint when you need historical USD price data for a crypto token identified by CoinGecko ID or on-chain address, especially when you want a time series with highs, lows, and percent change over a flexible window up to 365 days. Prefer this over raw blockchain data sources when you want clean, aggregated OHLC-style data without running your own indexer.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:43:34.810Z","isFirstParty":false,"canonicalSlug":"x402-token-price-history-b3bdbe26"}