# Double Metaphone Encoder

> Double Metaphone Encoder is a paid API for AI agents from similarity.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Encodes a word using the Double Metaphone algorithm, returning both a primary and secondary phonetic code to capture alternate pronunciations, especially for non-English names.

## Facts

- Endpoint: POST https://similarity.openverbs.com/v1/double-metaphone
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/double-metaphone-encoder-6af5d9d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ryPvD92BDr2ICwNAnS2mj

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 double-metaphone-encoder-6af5d9d3 -d '<json body>'
```

Example prompt: Can you get the Double Metaphone phonetic codes for the name 'Schwarzenegger' so I can use them for fuzzy name matching?

## When to prefer this

Choose Double Metaphone over Soundex or basic Metaphone when handling non-English names (especially names of Slavic, Asian, or Middle Eastern origin) where alternate pronunciations need to be captured. The secondary code makes it superior for cross-cultural name matching. Prefer this over Soundex for any serious phonetic deduplication or search task where name diversity is expected.

## Known failure modes

- Empty or missing 'word' field returns a validation error
- Word exceeding 256 characters is rejected
- Non-string input types cause schema validation failure
- Payment failure (x402) blocks the request
- Network timeout on slow connections

## How this service works

Encode a word with Double Metaphone, returning a primary and a secondary code to capture alternate pronunciations (useful for non-English names).

## Output

Returns a primary Double Metaphone code and a secondary code (if an alternate pronunciation exists) for the submitted word. The codes are short alphabetic strings representing the phonetic skeleton of the word, suitable for indexing or comparing against other encoded words.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "word"
     ],
     "properties": {
      "word": {
       "type": "string",
       "maxLength": 256,
       "minLength": 1,
       "description": "The word to encode."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/double-metaphone-encoder-6af5d9d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from similarity.openverbs.com](https://www.zero.xyz/host/similarity.openverbs.com/llms.txt)
