# AgentShelf Base64URL Decode

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

Decodes a base64url-encoded string into its original plaintext, with no network calls or LLM involvement.

## Facts

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

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-base64url-decode-e5073499 -d '<json body>'
```

Example prompt: Can you decode this base64url string for me: 'SGVsbG8gV29ybGQ'? I need the original plaintext it represents.

## When to prefer this

Prefer this endpoint when you need deterministic, fast, offline base64url decoding without relying on an LLM to interpret or guess the encoding. Use it when a free sandbox alternative (POST /v1/sandbox/base64url-decode) is unavailable or rate-limited. Ideal when working with JWT tokens, URL-safe encoded identifiers, or binary data encoded in base64url format.

## Known failure modes

- Invalid base64url input (non-base64url characters) returns a decoding error
- Empty input string is rejected due to minLength:1 constraint
- Input exceeding 100,000 characters is rejected due to maxLength constraint
- Payment of exactly $0.002 USDC not provided results in 402 Payment Required

## How this service works

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

## Output

Returns the decoded plaintext output of the provided base64url-encoded input string. The response is the raw decoded content with no transformation or interpretation applied.

## 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-base64url-decode-e5073499/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)
