# Delx Base32 Encode/Decode

> Delx Base32 Encode/Decode is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Encodes or decodes text using Base32, returning the transformed result along with the mode used

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/base32
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-base32-encode-decode-082a960c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__xX8lR6foJVHgpCpztlRb

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 delx-base32-encode-decode-082a960c -d '<json body>'
```

Example prompt: Can you Base32-encode this TOTP seed string for me: 'JBSWY3DPEHPK3PXP'? Set the mode to encode.

## When to prefer this

Choose this endpoint when an agent needs deterministic, first-party Base32 encoding or decoding without setting up an API key or subscription — especially for TOTP seed preparation, transport-safe blob encoding, or ID conversions. Prefer it over running client-side code when the agent environment lacks a Base32 library or when auditability of a paid, logged call is desirable. Not suited for large binary files or streaming workloads.

## Known failure modes

- Invalid Base32 input when decoding (malformed characters or padding) returns a structured validation error with no charge
- Text exceeding 100,000 characters is rejected
- Missing or invalid mode parameter may default or return an error
- Payment failure via x402 results in a 402 response before processing

## How this service works

Base32 encode or decode. Use when agents must interchange codes for TOTP seeds, IDs, or transport-safe blobs. Returns encoded or decoded Base32 text with mode used. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a JSON object containing the transformed text (encoded or decoded Base32 result) and the mode that was applied (encode or decode), deterministically computed with no data retained.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "description": "Optional mode input."
  },
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Primary text input (max 100k chars). Processed first-party; not retained as a dataset."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "NBSWY3DPEBQWOZLOOQQHO33SNRSA====",
  "action": "encode",
  "schema": "delx/base32/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-base32-encode-decode-082a960c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
