# Blockchain.com Explorer - Miners Revenue Chart

> Blockchain.com Explorer - Miners Revenue 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 miners' total revenue (fees + block rewards) chart data from Blockchain.com Explorer, with configurable timespan and rolling average

## Facts

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

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-miners-revenue-chart-b073ea3d -d '<json body>'
```

Example prompt: Pull the Bitcoin miners' total revenue chart from Blockchain.com Explorer for the past 1 year, using an 8-hour rolling average, and give me the results as JSON.

## When to prefer this

Choose this endpoint when you need authoritative Bitcoin miners' revenue chart data directly from Blockchain.com Explorer, especially when you want configurable timespan, rolling average smoothing, or both JSON and CSV output formats. Prefer it over generic crypto data aggregators when you specifically need the Blockchain.com Explorer miners-revenue metric with fine-grained time controls.

## Known failure modes

- Invalid timespan format returns error (must be e.g. '24h', '7d', '1y', '3y')
- Invalid rollingAverage window string causes bad request
- Payment failure (insufficient USDC balance or x402 payment not accepted)
- Rate limiting if endpoint is called too frequently
- Upstream Blockchain.com Explorer API outage returns 5xx error
- Invalid format enum value (must be 'json' or 'csv') causes validation error

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

Returns a time-series dataset of Bitcoin miners' total revenue (block rewards plus transaction fees), with timestamps and values. In JSON mode, includes structured metadata and value arrays. In CSV mode, returns raw rows of timestamp and value. Sampling and rolling average smoothing are configurable.

## 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": "Miners Revenue",
  "unit": "USD",
  "period": "day",
  "status": "ok",
  "values": [
   {
    "x": 1704067200,
    "y": 44821345.7
   },
   {
    "x": 1704153600,
    "y": 45990123.4
   }
  ],
  "description": "Total value of coinbase block rewards and transaction fees paid to miners."
 }
}
```

## More

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