# AgentShelf Base64 Decode

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

Decodes a base64-encoded string into its original plaintext representation, with no network calls or LLM involved.

## Facts

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

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 agentshelf-base64-decode-0e2f43ac -d '<json body>'
```

Example prompt: Can you decode this base64 string for me: 'SGVsbG8sIFdvcmxkIQ=='?

## When to prefer this

Use this endpoint when you need a reliable, deterministic base64 decode with no external network dependency or LLM inference. Prefer the free unpaid sandbox endpoint at POST /v1/sandbox/base64-decode first; fall back to this paid endpoint if the sandbox is unavailable or rate-limited. Choose this over an LLM-based decode when you need guaranteed correctness and exact output.

## Known failure modes

- Invalid base64 input (malformed or non-base64 characters) returns an error
- Input exceeds 100,000 character limit returns validation error
- Empty input string returns validation error
- Payment of $0.01 USDC not provided results in 402 Payment Required response

## How this service works

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

## Output

Returns the decoded plaintext string that was originally encoded in base64. The response contains the raw decoded content corresponding to the input encoded text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "examples": [
    "aGVsbG8="
   ],
   "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/agentshelf-base64-decode-0e2f43ac/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)
