{"uid":"cap_zmXnasazzx750QpsUB0mz","slug":"blockchain-info-transaction-fees-usd-chart-api-935734ea","name":"Blockchain.info Transaction Fees USD Chart API","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/charts/transaction-fees-usd?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":"Total Transaction Fees in USD","unit":"USD","period":"day","status":"ok","values":[{"x":1704067200,"y":1176234.5},{"x":1704153600,"y":1332019.8}],"description":"The total value of all transaction fees paid to miners (not including the coinbase value of block rewards)."}},"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_kHJlxBIX9MKM7rGvEoeR9","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 transaction fee data in USD as a time-series chart from the Blockchain.com Explorer","exampleAgentPrompt":"Pull me the Blockchain.com Explorer chart of Bitcoin transaction fees in USD for the past year, using an 8-hour rolling average, and return it as JSON.","exampleUseCases":[{"title":"Bitcoin fee trend dashboard","prompt":"Get me the Blockchain.com chart of Bitcoin transaction fees in USD for the last 3 years with a 24-hour rolling average so I can visualize long-term fee trends."},{"title":"Real-time fee spike detection","prompt":"Fetch Bitcoin transaction fee data in USD for the past 24 hours from Blockchain.com with an 8-hour rolling average — I want to check if fees have spiked recently."},{"title":"Weekly fee analysis report","prompt":"Retrieve the Blockchain.com Bitcoin transaction fees in USD chart for the past 7 days in CSV format with metadata included so I can drop it into my weekly on-chain analytics report."}],"resultDescription":"A JSON or CSV time-series dataset of Bitcoin transaction fees denominated in USD, with configurable timespan (e.g. 24h, 7d, 1y, 3y), optional rolling average smoothing, optional metadata fields, and optional sampling to reduce data point density. JSON responses include structured metadata and value arrays; CSV responses contain raw timestamp-value columns.","failureModes":["Invalid timespan format returns an error (must use formats like '24h', '7d', '1y')","Invalid rollingAverage window format causes request failure","Unsupported format enum value (anything other than 'json' or 'csv') returns an error","Payment failure or insufficient USDC balance results in 402 response","Upstream Blockchain.com Explorer data unavailability may return 503 or empty dataset","Very short timespans with high granularity may return sparse or empty data"],"whenToPreferThis":"Choose this endpoint when you need historical Bitcoin transaction fee data denominated in USD with flexible time ranges and rolling average smoothing, sourced directly from the authoritative Blockchain.com Explorer. It is ideal for trend analysis, charting, and monitoring on-chain fee conditions without building your own data aggregation pipeline. Prefer it over generic crypto data APIs when you specifically want Blockchain.com's Explorer dataset with configurable sampling and averaging.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:43.591Z","isFirstParty":false,"canonicalSlug":"blockchain-info-transaction-fees-usd-chart-api-935734ea"}