# Base58Check-P2PKH Encoder

> Base58Check-P2PKH Encoder is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-29).

Encodes arbitrary text using Base58Check encoding with P2PKH (Pay-to-Public-Key-Hash) format, purely offline with no network or LLM involvement.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/base58check-p2pkh-encode?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base58check-p2pkh-encoder-7ac8eef9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_r_44cMzcCtI2gQnvs1xVU

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-encoder-7ac8eef9 -d '<json body>'
```

Example prompt: Encode this public key hash using Base58Check P2PKH encoding: '00010966776006953d5567439e5e39f86a0d273beed61967f6'

## When to prefer this

Use this endpoint when you need a deterministic, offline Base58Check P2PKH encoding operation without spinning up a local library or runtime. Ideal for agent pipelines that need Bitcoin-style address encoding as a microservice step, especially when no local cryptographic tooling is available. Prefer the free sandbox endpoint (/v1/sandbox/base58check-p2pkh-encode) first to validate before paying.

## Known failure modes

- Input text is empty (minLength:1 violation) — validation error returned
- Input text exceeds 100,000 characters (maxLength violation) — validation error returned
- Invalid or malformed payload that cannot be encoded — encoding error response
- Payment failure if x402 payment header is missing or insufficient

## How this service works

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

## Output

Returns a Base58Check-encoded P2PKH string representing the input text/bytes. The output is a compact, checksummed, human-readable encoded string in the format used by Bitcoin legacy addresses. No network calls or AI inference are involved in the computation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "Hello, World!"
   ],
   "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-encoder-7ac8eef9/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)
