Phonetic Encoder API

GET

Match similar-sounding names even when they are misspelled.

Phonetic Encoder generates phonetic codes for words using Soundex and Metaphone algorithms. These codes represent how words sound, enabling fuzzy matching of similar-sounding names.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/phonetic?word=smith
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "word": "smith",
    "soundex": "S530",
    "metaphone": "SM0"
  }
}

About the Phonetic Encoder API

Compare two words to check if they sound alike, or encode individual words for database indexing and search applications. Essential for name matching, spell checking, and genealogical research.

What people use it for

Name Matching
Find similar names despite spelling variations
Search Enhancement
Improve search results with phonetic matching
Data Deduplication
Identify duplicate records with name variations
Genealogy Research
Match historical records with spelling variations

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Phonetic Encoder

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Phonetic Encoder API.

Read the docs →
How many word comparisons does the Free plan cover?
The Free plan covers 100 requests each month at 2 credits per call. If you need higher volume, the Starter plan provides 100,000 calls each month, which works out to about $0.30 per 1,000 calls.
Which phonetic algorithms does the API support?
Phonetic Encoder supports both Soundex and Metaphone algorithms. You can retrieve both phonetic codes in a single request or specify an algorithm parameter when encoding or comparing words.
Can I check if two words sound alike in one call?
Yes. The Compare Words endpoint takes two words and determines if they sound phonetically identical, returning boolean match values alongside the generated codes for each algorithm.
Can I use this to index names in my own database for fuzzy search?
Yes. The Encode Word endpoint takes individual words and returns their Soundex and Metaphone codes. You can store these codes as search index keys in your database to deduplicate records or find alternative spellings.
What happens if two words match under Soundex but not Metaphone?
The compare endpoint evaluates each algorithm independently. The response includes separate match properties and individual codes for both Soundex and Metaphone, letting you handle cases where one algorithm finds a match and the other does not.

Ready to build with Phonetic Encoder? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs