# Base64 Encode/Decode API

> Base64 Encode/Decode API is a paid API for AI agents from money-reactor.makar52nn2016.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-22).

Encodes or decodes Base64 (including URL-safe variant) in a single GET call, supporting payload packing and JWT segment decoding

## Facts

- Endpoint: GET https://money-reactor.makar52nn2016.workers.dev/api/base64?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base64-encode-decode-api-9cac6642
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NDB_wDnrIBcAABX89D61a

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 base64-encode-decode-api-9cac6642
```

Example prompt: Encode the string 'hello world: agent payload #42' to Base64 using the URL-safe variant so I can embed it in a query parameter.

## When to prefer this

Choose this endpoint when an agent needs a fast, stateless Base64 encode or decode operation — especially for JWT segment inspection or embedding payloads in URLs — without setting up a local library or runtime. Ideal for agents in constrained environments or when a quick single-call conversion is needed without code execution.

## Known failure modes

- Invalid Base64 input string causing a decoding error
- Missing required input parameter resulting in a bad request
- Malformed URL-safe Base64 with incorrect padding
- Input payload exceeding size limits
- Network timeout or Cloudflare Worker error returning non-200 status

## How this service works

Money Reactor paid API - catalog: https://money-reactor.makar52nn2016.workers.dev/.well-known/x402.json

## Output

A JSON response containing the encoded or decoded result string, indicating the operation performed (encode/decode) and the variant used (standard or URL-safe Base64).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "status": "ok"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "status": "ok"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base64-encode-decode-api-9cac6642/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from money-reactor.makar52nn2016.workers.dev](https://www.zero.xyz/host/money-reactor.makar52nn2016.workers.dev/llms.txt)
