# btcnode.uk Bitcoin Transaction Lookup

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

Look up a Bitcoin transaction by its txid, returning confirmation count, block height, and raw transaction data from a live Bitcoin Core node

## Facts

- Endpoint: GET https://btcnode.uk/api/tx/:hash
- Price: $0.005000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btcnode-uk-4671b95a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FI_8JkwzDh2zRa8x5Tvv0

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 btcnode-uk-4671b95a
```

Example prompt: Can you look up the Bitcoin transaction with txid a1b2c3d4e5f6... and tell me how many confirmations it has and which block it was included in?

## When to prefer this

Use this endpoint when you need authoritative, real-time Bitcoin transaction data directly from a full node rather than a third-party block explorer API. Ideal when you need confirmation count, block height, or raw tx data with high reliability and no dependence on a centralized aggregator.

## 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
- Unconfirmed mempool transaction may return zero confirmations or incomplete block data
- Node temporarily unavailable returns 5xx error
- Rate limiting or payment failure returns 402 Payment Required

## How this service works

Bitcoin transaction lookup by txid — confirmations, block height, raw tx data from a real Bitcoin Core node

## Output

Returns confirmation count, block height, and raw transaction data for the given Bitcoin transaction hash, sourced directly from a synced Bitcoin Core full node.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btcnode-uk-4671b95a/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)
