{"uid":"cap_gNLw-y7IpJbQfcp05hnD0","slug":"402-com-tr-historical-token-price-d47fee41","name":"402.com.tr Historical Token Price","description":"Returns the USD price of a Base token on a specific date (YYYY-MM-DD) via Covalent. For agents computing cost basis, backtests, or P&L.","url":"https://402.com.tr/api/x402/historical-price","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["address","date"],"properties":{"date":{"type":"string","description":"Date (YYYY-MM-DD)"},"address":{"type":"string","description":"Token contract address"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RxqA4Pltf4rq5dEIUEBnW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the USD price of a Base network token on a specific historical date using Covalent price data","exampleAgentPrompt":"What was the USD price of the Base token at contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on 2024-03-15?","exampleUseCases":null,"resultDescription":"The USD price of the specified Base token on the requested date, sourced from Covalent's historical price data — useful for cost basis, P&L, or backtesting calculations.","failureModes":["Invalid or non-existent token contract address returns an error or null price","Date in wrong format (not YYYY-MM-DD) causes a validation error","Date too far in the past or future may return no price data","Token not indexed by Covalent on Base returns no result","Network or payment failure results in no response"],"whenToPreferThis":"Use this endpoint when you need the USD price of a Base network token on a specific past date — ideal for cost basis calculations, tax reporting, P&L analysis, or backtesting trading strategies. Prefer this over live-price endpoints when historical accuracy on a particular calendar date is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:48:57.726Z","isFirstParty":false}