# Landing en 24h Base64 Encoder/Decoder

> Landing en 24h Base64 Encoder/Decoder is a paid API for AI agents from landingen24h.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-28).

Encodes or decodes text to/from Base64, with optional URL-safe mode

## Facts

- Endpoint: POST https://landingen24h.com/api/x402/util/base64?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-28
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/landing-en-24h-base64-encoder-decoder-a4adf8a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-f_xZNoZkCe6O9tdXu4ZQ

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 landing-en-24h-base64-encoder-decoder-a4adf8a4 -d '<json body>'
```

Example prompt: Can you encode the text 'hello world' to Base64 using standard (not URL-safe) encoding?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call Base64 encode/decode without setting up your own infrastructure, especially within workflows already using the x402 micropayment protocol. It supports both standard and URL-safe Base64 variants and is suitable for small text payloads up to 3500 characters.

## Known failure modes

- Text exceeds 3500 character limit — request rejected
- Invalid mode value (not 'encode' or 'decode') — validation error
- Malformed Base64 input during decode — may return error or garbage output
- Empty text field — may return empty result or validation error
- Payment failure via x402 protocol — 402 response before processing

## How this service works

Landing page para tu negocio en 24 horas: textos, diseño para celular y botón de WhatsApp. Boceto gratis: ves la primera versión antes de pagar. USD 39 de lanzamiento.

## Output

Returns a JSON object containing the mode used ('encode' or 'decode'), the resulting Base64-encoded or decoded string in the 'result' field, whether url_safe mode was applied, and the number of input characters processed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "mode": {
   "enum": [
    "encode",
    "decode"
   ],
   "type": "string",
   "default": "encode"
  },
  "text": {
   "type": "string",
   "maxLength": 3500
  },
  "url_safe": {
   "type": "boolean",
   "default": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "encode",
  "result": "aGVsbG8gd29ybGQ=",
  "url_safe": false,
  "input_chars": 11
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/landing-en-24h-base64-encoder-decoder-a4adf8a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from landingen24h.com](https://www.zero.xyz/host/landingen24h.com/llms.txt)
