{"uid":"cap_hckVhW_LAU2KdwwzSD8Db","slug":"x402node-historical-token-price-e350720a","name":"x402node Historical Token Price","description":"Historical USD price of a token at a specific past timestamp, by chain and contract address or coingecko id. For backtesting, accounting and cost-basis. Data an LLM cannot recall. historical price, price at timestamp, cost basis, backtest, token price history Accepts payment on Base or Solana — either network works.","url":"https://api.x402node.dev/prices/historical?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","required":["coin","timestamp"],"properties":{"coin":{"type":"string","description":"chain:address or coingecko:id"},"timestamp":{"type":"string","description":"unix seconds, e.g. 1700000000"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oFG0oqmH6zQkGQUwBJBxo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the historical USD price of a crypto token at a specific past timestamp, identified by chain and contract address or CoinGecko ID","exampleAgentPrompt":"What was the price of WETH on Ethereum (contract 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) on March 10 2024 at midnight UTC? I need it for cost-basis accounting.","exampleUseCases":null,"resultDescription":"Returns the historical USD price of the specified token at the requested timestamp, along with the token and chain identifiers used for the lookup.","failureModes":["Token contract address not found on the specified chain — returns error or null price","Timestamp is in the future or too recent for historical data — no data available","CoinGecko ID is invalid or unrecognized — lookup fails","Chain not supported — returns error","Price data unavailable for the exact timestamp — may return nearest available or error","Payment not processed correctly via x402 — 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need the USD price of a specific token at a past point in time — for tax cost-basis calculations, backtesting trading strategies, or financial accounting. Prefer over current-price endpoints when historical accuracy at a specific timestamp is required. Use when the LLM's training data cannot reliably supply accurate historical prices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T12:43:17.804Z","isFirstParty":false,"canonicalSlug":"x402node-historical-token-price-e350720a"}