# Agent Data Tools – Bitcoin Address Lookup

> Agent Data Tools – Bitcoin Address Lookup is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Looks up live balance, transaction count, and transfer history for a Bitcoin mainnet address

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/btc-address?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-bitcoin-address-lookup-736ba01a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-Xsxz8UjE7gAMkZLAgUs8

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 agent-data-tools-bitcoin-address-lookup-736ba01a
```

Example prompt: What's the current BTC balance and total number of transactions for the Bitcoin address bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh?

## When to prefer this

Choose this endpoint when you need live on-chain Bitcoin address data (balance, transaction history) without setting up an API key or account — ideal for agents that need pay-per-call blockchain lookups billed in USDC on Base via x402, supporting legacy (1...), P2SH (3...), and native SegWit (bc1...) address formats.

## Known failure modes

- Invalid or malformed Bitcoin address returns an error response
- Address not found on mainnet (e.g. testnet address) may return zero balances or an error
- Network timeouts from upstream blockchain data provider
- Payment failure via x402 if insufficient USDC balance on Base
- Rate limiting or worker errors from Cloudflare Workers host

## How this service works

Pay-per-call tools for AI agents: web page text extraction and summaries, screenshots, image generation, speech-to-text, image description, domain and email-auth intelligence, and live Base token and wallet lookups. No account or API key; pay per request in USDC on Base via x402.

## Output

Returns a JSON object containing the address, network identifier ('bitcoin'), current balance in BTC and satoshis, pending satoshis, total BTC sent, total BTC received, confirmed transaction count, and pending transaction count.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Bitcoin mainnet address (1..., 3... or bc1...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "address": "bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh",
  "network": "bitcoin",
  "balanceBtc": 3.92247777,
  "balanceSats": 392247777,
  "pendingSats": 0,
  "totalSentBtc": 12.87005839,
  "transactions": 1138,
  "totalReceivedBtc": 16.79253616,
  "pendingTransactions": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-bitcoin-address-lookup-736ba01a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
