# Blockchain.com Explorer API – Median Confirmation Time Chart

> Blockchain.com Explorer API – Median Confirmation Time 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 median transaction confirmation time chart data from Blockchain.com Explorer

## Facts

- Endpoint: POST https://api.blockchain.info/explorer-gateway-kt/x402/charts/median-confirmation-time?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-api-median-confirmation-time-chart-533d51ac
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KF9Nx8O5oyitm3S39pCh8

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-api-median-confirmation-time-chart-533d51ac -d '<json body>'
```

Example prompt: Pull the median Bitcoin transaction confirmation time chart from Blockchain.com Explorer for the last 1 year, using an 8-hour rolling average, and return it as JSON.

## When to prefer this

Choose this endpoint when you need historical Bitcoin median confirmation time data from Blockchain.com's Explorer, especially when you want configurable rolling averages, flexible time spans, and a choice between JSON and CSV output. Prefer this over generic blockchain data providers if you specifically need median confirmation time metrics and want structured time-series data with sampling controls.

## Known failure modes

- Invalid timespan format returns 400 Bad Request
- Invalid rollingAverage window value returns 400 Bad Request
- Payment failure (insufficient USDC balance) returns 402 Payment Required
- Rate limiting may return 429 Too Many Requests
- Service unavailability returns 503
- Invalid format enum value returns 400

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

Returns a time series of median Bitcoin transaction confirmation times, either as structured JSON (with optional metadata) or raw CSV. JSON responses include timestamps paired with median confirmation time values in minutes, with optional chart metadata. CSV responses contain timestamp and value columns without metadata. Data can be sampled to reduce point density and smoothed via a configurable rolling average window.

## 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": "Median Confirmation Time",
  "unit": "Minutes",
  "period": "day",
  "status": "ok",
  "values": [
   {
    "x": 1704067200,
    "y": 8.5
   },
   {
    "x": 1704153600,
    "y": 9.1
   }
  ],
  "description": "The median time for a transaction to be accepted into a mined block and added to the public ledger (note: only includes transactions with miner fees)."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-com-explorer-api-median-confirmation-time-chart-533d51ac/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)
