# Base58Check P2PKH Decode

> Base58Check P2PKH Decode is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-02).

Decodes a Base58Check-encoded P2PKH Bitcoin address into its raw components (version byte, payload, checksum) without any network calls or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base58check-p2pkh-decode?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base58check-p2pkh-decode-201de3bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_76Q0k3hYHLAA1ID2efnWb

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 base58check-p2pkh-decode-201de3bf -d '<json body>'
```

Example prompt: Decode this Base58Check P2PKH Bitcoin address for me: '1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf' — I need the version byte, public key hash, and checksum.

## When to prefer this

Choose this endpoint when you need a fast, deterministic, offline decode of a Base58Check P2PKH Bitcoin address with no external network dependency and no LLM overhead. Ideal for blockchain data pipelines, address validation workflows, or any agent step that must parse legacy Bitcoin addresses at low cost ($0.004 USDC). If a free sandbox version is available (POST /v1/sandbox/base58check-p2pkh-decode), prefer that first.

## Known failure modes

- Input string is not valid Base58 characters — returns error indicating invalid encoding
- Checksum mismatch — decoded data fails checksum verification, returns error
- Input is a valid Base58Check string but not P2PKH format (wrong version byte) — returns error or flags mismatch
- Empty or oversized input (exceeds 100000 chars) — rejected by schema validation
- Input is a different Bitcoin address format (P2SH, Bech32) — not decoded correctly as P2PKH

## How this service works

Call when an agent needs text decoded with base58check-p2pkh. No network and no LLM. Exact $0.004 USDC. Prefer unpaid POST /v1/sandbox/base58check-p2pkh-decode first.

## Output

Returns the decoded components of the Base58Check P2PKH string, including the version byte, the 20-byte public key hash (payload), and the 4-byte checksum, along with a validity flag indicating whether the checksum matches.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "12L5B5yqsf7vwb"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Input for this SKU. The route description says whether it is plain text, a URL, base64 bytes, or an already-encoded token."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base58check-p2pkh-decode-201de3bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
