# Explorer Gateway API — Bitcoin Cash Block Lookup

> Explorer Gateway API — Bitcoin Cash Block Lookup is a paid API for AI agents from api.blockchain.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Retrieves details for a specific Bitcoin Cash block by hash or height via blockchain.com's explorer gateway

## Facts

- Endpoint: POST https://api.blockchain.com/explorer-gateway-kt/x402/bch/block?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/explorer-gateway-api-bitcoin-cash-block-lookup-14b521eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uj9gMQdi6wx0-AeuAq6h0

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 explorer-gateway-api-bitcoin-cash-block-lookup-14b521eb -d '<json body>'
```

Example prompt: Can you look up the Bitcoin Cash block at height 850000 and give me the details on it?

## When to prefer this

Use this endpoint when you need to look up a specific Bitcoin Cash (BCH) block by either its hash or height via a reliable, paid API gateway with x402 micropayment support. Prefer this over free explorers when you need programmatic, agent-accessible access to BCH block data without rate-limit concerns.

## Known failure modes

- Block hash not found — invalid or non-existent hash returns an error
- Both hash and height provided simultaneously — API may reject or return an error
- Negative or out-of-range block height returns an error
- Hash with incorrect length (not 64 hex chars) returns a validation error
- Network or gateway timeout for slow blockchain queries

## How this service works

Blockchain explorer gateway — Solana, Bitcoin, Bitcoin Cash, Ethereum

## Output

Returns a JSON object containing details about the specified Bitcoin Cash block, such as block hash, height, timestamp, transaction count, miner info, and confirmation status.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hash": {
   "type": "string",
   "example": "000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f",
   "description": "Block hash — exactly 64 hex characters. Provide either hash or height, not both."
  },
  "height": {
   "type": "integer",
   "format": "int64",
   "example": 850000,
   "description": "Block height (non-negative integer). Provide either hash or height, not both."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "format": "application/json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/explorer-gateway-api-bitcoin-cash-block-lookup-14b521eb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.blockchain.com](https://www.zero.xyz/host/api.blockchain.com/llms.txt)
