# Base58 Encoding (Bitcoin Alphabet)

> Base58 Encoding (Bitcoin Alphabet) is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Encodes a hex-prefixed binary value or raw text string into Base58 using the Bitcoin alphabet

## Facts

- Endpoint: POST https://twin.unykorn.org/encode-base58?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base58-encoding-bitcoin-alphabet-9932f9b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IiHas4AnwnpsoLzCIXZmD

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 base58-encoding-bitcoin-alphabet-9932f9b6 -d '<json body>'
```

Example prompt: Base58-encode this hex value for me using the Bitcoin alphabet: 0x00010966776006953d5567439e5e39f86a0d273beed61967f6

## When to prefer this

Choose this endpoint when you need deterministic Base58 encoding using specifically the Bitcoin alphabet (123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz) and can accept a pay-per-call micropayment model. Ideal for blockchain agents that need to derive Bitcoin addresses, encode wallet keys, or serialize binary data for Bitcoin-compatible tools without running a local codec library.

## Known failure modes

- Invalid hex format (not 0x-prefixed) returns an error
- Text input exceeding 49152 characters is rejected
- Payment failure via x402 protocol prevents execution
- Malformed JSON body returns 400-level error
- Network timeout or server unavailability returns 5xx

## How this service works

Base58 encoding (Bitcoin alphabet) — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok: true, the Base58-encoded string result, the encoding type identifier ('encode-base58'), and a payment receipt containing the transaction hash, USD amount charged, and a unique receipt ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "hex": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]*$"
    },
    "text": {
     "type": "string",
     "maxLength": 49152
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "encode-base58",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.001,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base58-encoding-bitcoin-alphabet-9932f9b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
