# Morse Code Encoder/Decoder (ITU-R M.1677)

> Morse Code Encoder/Decoder (ITU-R M.1677) is a paid API for AI agents from text-ciphers.x402tookit.com, paid per call via x402, $0.02/call, status down (last checked 2026-10-24).

Encodes plain text to Morse code or decodes Morse code back to text, with precise dot/dash timing in units and milliseconds at a configurable words-per-minute speed.

## Facts

- Endpoint: GET https://text-ciphers.x402tookit.com/morse?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: down
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/morse-code-encoder-decoder-itu-r-m-1677-63e43196
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jULKVemn3t3lh5eYalaAz

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 morse-code-encoder-decoder-itu-r-m-1677-63e43196
```

Example prompt: Encode 'Hello World' into Morse code at 20 words per minute and give me the dot, dash, and gap timings in milliseconds.

## When to prefer this

Choose this endpoint when you need standards-compliant ITU-R M.1677 Morse code conversion with precise timing data (dot/dash/gap durations in ms and units) at a configurable speed. It is ideal for amateur radio applications, educational tools, or any scenario requiring both the Morse pattern and accurate transmission timing, as opposed to a simple dot-dash lookup table.

## Known failure modes

- Unsupported characters in input text (non-ASCII or characters without Morse equivalents) may be skipped or flagged in the 'unsupported' field
- Invalid WPM value outside 1–60 range may cause an error or be clamped to defaults
- Malformed Morse input (incorrect separator usage) when decoding may produce unexpected results
- Missing required 'text' query parameter will return an error

## How this service works

Morse code encode or decode (ITU-R M.1677) with dot/dash timing in units and milliseconds at a chosen words per minute.

## Output

Returns the encoded Morse code string (dots, dashes, spaces) or decoded plain text, along with full ITU-R M.1677 timing data including dot duration, dash duration, unit duration, letter gap, word gap, total units, and total milliseconds at the requested WPM speed.

## 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": {
      "wpm": {
       "type": "number",
       "description": "Speed in words per minute using the PARIS standard, 1 to 60 (default 20)"
      },
      "mode": {
       "type": "string",
       "description": "encode (default) or decode"
      },
      "text": {
       "type": "string",
       "description": "Text to encode, or Morse to decode (letters separated by spaces, words by /)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "mode": {
       "type": [
        "null",
        "string"
       ]
      },
      "text": {
       "type": [
        "null",
        "string"
       ]
      },
      "morse": {
       "type": [
        "null",
        "string"
       ]
      },
      "secure": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "timing": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "wpm": {
         "type": [
          "null",
          "number"
         ]
        },
        "dotMs": {
         "type": [
          "null",
          "number"
         ]
        },
        "dashMs": {
         "type": [
          "null",
          "number"
         ]
        },
        "unitMs": {
         "type": [
          "null",
          "number"
         ]
        },
        "totalMs": {
         "type": [
          "null",
          "number"
         ]
        },
        "wordGapMs": {
         "type": [
          "null",
          "number"
         ]
        },
        "totalUnits": {
         "type": [
          "null",
          "number"
         ]
        },
        "letterGapMs": {
         "type": [
          "null",
          "nu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/morse-code-encoder-decoder-itu-r-m-1677-63e43196/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)
