# Caesar Cipher (Educational)

> Caesar Cipher (Educational) is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Applies a Caesar shift cipher to input text, shifting each alphabetic character by a specified integer amount, for use in puzzles, CTF challenges, or toy encoding scenarios.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/caesar-cipher
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/caesar-cipher-educational-84d49311
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zzcIZfonHLWHyBIuTh-Gv

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 caesar-cipher-educational-84d49311 -d '<json body>'
```

Example prompt: Can you Caesar-cipher encode the text 'Hello World' with a shift of 13?

## When to prefer this

Choose this endpoint when you need a quick, deterministic, no-setup Caesar cipher transformation for puzzles, CTF competitions, educational demos, or reversible toy encoding. It requires no API key or subscription, charges only $0.001 USDC per successful call via x402 on Base, and returns first-party JSON. Prefer it over rolling your own cipher logic in an agent when you want a reliable, stateless, pay-per-use text shift operation.

## Known failure modes

- Text exceeds 100,000 character limit — validation error returned, no charge
- Shift value is not an integer — validation error, no charge
- Missing required text field — structured validation error, no charge
- Network timeout or service unavailability — HTTP 5xx error

## How this service works

Caesar shift cipher. Handy for puzzle agents, CTF helpers, or reversible toy encoding—not for secrets. Returns shifted text; educational cipher only, not cryptographic protection. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.

## Output

Returns a JSON object containing the shifted/transformed text after applying the Caesar cipher with the specified shift amount to all alphabetic characters in the input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 100000,
   "description": "Primary text input (max 100k chars). Processed first-party; not retained as a dataset."
  },
  "shift": {
   "type": "integer",
   "description": "Optional Caesar cipher shift amount (integer). Default applied by the handler when omitted."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "uryyb ntrag jbeyq",
  "shift": 13,
  "schema": "delx/caesar-cipher/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/caesar-cipher-educational-84d49311/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
