# Caesar Cipher / ROT13 Text Encoder-Decoder

> Caesar Cipher / ROT13 Text Encoder-Decoder is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-30).

Encodes or decodes text using a Caesar cipher shift (1–25 places, defaulting to ROT13), preserving case and leaving digits and punctuation unchanged.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/text/caesar?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-caesar-cipher-rot13-text-da755f12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JRvnnd5paxBzIFUJ7unOc

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 agent-data-tools-revmesh2074-workers-dev-caesar-cipher-rot13-text-da755f12
```

Example prompt: Can you ROT13-encode this text for me so I can hide a spoiler: 'Darth Vader is Luke's father'?

## When to prefer this

Use this endpoint when you need a simple, deterministic letter-shifting transformation — especially ROT13 for spoiler hiding, puzzle encoding/decoding, or teaching Caesar cipher concepts. Prefer this over general text transformation APIs when you specifically need alphabet rotation with configurable shift amount and lossless round-tripping via decode mode.

## Known failure modes

- Missing 'text' parameter returns an error (text is required)
- Shift values outside -25 to 25 may be rejected or clamped
- Passing decode as a non-string may cause unexpected behavior
- Empty string input returns empty string output with no error
- Non-ASCII or Unicode characters outside A-Z/a-z pass through unchanged

## How this service works

566 pay-per-call tools for AI agents over HTTP or MCP, from $0.002 a call, most at $0.01. Every caller gets 25 free calls; then pay per call in USDC via x402 (Base, Polygon, Arbitrum, Solana) or by card with prepaid credits from /credits. No account needed; failed calls are never charged; per-tool reliability is public at /status. Crypto: token prices and wallet portfolios from Uniswap v3, chain reads on Base, Ethereum, Arbitrum, Optimism and Polygon, OFAC sanctions screening. Web: Read public static documentation, pages, PDFs and RSS feeds as clean text, plus link previews and sitemaps. Business: company profiles, domain and email checks. Also Bitcoin, FX, weather, holidays, geocoding, AI text, and JSON, date and validation utilities.

## Output

Returns a JSON object with the 'result' field containing the transformed text (letters shifted by the specified amount, case preserved, non-letters unchanged) and the 'shift' field confirming the shift value that was applied.

## 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": {
      "text": {
       "type": "string",
       "examples": [
        "Hello, World!"
       ],
       "description": "The text"
      },
      "shift": {
       "type": "integer",
       "examples": [
        13
       ],
       "description": "Places to shift, -25 to 25 (default 13 = ROT13)"
      },
      "decode": {
       "type": "string",
       "examples": [
        "false"
       ],
       "description": "true to shift back"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "shift": {
       "type": "number"
      },
      "result": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "shift": 13,
  "result": "Uryyb, Jbeyq!"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-caesar-cipher-rot13-text-da755f12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
