# Blockchain.info Bitcoin Transaction Count Chart

> Blockchain.info Bitcoin Transaction Count Chart is a paid API for AI agents from api.blockchain.info, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Returns historical daily Bitcoin transaction count data as a time-series chart, with configurable timespan and rolling average smoothing.

## Facts

- Endpoint: POST https://api.blockchain.info/explorer-gateway-kt/x402/charts/n-transactions?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-info-bitcoin-transaction-count-chart-d2d40542
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__voOIedrT_Q2nsYavFyaE

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability blockchain-info-bitcoin-transaction-count-chart-d2d40542 -d '<json body>'
```

Example prompt: Pull the daily Bitcoin confirmed transaction count chart from Blockchain.com for the past year, with an 8-hour rolling average applied and sampling enabled.

## When to prefer this

Choose this endpoint when you need authoritative historical Bitcoin daily transaction count data directly from Blockchain.com's explorer, with built-in configurable rolling averages and sampling. Prefer this over raw node queries or third-party aggregators when you want pre-aggregated, smoothed time-series data ready for charting without additional processing.

## Known failure modes

- Invalid timespan format returns an error (e.g. unsupported string like '2w')
- Invalid rollingAverage window string causes a 400 bad request
- Payment failure or missing x402 payment header returns 402 Payment Required
- Rate limiting or quota exceeded returns 429 Too Many Requests
- Service unavailability returns 503 with no data

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

A JSON object containing the chart name ('Number of Transactions'), unit ('transactions'), period ('day'), status, and an array of {x: unix_timestamp, y: transaction_count} data points representing daily confirmed Bitcoin transaction counts, plus optional metadata.

## Request schema (JSON Schema)

```json
{
 "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\")"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json",
 "example": {
  "name": "Number of Transactions",
  "unit": "transactions",
  "period": "day",
  "status": "ok",
  "values": [
   {
    "x": 1704067200,
    "y": 275000
   },
   {
    "x": 1704153600,
    "y": 280000
   }
  ],
  "description": "The number of daily confirmed Bitcoin transactions"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-info-bitcoin-transaction-count-chart-d2d40542/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchain.info](https://www.zero.xyz/host/api.blockchain.info/llms.txt)
