{"uid":"cap_jOnqKeUwl5jp-fmmh46Pm","slug":"x402-price-api-price-history-914e0676","name":"x402 Price API – Price History","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/price-history?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_IOob-MTj_6cNthDIL0kHk","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 historical price data for a specified cryptocurrency (e.g. Bitcoin, Ethereum) via a pay-per-call x402 endpoint","exampleAgentPrompt":"Can you pull the price history for Bitcoin using the x402 Price API?","exampleUseCases":[{"title":"Crypto portfolio performance review","prompt":"Show me the historical price data for Ethereum so I can see how my portfolio has performed over time."},{"title":"Backtesting a trading strategy","prompt":"I need Bitcoin's price history to backtest my moving-average trading strategy — can you fetch that from the x402 Price API?"},{"title":"Comparing two crypto assets","prompt":"Pull the price history for both Solana and Cardano so I can compare how they've each trended."}],"resultDescription":"A time-series dataset of historical prices for the requested cryptocurrency, likely including timestamps and price values in USD or equivalent fiat, returned as structured JSON.","failureModes":["Missing or invalid 'coin' parameter returns an error or empty result","Unsupported coin ID returns a not-found or validation error","Payment failure (insufficient USDC or x402 protocol error) blocks access with a 402 response","Rate limiting or service downtime returns 5xx errors","Misspelled coin ID (e.g. 'btc' instead of 'bitcoin') may return no results"],"whenToPreferThis":"Choose this endpoint when you need historical price data for a specific cryptocurrency and are already operating within the x402 micropayment ecosystem. It is cost-effective at $0.01 per call and is Coinbase-curated, making it a trusted source. Prefer it over scraping or free-tier APIs when you need reliable, pay-as-you-go access without API key management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:44:02.698Z","isFirstParty":false,"canonicalSlug":"x402-price-api-price-history-914e0676"}