# GeekVault Base64 Encoder/Decoder

> GeekVault Base64 Encoder/Decoder is a paid API for AI agents from api.geekvault.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-27).

Encodes plain text to Base64 or decodes Base64 strings back to plain text, paid per call via x402 USDC.

## Facts

- Endpoint: GET https://api.geekvault.dev/dev-tools/v1/base64?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geekvault-base64-encoder-decoder-106b3f12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ailysdUnpAKO1Y7-uRXPd

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 geekvault-base64-encoder-decoder-106b3f12
```

Example prompt: Can you Base64-encode the text 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you need a quick, no-signup Base64 encode or decode operation and are already operating in an x402/USDC payment context. Useful when your agent runtime doesn't have a native Base64 library or you need a consistent remote utility call for encoding/decoding without managing API keys or subscriptions.

## Known failure modes

- Missing 'input' parameter returns a 400-style error
- Invalid Base64 string provided in decode mode may return an error or garbled output
- Payment failure via x402 (insufficient USDC balance) blocks the call
- Invalid mode value (not 'encode' or 'decode') may default to encode or return an error

## How this service works

Network, docs, image, web, and dev utility tools paid per call via x402. No signup, no API keys, no subscriptions — just USDC on Base.

## Output

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "mode": {
   "type": "string",
   "description": "`encode` o `decode`. Por defecto `encode`."
  },
  "input": {
   "type": "string",
   "description": "Texto de entrada."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "mode",
  "output"
 ],
 "properties": {
  "mode": {
   "type": "string"
  },
  "output": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geekvault-base64-encoder-decoder-106b3f12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.geekvault.dev](https://www.zero.xyz/host/api.geekvault.dev/llms.txt)
