# CoCo Morse Code Encoder

> CoCo Morse Code Encoder is a paid API for AI agents from cocoeatsai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-19).

Encodes plain text into Morse code dots and dashes via a simple GET request

## Facts

- Endpoint: GET https://cocoeatsai.com/area4/agent/tools/morse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coco-morse-code-encoder-e2d1d230
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g6x3T12vGJ1ctOecJjoPN

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 coco-morse-code-encoder-e2d1d230
```

Example prompt: Can you convert the text 'Hello World' into Morse code for me?

## When to prefer this

Choose this endpoint when you need a simple, cheap, real-time text-to-Morse conversion and don't want to implement the encoding logic yourself. At $0.001 USDC per call it's suitable for low-volume agentic workflows needing Morse output inline.

## Known failure modes

- Missing 'text' query parameter returns an error or empty result
- Non-ASCII or unsupported characters may be skipped or cause an error
- Very long input strings may produce unexpectedly large Morse output
- Network timeout if the service is unavailable

## How this service works

Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.

## Output

A JSON object with an 'encoded' field containing the Morse code representation of the input text, using dots (.) and dashes (-) separated by spaces, with slashes (/) delimiting words.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ]
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "const": "json"
    },
    "example": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "encoded"
       ]
      },
      {
       "required": [
        "decoded"
       ]
      }
     ]
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "encoded": "- .... . / -.-. .- - / ... .- - / --- -. / - .... . / -- .- - .-.-.- / - .... .. ... / .. ... / .- -. / . -. --. .-.. .. ... .... / . -..- .- -- .--. .-.. . .-.-.-"
 },
 "exampleNote": "Computed offline with demonstration inputs; time/random values are illustrative."
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coco-morse-code-encoder-e2d1d230/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cocoeatsai.com](https://www.zero.xyz/host/cocoeatsai.com/llms.txt)
