# Morse Code Encoder

> Morse Code Encoder is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-14).

Encodes text into international Morse code dot-dash sequences

## Facts

- Endpoint: GET https://api.x402node.dev/encode/morse
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-f89b7ce6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lh0o1bAZ8VAmJnnjICzDb

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 api-x402node-dev-f89b7ce6
```

Example prompt: Convert the message 'HELP WE ARE STRANDED' into Morse code dot-dash notation so I can transmit it.

## When to prefer this

Use this endpoint when you need to convert plain text to standard international Morse code notation, such as for amateur radio applications, educational tools, accessibility features, SOS encoding, or fun text conversions. Prefer this over manual lookup tables when automating Morse encoding at scale.

## Known failure modes

- Unsupported characters in input text (non-ASCII or symbols without Morse equivalents) may return an error or skip characters
- Empty input string returns an error
- Payment failure (402) if USDC balance is insufficient or x402 header is missing

## How this service works

Morse code encoder/decoder, international Morse, dot-dash, amateur radio, SOS, signal encoding, accessibility, fun text conversion. Accepts payment on Base or Solana — either network works.

## Output

Returns the input text encoded as international Morse code, with dots and dashes representing each character and spaces separating letters or words.

## Example request

```json
{
 "text": "HELLO WORLD"
}
```

## 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": "Operation mode (optional)"
      },
      "text": {
       "type": "string",
       "description": "Input text (required)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-f89b7ce6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
