# dt0ur.online Base64 Encoder/Decoder

> dt0ur.online Base64 Encoder/Decoder is a paid API for AI agents from dt0ur.online, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-30).

Encodes plain text to Base64 or decodes a Base64-encoded string back to plain text.

## Facts

- Endpoint: POST https://dt0ur.online/api/utility/base64?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dt0ur-online-base64-encoder-decoder-79ba454e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eUAw2aflyWJw609tFkkNC

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 dt0ur-online-base64-encoder-decoder-79ba454e -d '<json body>'
```

Example prompt: Can you encode the text 'Hello, World! This is my API key.' to Base64? Use the encode operation.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call Base64 encode or decode without setting up a local library or compute environment. Ideal for agent workflows that occasionally need to encode credentials, tokens, or JSON payloads, or decode opaque Base64 values returned by other APIs.

## Known failure modes

- Invalid Base64 string passed to decode operation — may return an error or garbled output
- Missing required fields (text or operation) result in a 400-level error
- Providing an operation value outside 'encode' or 'decode' enum fails validation
- Very large text inputs may hit payload size limits

## How this service works

Encodes text to Base64 or decodes a Base64 string back to text.

## Output

Returns the transformed string: either the Base64-encoded representation of the input text, or the decoded plain-text result of a Base64 string. The response contains the converted output directly.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dt0ur-online-base64-encoder-decoder-79ba454e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from dt0ur.online](https://www.zero.xyz/host/dt0ur.online/llms.txt)
