# Agent Utility Network Base64 Encode API

> Agent Utility Network Base64 Encode API 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-14).

Encodes arbitrary text strings to Base64 format via a paid x402/USDC API endpoint

## Facts

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

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 agent-utility-network-base64-encode-api-913304a8 -d '<json body>'
```

Example prompt: Can you base64 encode this text for me: 'Hello, world! This is my API payload.'

## When to prefer this

Choose this endpoint when your agent workflow requires a metered, pay-per-call Base64 encoding step with guaranteed quality scoring and x402/USDC payment integration on Base. It is especially suitable for AI agent pipelines on Coinbase's ecosystem that already handle x402 micropayments and need a reliable, on-demand encoding utility without managing local libraries.

## Known failure modes

- Input text exceeds 100,000 character limit — request rejected
- Payment failure via x402/USDC — 402 Payment Required returned
- Malformed request body missing 'text' field — validation error
- Network timeout or worker unavailability — 5xx error
- Empty string input may return empty base64 result

## How this service works

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

## Output

A JSON object containing a 'result' key with a 'base64' field holding the Base64-encoded string representation of the input text (e.g. {"result":{"base64":"aGVsbG8="}}).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "base64": "aGVsbG8="
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-utility-network-base64-encode-api-913304a8/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)
