Sources › Finance › Blockchain Info › Chart

Blockchain Info Chart API
Chart, one of the endpoints of the Blockchain Info API.
Request
https://api.zapi.ink/v1/finance:blockchain-info/chartSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 15 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| chart | enum: mempool-size | mempool-count | mempool-growth | transactions-per-second | utxo-count | avg-confirmation-time | median-confirmation-time | market-price | market-cap | trade-volume | total-bitcoins | avg-block-size | blocks-size | n-transactions | n-transactions-total | n-transactions-per-block | n-transactions-excluding-popular | n-unique-addresses | hash-rate | difficulty | miners-revenue | transaction-fees | transaction-fees-usd | cost-per-transaction | cost-per-transaction-percent | output-volume | estimated-transaction-volume | estimated-transaction-volume-usd | my-wallet-n-users | query | No | Chart name. mempool-size, mempool-count, mempool-growth and transactions-per-second publish every 15 minutes; utxo-count hourly; avg-confirmation-time every 6 hours; the rest daily. Example: transactions-per-second |
| timespan | string | query | No | Window as Ndays, Nweeks, Nyears, Nhours or all. Upstream default is 1 week for mempool charts, 1 year elsewhere. Example: 30days |
| start | string | query | No | Start date (YYYY-MM-DD). Combine with timespan to window the series. Example: 2026-06-01 |
| rollingAverage | string | query | No | Average each point over this duration. Same grammar as timespan. Example: 8hours |
| sampled | enum: true | false | query | No | true downsamples to ~1500 points. Default false, which returns full resolution. Example: false |
| limit | number | query | No | Keep only the most recent N points. Omit for everything the upstream returned. Example: 5000 |
Code examples
curl -X GET "https://api.zapi.ink/v1/finance:blockchain-info/chart?chart=transactions-per-second×pan=30days&start=2026-06-01&rollingAverage=8hours&sampled=false&limit=5000" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/finance:blockchain-info/chart?chart=transactions-per-second×pan=30days&start=2026-06-01&rollingAverage=8hours&sampled=false&limit=5000", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/finance:blockchain-info/chart", params={"chart":"transactions-per-second","timespan":"30days","start":"2026-06-01","rollingAverage":"8hours","sampled":"false","limit":"5000"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "finance:blockchain-info", "data": { "unit": "Transactions Per Second", "chart": "transactions-per-second", "count": 668, "items": [ { "date": "2026-08-14T02:30:00.000Z", "time": 1786674600, "value": 4.45 }, { "date": "2026-08-14T02:45:00.000Z", "time": 1786675500, "value": 3.066666666666667 }, { "date": "2026-08-14T03:00:00.000Z", "time": 1786676400, "value": 4.733333333333333 }, { "date": "2026-08-14T03:15:00.000Z", "time": 1786677300, "value": 2.2333333333333334 }, { "date": "2026-08-14T03:30:00.000Z", "time": 1786678200, "value": 3.7666666666666666 }, { "date": "2026-08-14T03:45:00.000Z", "time": 1786679100, "value": 6.033333333333333 }, { "date": "2026-08-14T04:00:00.000Z", "time": 1786680000, "value": 5.416666666666667 }, { "date": "2026-08-14T04:15:00.000Z", "time": 1786680900, "value": 23.6 } ], "total": 668, "period": "minute", "dataset": "chart", "sampled": false, "provider": "blockchain-info", "timespan": null, "description": "The number of Bitcoin transactions added to the mempool per second." }, "timestamp": "2026-08-21T02:24:06Z" }
Frequently asked questions
How do I call the Blockchain Info Chart API?
Send a GET request to https://api.zapi.ink/v1/finance:blockchain-info/chart with your Zapi key in the x-api-key header. Parameters — optional: chart, timespan, start, rollingAverage, sampled, limit. The response is JSON in the { project, data, timestamp } envelope.
What does the Blockchain Info Chart API return?
The example response has the fields unit, chart, count, items, total, period, dataset, sampled. Each item in items has fields such as date, time, value.
Is the Blockchain Info Chart API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the Blockchain Info Chart API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "blockchain-info" and endpoint "chart".
What other Blockchain Info API endpoints are there?
It has 2 endpoints. Besides Chart: Stats.