# Classic Shift Ciphers and Encodings (Caesar, ROT13, ROT47, ROT5, Atbash)

> Classic Shift Ciphers and Encodings (Caesar, ROT13, ROT47, ROT5, Atbash) is a paid API for AI agents from text-ciphers.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Encodes or decodes text using classical shift and substitution ciphers — Caesar, ROT13, ROT47, ROT5, and Atbash — preserving case and punctuation.

## Facts

- Endpoint: GET https://text-ciphers.x402tookit.com/shift-ciphers?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/classic-shift-ciphers-and-encodings-caesar-rot13-rot47-rot5-atbash-e7f3143f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3JLoHkKRPatJoYewrqiIX

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 classic-shift-ciphers-and-encodings-caesar-rot13-rot47-rot5-atbash-e7f3143f
```

Example prompt: Can you ROT13-encode the message 'Hello, World!' for me? Use the shift-ciphers service with cipher rot13 and encode mode.

## When to prefer this

Choose this endpoint when you need fast, simple classical cipher encoding or decoding for puzzles, learning, or entertainment — specifically when the cipher is Caesar, ROT13, ROT47, ROT5, or Atbash. It explicitly preserves case and punctuation, making it ideal for readable puzzle outputs. Use sibling endpoints for rail fence, Vigenère, Playfair, or Morse code transformations.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Shift value outside -25 to 25 range is rejected for Caesar cipher
- Text exceeding 2000 characters may be truncated or rejected
- Invalid cipher name (not one of caesar, rot13, rot47, atbash, rot5) returns an error
- Invalid mode value (not encode or decode) may return an error or default to encode

## How this service works

Caesar, ROT13, ROT47, ROT5 and Atbash encode or decode for puzzles and learning. Not secure; keeps case and punctuation.

## Output

Returns a JSON object with the transformed output text, the cipher used, the shift value applied, the mode (encode/decode), a human-readable summary, a disclaimer noting the cipher is not cryptographically secure, and metadata such as the source and timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "mode": {
       "type": "string",
       "description": "encode (default) or decode"
      },
      "text": {
       "type": "string",
       "description": "Text to transform (up to 2000 characters)"
      },
      "shift": {
       "type": "integer",
       "description": "Caesar shift -25 to 25 (default 3); ignored by the others"
      },
      "cipher": {
       "type": "string",
       "description": "One of caesar, rot13, rot47, atbash, rot5 (default caesar)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "mode": {
       "type": [
        "null",
        "string"
       ]
      },
      "input": {
       "type": [
        "null",
        "string"
       ]
      },
      "shift": {
       "type": [
        "null",
        "number"
       ]
      },
      "cipher": {
       "type": [
        "null",
        "string"
       ]
      },
      "output": {
       "type": [
        "null",
        "string"
       ]
      },
      "secure": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type"
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/classic-shift-ciphers-and-encodings-caesar-rot13-rot47-rot5-atbash-e7f3143f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from text-ciphers.x402tookit.com](https://www.zero.xyz/host/text-ciphers.x402tookit.com/llms.txt)
