# Blockchain.com Explorer Gateway – Daily Transaction Count Chart

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

Returns a time-series chart of the number of confirmed daily Bitcoin transactions over a configurable timespan with optional rolling average smoothing.

## Facts

- Endpoint: POST https://api.blockchain.com/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-com-explorer-gateway-daily-transaction-count-chart-41d98845
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uWgMhQymBx8kIcSqcATQY

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-com-explorer-gateway-daily-transaction-count-chart-41d98845 -d '<json body>'
```

Example prompt: Pull the daily Bitcoin transaction count chart from Blockchain.com for the past year with an 8-hour rolling average applied and include metadata in the response.

## When to prefer this

Choose this endpoint when you need structured, time-series transaction-count data specifically for Bitcoin from Blockchain.com's explorer, especially when you want configurable timespans (24h to 3y), rolling average smoothing, and optional metadata — and when you are comfortable paying a small per-call USDC micropayment via the x402 protocol.

## Known failure modes

- Invalid timespan format returns a 400 error
- Unsupported chart format enum value causes a validation error
- Payment not provided or insufficient USDC causes a 402 Payment Required response
- Network timeouts if the blockchain data source is temporarily unavailable
- Empty values array if no transaction data exists for the requested period

## How this service works

Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum

## Output

A JSON object containing the chart name ('Number of Transactions'), unit ('transactions'), period ('day'), status ('ok'), and a values array of {x: Unix timestamp, y: transaction count} pairs covering the requested timespan, plus optional metadata fields describing the dataset.

## 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-com-explorer-gateway-daily-transaction-count-chart-41d98845/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchain.com](https://www.zero.xyz/host/api.blockchain.com/llms.txt)
