{"uid":"cap_JUnPJO83e6-fYlHem4-C5","slug":"blockchain-info-bitcoin-transaction-fees-usd-per-transaction-chart-76193df1","name":"Blockchain.info Bitcoin Transaction Fees USD Per Transaction Chart","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/charts/fees-usd-per-transaction?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":"Fees per Transaction (USD)","unit":"USD","period":"day","status":"ok","values":[{"x":1704067200,"y":2.58},{"x":1704153600,"y":2.91}],"description":"A chart showing the total transaction fees paid to miners divided by the number of transactions."}},"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_ACRNEiCJ9BgSe9cAmz8NA","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 time-series data of average Bitcoin transaction fees denominated in USD per transaction from Blockchain.com Explorer","exampleAgentPrompt":"Pull the Blockchain.com Explorer chart for Bitcoin fees in USD per transaction over the last year, using an 8-hour rolling average, and give me the data as JSON.","exampleUseCases":[{"title":"Bitcoin fee spike investigation","prompt":"Show me the Blockchain.com chart of Bitcoin transaction fees in USD per transaction for the past 7 days with a 24-hour rolling average so I can see if there was a recent fee spike."},{"title":"Long-term BTC fee trend analysis","prompt":"Get me 3 years of Bitcoin average transaction fee data in USD from Blockchain.com Explorer, sampled and in JSON format, so I can analyze long-term fee trends."},{"title":"CSV export for fee modeling","prompt":"Fetch the Bitcoin USD-per-transaction fee chart from Blockchain.com for the past 1 year in CSV format with a 8-hour rolling average — I need the raw data for a spreadsheet model."}],"resultDescription":"Returns a time-series dataset of average Bitcoin transaction fees in USD per transaction. In JSON format, includes structured metadata (if requested) and an array of {timestamp, value} data points with optional rolling average applied. In CSV format, returns raw comma-separated rows of timestamp and value columns. The data can be sampled to reduce the number of points returned.","failureModes":["Invalid timespan format (e.g. unsupported string) returns a 400 error","Invalid rollingAverage window string returns a 400 or empty result","Payment not received or x402 payment failure results in 402 response","Network timeout or upstream Blockchain.com data unavailability returns 5xx","Requesting a CSV format but parsing as JSON causes client-side errors","Very short timespans (e.g. 1h) may return sparse or empty data sets"],"whenToPreferThis":"Choose this endpoint when you need authoritative Bitcoin transaction fee data in USD denomination from Blockchain.com Explorer, particularly when you want flexible time ranges (hours to years), rolling average smoothing, and a choice between JSON and CSV output. Prefer this over generic crypto data APIs when you specifically need Blockchain.com's fee-per-transaction USD metric with chart-quality time-series resolution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:24.467Z","isFirstParty":false,"canonicalSlug":"blockchain-info-bitcoin-transaction-fees-usd-per-transaction-chart-76193df1"}