{"uid":"cap_YhxuLa0oMY_6CrElvghWS","slug":"x402-price-api-all-time-high-ath-endpoint-d553ec0c","name":"x402 Price API – All-Time High (ATH) Endpoint","description":"Paid API endpoints for prices, weather, FX, news, gas, dominance, fear/greed, ATH, and more","url":"https://x402-api-production-bd43.up.railway.app/ath?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"coin":{"type":"string","description":"Coin ID (e.g. bitcoin, ethereum)"}}},"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_GzVko6cmOhQaDX9fRg3d2","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 the all-time high price data for a specified cryptocurrency by coin ID","exampleAgentPrompt":"What's the all-time high price for bitcoin? Use the x402 ATH endpoint to look it up.","exampleUseCases":[{"title":"Crypto ATH tracker for portfolio app","prompt":"Can you check the all-time high price for ethereum so I can compare it to today's price and see how far off we are from the record?"},{"title":"Historical peak research for altcoin","prompt":"What's the all-time high for solana? I want to know the highest price it's ever reached."},{"title":"Market commentary for newsletter","prompt":"Look up the ATH for dogecoin — I need the record high price to reference in a piece I'm writing about meme coin performance."}],"resultDescription":"Returns the all-time high (ATH) price for the requested cryptocurrency, likely including the peak price value, the date it was reached, and the coin identifier, enabling historical price comparisons and market analysis.","failureModes":["Invalid or unrecognized coin ID returns an error or empty result","Network or server downtime on Railway hosting causes unavailability","Payment failure (insufficient USDC balance or x402 protocol error) blocks the request","Rate limiting or abuse detection may temporarily block repeated calls"],"whenToPreferThis":"Choose this endpoint when you need the historical all-time high price for a specific cryptocurrency. Prefer it over general price APIs when the user explicitly asks about peak/record prices rather than current or historical time-series data. It is a paid microtransaction endpoint ($0.01 USDC via x402), so it suits agents with cryptocurrency payment capability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:34:08.149Z","isFirstParty":false,"canonicalSlug":"x402-price-api-all-time-high-ath-endpoint-d553ec0c"}