# AgentShield Bech32 Checksum Validator

> AgentShield Bech32 Checksum Validator is a paid API for AI agents from agentshield.live, paid per call via x402, $0.004/call, status unknown (last checked 2026-11-21).

Validates the BIP-173 Bech32 checksum of a given string and returns a pass/fail result without decoding the payload.

## Facts

- Endpoint: GET https://agentshield.live/bech32?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentshield-bech32-checksum-validator-c1c39a2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tJw-Xz4ZS3i2vXyHbpEoj

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 agentshield-bech32-checksum-validator-c1c39a2f
```

Example prompt: Can you check whether 'bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4' has a valid BIP-173 Bech32 checksum?

## When to prefer this

Use this endpoint when you need a quick, lightweight BIP-173 Bech32 checksum validation without requiring payload decoding. Ideal for pre-flight checks on Bitcoin native segwit addresses, Lightning invoices, or any Bech32-encoded string before further processing. Choose this over a full address decoder when only checksum validity matters and decoded data is not needed.

## Known failure modes

- Invalid or malformed Bech32 string returns a failed checksum result
- Non-Bech32 strings may return an error or invalid status
- Missing 'code' query parameter results in a 400 bad request
- Service unavailability returns 5xx errors
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Call when an agent needs a BIP-173 Bech32 checksum check. Decoded payload is not returned. Not a balance.

## Output

A pass or fail result indicating whether the provided Bech32 string has a valid BIP-173 checksum. The decoded payload is not returned, only the checksum validity outcome.

## 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": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Bech32 string. The decoded payload is not returned."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "hrp": "a",
  "known": true,
  "valid": true,
  "data_symbols": 6
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentshield-bech32-checksum-validator-c1c39a2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
