# QuantaFlow Blockchair API Gateway (x402)

> QuantaFlow Blockchair API Gateway (x402) is a paid API for AI agents from quanta-roan.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-16).

Proxies requests to the Blockchair blockchain explorer API via an x402 micropayment-gated gateway, charging $0.01 USDC per call.

## Facts

- Endpoint: POST https://quanta-roan.vercel.app/api/service/blockchair?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quantaflow-blockchair-api-gateway-x402-2fcf18ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DdKAp-fqVIceKqBt8vG-0

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 quantaflow-blockchair-api-gateway-x402-2fcf18ee -d '<json body>'
```

Example prompt: Look up the transaction details for Bitcoin tx hash 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b on Blockchair — I need the confirmation count, fee, and block height.

## When to prefer this

Choose this endpoint when you need on-demand access to Blockchair's blockchain explorer data (Bitcoin, Ethereum, and other chains) without managing your own Blockchair API key, and you want to pay per-use via x402 USDC micropayments rather than a subscription. Ideal for AI agents that query blockchain data infrequently or need pay-as-you-go web3 data access.

## Known failure modes

- Insufficient USDC balance — payment of $0.01 fails, request blocked
- Invalid path — Blockchair returns 404 for unrecognized endpoint path
- Malformed query parameters — upstream returns 400 or validation error
- Rate limit exceeded on upstream Blockchair API — 429 response passed through
- Network timeout from upstream Blockchair service

## How this service works

Every request, a quantum of value. x402 protocol-based payment endpoint for web3/DeFi tools.

## Output

The raw upstream response from Blockchair passed through after successful x402 micropayment: includes blockchain data such as transaction details, address balances, block info, mempool stats, or network statistics depending on the path queried.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "body": {
   "type": "string",
   "description": "Optional JSON body forwarded to POST requests."
  },
  "path": {
   "type": "string",
   "description": "Path below the selected upstream origin."
  },
  "query": {
   "type": "object"
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "description": "The upstream response body and content type are passed through after successful payment."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quantaflow-blockchair-api-gateway-x402-2fcf18ee/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quanta-roan.vercel.app](https://www.zero.xyz/host/quanta-roan.vercel.app/llms.txt)
