# BTC Node API — Bitcoin Transaction Lookup

> BTC Node API — Bitcoin Transaction Lookup is a paid API for AI agents from btcnode.uk, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Fetches on-chain details for a specific Bitcoin transaction by its hash, including block height, confirmations, and transaction ID.

## Facts

- Endpoint: GET https://btcnode.uk/api/tx/%7Bhash%7D
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-node-api-bitcoin-transaction-lookup-983293a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_88w5gNh13kudRPO2wWdtA

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 btc-node-api-bitcoin-transaction-lookup-983293a6
```

Example prompt: Can you look up the Bitcoin transaction with hash 0000abc123...def456 and tell me how many confirmations it has and what block it was included in?

## When to prefer this

Use this endpoint when you need to verify or retrieve on-chain details for a specific known Bitcoin transaction hash, especially when you need confirmation count or block height data. Prefer this over general blockchain explorers when operating programmatically via x402 micropayments on Base.

## Known failure modes

- Invalid or malformed transaction hash returns a 4xx error
- Transaction hash not found on-chain returns empty or 404 response
- Payment not provided or insufficient USDC micropayment returns 402
- Network or node connectivity issues return 5xx errors
- Unconfirmed/mempool transactions may return zero confirmations or missing block height

## How this service works

Bitcoin blockchain data, address portfolio, transaction tracing, fee forecasting, whale monitoring, SEC EDGAR filings, URL scraping, AI summarization, and Reddit API via x402 micropayments on Base.

## Output

Returns a JSON object containing the transaction ID (txid), the block height at which the transaction was confirmed, and the number of confirmations the transaction has received on the Bitcoin network.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "txid": "0000...",
  "block_height": 950000,
  "confirmations": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-node-api-bitcoin-transaction-lookup-983293a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from btcnode.uk](https://www.zero.xyz/host/btcnode.uk/llms.txt)
