# Bolt Base64 Encode/Decode

> Bolt Base64 Encode/Decode is a paid API for AI agents from datsavalt.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-05).

Encodes or decodes a text string using Base64 encoding

## Facts

- Endpoint: POST https://datsavalt.vercel.app/api/base64?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-05
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/bolt-base64-encode-decode-cd4fdf09
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dJI-SARtGxsd5VFiFUJI6

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 bolt-base64-encode-decode-cd4fdf09 -d '<json body>'
```

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

## When to prefer this

Use this endpoint when your agent needs a quick, pay-per-use Base64 encode or decode operation without setting up a local library. Ideal for agents operating in environments where code execution is restricted, or when you want a consistent API-based approach to encoding/decoding as part of a larger pipeline.

## Known failure modes

- Invalid Base64 string passed to decode action — may return an error or malformed result
- Missing required 'text' field returns a validation error
- Passing an unsupported action value outside the 'encode'/'decode' enum may cause an error
- Network or server-side errors may return success: false with no data

## How this service works

Utility toolkit for AI agents. 54 endpoints — tools, data, and AI processing. Pay per request in USDC via x402.

## Output

Returns a JSON object with a success boolean and a data object containing the result of the encode or decode operation — either the Base64-encoded version of the input text, or the original plaintext decoded from a Base64 string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "action": {
   "enum": [
    "encode",
    "decode"
   ],
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

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