# Blockchain.com Explorer - Bitcoin Trade Volume Chart

> Blockchain.com Explorer - Bitcoin Trade Volume 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).

Retrieves historical Bitcoin trade volume chart data from Blockchain.com Explorer, with configurable time spans and rolling averages

## Facts

- Endpoint: POST https://api.blockchain.info/explorer-gateway-kt/x402/charts/trade-volume?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-bitcoin-trade-volume-chart-87ac6037
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DXR8v9T_oN2qw_4fvtAGB

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-bitcoin-trade-volume-chart-87ac6037 -d '<json body>'
```

Example prompt: Pull the Bitcoin trade volume chart from Blockchain.com Explorer for the past 1 year, using an 8-hour rolling average, and return the data in JSON format.

## When to prefer this

Choose this endpoint when you need historical Bitcoin trade volume data sourced directly from Blockchain.com Explorer, particularly when you want configurable time spans (from 24 hours to multiple years), rolling average smoothing, and the option to receive output in either JSON or CSV. Prefer this over generic market data APIs when Blockchain.com's specific data provenance is important, or when you need long-horizon volume history with flexible sampling.

## Known failure modes

- Invalid timespan format returns a 400 error
- Invalid rollingAverage format returns a 400 error
- Payment not provided or insufficient USDC balance causes 402 Payment Required
- Rate limiting may return 429 Too Many Requests
- Service unavailability returns 503
- Invalid format enum value causes validation error

## How this service works

Paid AI-agent access to Blockchain.com Explorer API

## Output

Returns a time-series dataset of Bitcoin trade volume, either as structured JSON (with optional metadata including chart name, unit, and description) or raw CSV (timestamp and value columns). Each data point includes a timestamp and a corresponding trade volume value, optionally smoothed by the specified rolling average window and sampled to reduce data density.

## 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": "USD Exchange Trade Volume",
  "unit": "Trade Volume (USD)",
  "period": "day",
  "status": "ok",
  "values": [
   {
    "x": 1704067200,
    "y": 812345678.9
   },
   {
    "x": 1704153600,
    "y": 798123456.7
   }
  ],
  "description": "The total USD value of trading volume on major bitcoin exchanges."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-com-explorer-bitcoin-trade-volume-chart-87ac6037/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)
