# Bitcoin Address Checksum Validator (Offline)

> Bitcoin Address Checksum Validator (Offline) is a paid API for AI agents from bitcoin-network.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Validates a Bitcoin address checksum offline, identifying its encoding type (base58check, bech32, bech32m) and network (mainnet or testnet) without querying the blockchain.

## Facts

- Endpoint: GET https://bitcoin-network.x402tookit.com/btc-address-validate?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bitcoin-address-checksum-validator-offline-803d1397
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gTP_WxL3rRxxnk1ZuFCSm

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 bitcoin-address-checksum-validator-offline-803d1397
```

Example prompt: Can you check whether bc1qar0srrr7xfkvy5l643lydnw9re59gtzzwf5mdq is a valid Bitcoin address and tell me its type and network?

## When to prefer this

Choose this endpoint when you need fast, offline format and checksum validation of a Bitcoin address before sending funds or storing the address — it does not hit the blockchain, so it is ideal for pre-flight checks in payment flows, user input validation, and address sanitization pipelines. Use the sibling balance-checking endpoint if you also need on-chain balance and transaction history.

## Known failure modes

- Invalid or malformed address returns a failed verdict with reasons explaining the checksum or format error
- Missing required 'address' query parameter returns a 400-level error
- An address with a valid checksum but unknown or ambiguous prefix may return partial type information
- Network connectivity issues to the API itself (though validation is offline, the HTTP call may fail)

## How this service works

Validate a Bitcoin address checksum offline: base58check or bech32/bech32m, with type and network (mainnet or test).

## Output

Returns a structured object containing: verdict (valid/invalid), address type (P2PKH, P2SH, P2WPKH, P2WSH, P2TR, etc.), network (mainnet or testnet), witness version (for SegWit addresses), a human-readable summary, reasons for any failure, a list of unchecked properties, a degraded flag, and an asOf timestamp. All validation is performed offline without blockchain queries.

## 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 address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "type": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "network": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "payloadHash": {
       "type": [
        "null",
        "string"
       ]
      },
      "witnessVersion": {
       "type": [
        "null",
        "number"
       ]
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/bitcoin-address-checksum-validator-offline-803d1397/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from bitcoin-network.x402tookit.com](https://www.zero.xyz/host/bitcoin-network.x402tookit.com/llms.txt)
