About this endpoint
What it does
Matches a source word against a list of candidate words using a phonetic algorithm. It returns the candidates that share a phonetic code with the source, along with that shared code.
Request Body
| Parameter | Type | Description |
|---|---|---|
| source | String | The reference word to match against. |
| algorithm | ENUM | Phonetic algorithm to use: metaphone (default) or soundex. |
| candidates | String Array | List of candidate words to compare against the source. |
Response
Returns a JSON object with a data array field. Each item in the array is an object containing a code string and a match string. The code value is the phonetic code shared by the source and the matching candidate.
| Parameter | Type | Description |
|---|---|---|
| data | Object Array | Array of matched results. Each item contains: - code: the phonetic code shared by source and this candidate- match: the matching candidate word |



