{"uid":"cap_2GUjimRoIx6MaCfqGf285","slug":"blockchain-info-n-transactions-per-block-chart-api-8b98ce5a","name":"Blockchain.info N-Transactions-Per-Block Chart API","description":"Paid AI-agent access to Blockchain.com Explorer API","url":"https://api.blockchain.info/explorer-gateway-kt/x402/charts/n-transactions-per-block?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":"Average Number Of Transactions Per Block","unit":"Transactions Per Block","period":"day","status":"ok","values":[{"x":1704067200,"y":3142.6},{"x":1704153600,"y":3288.1}],"description":"The average number of transactions per block."}},"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_9dcQSrJDRQhrtjv24ZtC-","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 chart data showing the average number of transactions per Bitcoin block over a specified time period","exampleAgentPrompt":"Pull the Blockchain.com chart for average number of transactions per Bitcoin block over the last 3 years, using a 24-hour rolling average, and return the data in JSON format.","exampleUseCases":[{"title":"Bitcoin network throughput research","prompt":"Show me the average number of transactions per Bitcoin block over the past year using an 8-hour rolling average — I want to see how block utilization has trended."},{"title":"Crypto market analysis dashboard","prompt":"Fetch the Blockchain.com transactions-per-block chart for the last 7 days in CSV format so I can import it into my spreadsheet and spot any recent spikes."},{"title":"Long-term Bitcoin adoption monitoring","prompt":"Get me the historical Bitcoin transactions-per-block data from Blockchain.com going back 3 years with a 24-hour rolling average, so I can analyze how network usage has grown over time."}],"resultDescription":"A JSON object (or CSV) containing time-series data points of the average number of transactions per Bitcoin block, with timestamps and values, optionally accompanied by chart metadata such as name, description, and units. The rolling average smooths the raw data over the specified window.","failureModes":["Invalid timespan format returns a 400 or empty dataset","Invalid rollingAverage window value may cause a processing error","Payment failure (402) if USDC payment is not properly handled by x402 protocol","Rate limiting or quota exceeded if called too frequently","Invalid format enum value returns an error","Network timeout for very long timespans with high granularity"],"whenToPreferThis":"Choose this endpoint when you need authoritative historical Bitcoin block transaction count data directly from Blockchain.com's explorer, particularly when you need flexible timespan and rolling average control. Prefer this over generic crypto APIs when you specifically need the n-transactions-per-block metric with smoothing options, or when you need CSV output for downstream data processing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:41:37.027Z","isFirstParty":false,"canonicalSlug":"blockchain-info-n-transactions-per-block-chart-api-8b98ce5a"}