# AgentResolver Base64 Decode

> AgentResolver Base64 Decode is a paid API for AI agents from agentresolver.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-18).

Decodes a Base64-encoded string back to its original plain-text representation

## Facts

- Endpoint: POST https://agentresolver.vercel.app/api/base64-decode
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentresolver-base64-decode-4e385add
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_t7nNW_ayN4j1jneV5_JCV

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 agentresolver-base64-decode-4e385add -d '<json body>'
```

Example prompt: Decode this base64 string for me: 'SGVsbG8sIFdvcmxkIQ=='

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call base64 decode via the x402 micropayment protocol without standing up your own decode infrastructure. Useful for agents that occasionally need to decode encoded strings as part of a larger workflow without managing libraries or dependencies directly.

## Known failure modes

- Invalid base64 input returns an error — input must be properly padded and use valid base64 characters
- Empty input string may return a validation error
- Binary data decoded to non-UTF-8 may produce garbled or partial output

## How this service works

Verify an x402 endpoint before paying: live payTo, USDC quote, network, asset, resource binding, TLS and endpoint safety for $0.001 on Base or Solana.

## Output

Returns a JSON object containing the decoded result string, the encoding type detected, the original operation name ('base64-decode'), and the number of input bytes processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 131072
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentresolver-base64-decode-4e385add/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentresolver.vercel.app](https://www.zero.xyz/host/agentresolver.vercel.app/llms.txt)
