{"uid":"cap_WQX5tgkfaCAUjVdgMrEVe","slug":"x402-services-historical-token-price-lookup-2522e5c1","name":"x402-services Historical Token Price Lookup","description":"Point-in-time historical price: what did a token cost at a past date/timestamp? Send { coin, when }. Essential for backtesting, accounting, and audits.","url":"https://x402-services-production.up.railway.app/api/analytics/price-at","method":"POST","headers":{},"bodySchema":{"type":"object","required":["coin"],"properties":{"coin":{"type":"string","description":"Symbol (ETH), coingecko:id, or chain:0xaddress"},"when":{"type":"string","description":"Unix timestamp or ISO date; default now"}}},"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_K5PuFy59Hj53z1MiGXV6n","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 the price of a cryptocurrency token at a specific past date or timestamp for backtesting, accounting, and audit purposes.","exampleAgentPrompt":"What was the price of ETH on March 15, 2023? I need the exact USD price for an accounting audit.","exampleUseCases":null,"resultDescription":"A point-in-time USD price for the requested token at the specified date or timestamp, suitable for use in financial calculations, audit trails, and backtesting scenarios.","failureModes":["Unknown coin symbol or CoinGecko ID returns an error or null price","Future timestamps default to current price or return an error","Very old or illiquid tokens may have no historical price data","Malformed ISO date or unix timestamp causes a validation error","Payment not processed results in 402 response blocking the call"],"whenToPreferThis":"Use this endpoint when you need a precise historical price for a specific token at a known past date or timestamp — ideal for tax calculations, portfolio P&L, smart contract audits, or backtesting trading strategies. Prefer this over live price endpoints when the date is in the past and accuracy at that moment matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:32:07.083Z","isFirstParty":false}