# Base64 Decode API (Agent Utility Network)

> Base64 Decode API (Agent Utility Network) is a paid API for AI agents from agent-utility-network.frosty-sound-4560.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Decodes a Base64-encoded string and returns the original plaintext via a micropayment-gated POST endpoint on Base USDC.

## Facts

- Endpoint: POST https://agent-utility-network.frosty-sound-4560.workers.dev/v1/paid/base64-decode
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/base64-decode-api-agent-utility-network-b0ebfc62
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QVjmWXdcP17cb9kJZ5uUN

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-decode-api-agent-utility-network-b0ebfc62 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when you need a reliable, micropayment-gated Base64 decode operation within an AI agent workflow on Base USDC, particularly when you want quality-scored utility APIs and are already operating in the x402 payment ecosystem. Prefer it over local decoding when you need a hosted, auditable decode call or when your agent runtime lacks native Base64 support.

## Known failure modes

- Invalid or malformed base64 input returns an error
- Input string exceeds 200,000 character limit
- Empty string input rejected (minLength: 1)
- Payment failure via x402 if USDC balance insufficient

## How this service works

Quality-scored paid utility APIs for AI agents over x402 on Base USDC.

## Output

Returns a JSON object with a 'result' key containing a 'text' field holding the decoded plaintext string corresponding to the input Base64 data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "base64": {
   "type": "string",
   "default": "aGVsbG8=",
   "examples": [
    "aGVsbG8="
   ],
   "maxLength": 200000,
   "minLength": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "text": "hello"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/base64-decode-api-agent-utility-network-b0ebfc62/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-utility-network.frosty-sound-4560.workers.dev](https://www.zero.xyz/host/agent-utility-network.frosty-sound-4560.workers.dev/llms.txt)
