{"uid":"cap_wAW3HxMjHCed9pKAl9pT4","slug":"blockchain-com-explorer-market-price-chart-api-e6b14a01","name":"Blockchain.com Explorer Market Price Chart API","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/charts/market-price?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"cors":{"type":"boolean","default":false,"description":"Enable CORS headers"},"format":{"enum":["json","csv"],"type":"string","default":"json","description":"Response format:\n- `json` — Returns structured JSON with metadata and values\n- `csv` — Returns raw CSV data with timestamp and value columns (no metadata)\n"},"sampled":{"type":"boolean","default":true,"description":"Apply sampling to reduce data points"},"metadata":{"type":"boolean","default":false,"description":"Include metadata in response"},"timespan":{"type":"string","default":"1y","example":"1y","description":"Time period (e.g., \"24h\", \"7d\", \"1y\", \"3y\")"},"rollingAverage":{"type":"string","default":"8h","example":"8h","description":"Rolling average window (e.g., \"8h\", \"24h\")"}}},"responseSchema":{"type":"json","format":"application/json","example":{"name":"Market Price (USD)","unit":"USD","period":"day","status":"ok","values":[{"x":1704067200,"y":94210.33},{"x":1704153600,"y":95880.17}],"description":"Average USD market price across major bitcoin exchanges."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7VBmVkWTSwVoCB4OQO6pS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical Bitcoin market price chart data over a configurable timespan with optional rolling average smoothing","exampleAgentPrompt":"Pull the Blockchain.com market price chart for Bitcoin over the last year in JSON format with an 8-hour rolling average applied.","exampleUseCases":[{"title":"Long-term BTC price trend analysis","prompt":"Can you get me Bitcoin's market price history from Blockchain.com for the past 3 years with a 24-hour rolling average so I can spot long-term trends?"},{"title":"Recent Bitcoin price snapshot","prompt":"Fetch the last 7 days of Bitcoin market price data from Blockchain.com's explorer in JSON format with sampling enabled so I can see recent price movement."},{"title":"CSV export for spreadsheet modeling","prompt":"I need Bitcoin's market price data for the past year from Blockchain.com exported as CSV with a 24h rolling average — I'm going to load it into a spreadsheet."}],"resultDescription":"Returns structured JSON (or CSV) containing historical Bitcoin market price data points with timestamps and price values. JSON mode includes optional metadata about the chart. Rolling average smoothing and sampling are applied based on parameters. Covers the requested timespan (e.g. 24h, 7d, 1y, 3y) at the configured granularity.","failureModes":["Invalid timespan format returns 400 error","Invalid rollingAverage window string returns 400 error","Invalid format enum value returns 400 error","Payment not completed (x402) returns 402 Payment Required","Network timeout for large timespans with high granularity","Rate limiting if called excessively in short succession"],"whenToPreferThis":"Use this endpoint when you need historical Bitcoin market price data specifically from Blockchain.com's Explorer, with built-in rolling average smoothing and flexible timespan selection. Prefer this over generic crypto APIs when you want Blockchain.com's proprietary market price series with sampling and averaging built in, and when you need both JSON and CSV output options in a single endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:20.081Z","isFirstParty":false,"canonicalSlug":"blockchain-com-explorer-market-price-chart-api-e6b14a01"}