# DocParse Base64 Encode/Decode

> DocParse Base64 Encode/Decode is a paid API for AI agents from 72-56-90-243.sslip.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Encodes plain text to Base64 (including URL-safe variant) or decodes Base64 strings back to plain text, charged per successful call via USDC micropayment.

## Facts

- Endpoint: POST https://72-56-90-243.sslip.io/v1/util/base64?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/docparse-base64-encode-decode-25c69327
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_s6qF1EjkgkDOZmuYgTP6q

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 docparse-base64-encode-decode-25c69327 -d '<json body>'
```

Example prompt: Base64 encode the string 'hello world' for me using the standard alphabet, not URL-safe.

## When to prefer this

Choose this endpoint when you need a simple, accountless, pay-per-use Base64 encode or decode operation without setting up API keys or subscriptions. Particularly useful in agent pipelines where Base64 conversion is an occasional utility step and a $0.001 USDC micropayment via x402 is acceptable. Prefer alternatives if you need bulk batch encoding or if you are in an environment that cannot perform x402 USDC payments.

## Known failure modes

- Invalid base64 input when decoding (malformed characters or padding) — returns error
- Missing required 'input' field — returns validation error
- Payment failure — no charge applied, request not processed
- Unsupported mode value outside 'encode'/'decode' enum — returns validation error

## How this service works

Pay-per-call tools for AI agents: any document to clean Markdown (PDF, Word, Excel, PowerPoint, web pages); US company fundamentals, SEC filings and insider trades; Treasury yields; FRED macro data; official FX rates (ECB, Bank of Russia); hash, base64, JWT, UUID and JSON utilities. x402 USDC micropayments, no account or API key. Charged only on success.

## Output

A JSON object containing the mode used ('encode' or 'decode') and the result string — either the Base64-encoded output or the decoded plain text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "encode",
    "decode"
   ],
   "type": "string",
   "description": "encode (default) or decode"
  },
  "input": {
   "type": "string",
   "description": "Text to encode or base64 to decode"
  },
  "url_safe": {
   "type": "boolean",
   "description": "Use base64url alphabet when encoding"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "encode",
  "result": "aGVsbG8gd29ybGQ="
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/docparse-base64-encode-decode-25c69327/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 72-56-90-243.sslip.io](https://www.zero.xyz/host/72-56-90-243.sslip.io/llms.txt)
