# 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.002/call, status unknown (last checked 2026-10-02).

Fetches detailed information for one or more Bitcoin transactions by their transaction IDs via the blockchain.com explorer gateway

## Facts

- Endpoint: POST https://api.blockchain.com/explorer-gateway-kt/x402/btc/transactions?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/explorer-gateway-api-bitcoin-transaction-lookup-55f9637b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W5Lo_-5dvy5LgLXz7AEJc

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-55f9637b -d '<json body>'
```

Example prompt: Can you look up the details for these Bitcoin transactions on blockchain.com? Here are the txids: a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d and f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16.

## When to prefer this

Use this endpoint when you need to look up one or more Bitcoin (BTC) transaction details by their transaction IDs directly from blockchain.com's explorer infrastructure. It supports batch lookups of up to 50 txids in a single call, making it efficient for reconciliation or audit tasks. Prefer this over generic block explorers when you need programmatic access with JSON output and are already integrated with x402 micropayment flows.

## Known failure modes

- Invalid or malformed txid strings result in an error or empty response for that entry
- Exceeding 50 txIds per request returns a validation error
- Unconfirmed or very recent transactions may return incomplete data
- Network or upstream blockchain node issues may cause timeouts or 5xx errors
- Payment failure (insufficient USDC balance for x402 payment) blocks the request

## How this service works

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

## Output

Returns a JSON response containing detailed information about the queried Bitcoin transactions, including transaction status, confirmation count, block height, inputs, outputs, fees, amounts, and timestamps for each txid provided in the request.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "txIds": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 50
  }
 }
}
```

## 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-55f9637b/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)
