# Explorer Gateway API – Bitcoin Transaction Lookup

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

Retrieves detailed information about a specific Bitcoin transaction by its transaction ID via the blockchain.com explorer gateway

## Facts

- Endpoint: POST https://api.blockchain.com/explorer-gateway-kt/x402/btc/transaction?utm_source=zero.xyz
- Price: $0.001/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-transaction-lookup-90d5710d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uqckYmOTjznjvi_Sk9w0r

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-transaction-lookup-90d5710d -d '<json body>'
```

Example prompt: Can you look up the Bitcoin transaction with ID 4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b and tell me how many confirmations it has and what the total value transferred was?

## When to prefer this

Use this endpoint when you need authoritative, real-time Bitcoin transaction data from blockchain.com's explorer infrastructure, especially for confirming payments, auditing transfers, or retrieving on-chain details by transaction hash. Prefer it over generalized blockchain APIs when you need reliable BTC-specific lookup with per-call micropayment pricing via x402.

## Known failure modes

- Invalid or malformed txId returns an error response
- Transaction not found (e.g. not yet broadcast or wrong network) returns 404 or empty result
- Network timeout or upstream blockchain node unavailability
- Payment failure if USDC balance is insufficient for the $0.001 per-call fee

## How this service works

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

## Output

A JSON object containing full details of the specified Bitcoin transaction, including transaction ID, block height, confirmation count, timestamp, total value transferred, fee, and the list of inputs and outputs with their addresses and amounts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "txId": {
   "type": "string"
  }
 }
}
```

## 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-transaction-lookup-90d5710d/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)
