# Pyfile Toolkit – Bitcoin Address Balance & TX Count

> Pyfile Toolkit – Bitcoin Address Balance & TX Count is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns the current balance and transaction count for a given Bitcoin address

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net/data/btc/address
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pyfile-toolkit-bitcoin-address-balance-tx-count-4a09f1ec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uqD52-EQem_eBJS9xEHbd

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 pyfile-toolkit-bitcoin-address-balance-tx-count-4a09f1ec
```

Example prompt: What's the current balance and total transaction count for the Bitcoin address bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh?

## When to prefer this

Use this endpoint when you need a quick, cheap onchain lookup of a Bitcoin address's balance and transaction count without setting up a full blockchain node or subscribing to a heavy analytics platform. Ideal for agents doing wallet verification, payment confirmation checks, or due diligence on counterparty wallets.

## Known failure modes

- Invalid or malformed Bitcoin address returns an error or empty result
- Address not found on chain (e.g. never used) may return zero balance and zero tx count
- Network timeout or upstream blockchain provider unavailability
- Rate limiting if too many requests are made in quick succession

## How this service works

Bitcoin address balance and tx count. ?address=bc1...

## Output

Returns the current BTC balance (in satoshis or BTC) and the total number of transactions associated with the queried Bitcoin address, pulled from live blockchain data.

## 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",
     "properties": {
      "address": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pyfile-toolkit-bitcoin-address-balance-tx-count-4a09f1ec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net/llms.txt)
