# Blockchain.com Explorer – Transaction Fees Chart

> Blockchain.com Explorer – Transaction Fees 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 Bitcoin transaction fee chart data from Blockchain.com Explorer, with configurable timespan, rolling average, and output format

## Facts

- Endpoint: POST https://api.blockchain.info/explorer-gateway-kt/x402/charts/transaction-fees?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-transaction-fees-chart-d5eb0b0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1W2zREin302zOZjmXM257

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-transaction-fees-chart-d5eb0b0d -d '<json body>'
```

Example prompt: Pull the Bitcoin transaction fees chart from Blockchain.com Explorer for the past 1 year with a 24-hour rolling average and give me the data in JSON format.

## When to prefer this

Use this endpoint when you need historical Bitcoin transaction fee chart data directly from Blockchain.com's Explorer infrastructure. Prefer this over generic crypto data APIs when you specifically want Blockchain.com's data source, need flexible timespan and rolling average configuration, or require CSV output for downstream processing.

## Known failure modes

- Invalid timespan format returns a 400 error
- Unsupported rollingAverage window may return an error or unsmoothed data
- Payment not fulfilled returns 402 Payment Required
- Rate limiting or gateway errors return 5xx responses
- Requesting very fine-grained data over long timespans may result in large payloads or timeouts

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

A JSON object (or CSV) containing time-series data points of Bitcoin transaction fees over the requested timespan, smoothed by the specified rolling average window. JSON responses may include chart metadata such as labels and units; CSV responses contain raw timestamp and value columns.

## 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": "Total Transaction Fees",
  "unit": "BTC",
  "period": "day",
  "status": "ok",
  "values": [
   {
    "x": 1704067200,
    "y": 12.4831
   },
   {
    "x": 1704153600,
    "y": 13.9042
   }
  ],
  "description": "The total value of all transaction fees paid to miners (not including the coinbase value of block rewards)."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-com-explorer-transaction-fees-chart-d5eb0b0d/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)
