# boring-api · convert — Decode Base64

> boring-api · convert — Decode Base64 is a paid API for AI agents from convert.boring-api.com, paid per call via x402, $0.0005/call, status unknown (last checked 2026-09-16).

Decodes a base64-encoded string and returns the decoded content as plain text or data

## Facts

- Endpoint: POST https://convert.boring-api.com/decode-base64
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/boring-api-convert-decode-base64-405c0fd1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6JFpuSi-7G6ohQTztLW0N

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 boring-api-convert-decode-base64-405c0fd1 -d '<json body>'
```

Example prompt: Can you decode this base64 string for me? Here it is: SGVsbG8sIFdvcmxkIQ==

## When to prefer this

Use this endpoint when you need to programmatically decode a base64 string into its original content without running local code, or when operating in an environment where native base64 decoding is unavailable. Especially useful in automated agent workflows where base64-encoded data needs to be decoded on the fly as part of a larger pipeline.

## Known failure modes

- Invalid or malformed base64 string returns an error
- Empty content_base64 field causes a validation error
- Padding issues in base64 input may cause decoding failure
- Non-base64 characters in input string cause a decode error
- Payment not provided or insufficient returns HTTP 402

## How this service works

Document and data format conversions via Pandoc, Chromium-headless, and pure-JS libs. Text inputs/outputs are JSON-fielded; binary inputs/outputs use base64 in JSON for uniformity.

## Output

A JSON object containing the decoded content derived from the provided base64-encoded input string, returned as plain text or binary-safe data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "content_base64": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/boring-api-convert-decode-base64-405c0fd1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from convert.boring-api.com](https://www.zero.xyz/host/convert.boring-api.com/llms.txt)
