# American Soundex Phonetic Hash API

> American Soundex Phonetic Hash API is a paid API for AI agents from agent402.tools, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes the American Soundex (NARA) phonetic hash code for one or more words, mapping similar-sounding names to the same 4-character code for fuzzy name matching.

## Facts

- Endpoint: POST https://agent402.tools/api/soundex
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/american-soundex-phonetic-hash-api-ae27eab5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9xz67drwzZ3IAYIPQmds7

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 american-soundex-phonetic-hash-api-ae27eab5 -d '<json body>'
```

Example prompt: What's the American Soundex code for the names 'Smith', 'Smyth', and 'Smithe' — I want to check if they all map to the same phonetic hash?

## When to prefer this

Use this endpoint when you need deterministic, standards-compliant American Soundex (NARA) phonetic hashing for name deduplication, genealogical record matching, or fuzzy name search. Prefer this over custom phonetic algorithms when NARA-standard Soundex compatibility is required and you need a simple, fast, pure-CPU computation without ML overhead.

## Known failure modes

- Empty or missing 'text' field returns an error
- Non-alphabetic input (numbers, symbols) may produce unexpected or invalid Soundex codes
- Payment failure via x402 protocol returns 402 status
- Very long input strings may be truncated or rejected

## How this service works

Compute the American Soundex (NARA) phonetic hash code for one or more words. Soundex maps similar-sounding names to the same 4-character code (letter + 3 digits). Useful for fuzzy name matching. Deterministic, pure CPU.

## Output

A Soundex phonetic hash code (one letter followed by three digits, e.g. S530) for each word provided. Deterministic output — same input always produces the same 4-character code, enabling fuzzy matching of similarly-sounding names.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "one or more words to hash (space-separated)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "codes": [
   {
    "word": "Robert",
    "soundex": "R163"
   },
   {
    "word": "Rupert",
    "soundex": "R163"
   }
  ],
  "match": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/american-soundex-phonetic-hash-api-ae27eab5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
