# Bitcoin Transaction Trace (2-Hop Fund Flow)

> Bitcoin Transaction Trace (2-Hop Fund Flow) is a paid API for AI agents from btcnode.uk, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Traces a Bitcoin transaction's inputs and outputs across 2 hops to follow fund flows for chain analysis

## Facts

- Endpoint: GET https://btcnode.uk/api/trace/:txid
- Price: $0.005/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-19d7311c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e8g0KZYJQ8hfp_tuq-8dC

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-19d7311c
```

Example prompt: Can you trace the fund flow for Bitcoin transaction a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d — walk through the inputs and outputs 2 hops deep so I can see where the money came from and where it went?

## When to prefer this

Choose this endpoint when you need lightweight 2-hop Bitcoin transaction graph analysis without running your own node. Ideal for investigating fund flows, tracing transaction origins, or performing basic chain analysis on a specific txid. Prefer this over full blockchain explorers when you need structured, programmatic hop-by-hop data rather than a UI.

## Known failure modes

- Invalid or malformed txid returns an error
- Transaction not found on the Bitcoin blockchain returns 404 or empty result
- Very large or coinbase transactions may have complex graphs that are slower to resolve
- Network or node sync lag may cause recent transactions to be missing
- Payment not included or expired returns 402 Payment Required

## How this service works

Bitcoin transaction trace — walk inputs/outputs through 2 hops to follow funds. Unique chain analysis on x402.

## Output

A structured map of the transaction's inputs and outputs traced up to 2 hops, showing connected transactions and fund flow paths useful for blockchain chain analysis and fund origin/destination investigation.

## More

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