/v1/compare
Combined fuzzy comparison
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/soundex-api/v1/compare" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/soundex-api/v1/compare", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/soundex-api/v1/compare");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/soundex-api/v1/compare",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"note": "Combines Soundex (sounds alike) and Levenshtein (spelled alike). likely_match is true if the Soundex codes agree or the similarity is at least 0.8.",
"inputs": {
"a": "Robert",
"b": "Rupert"
},
"soundex_a": "R163",
"soundex_b": "R163",
"similarity": 0.666667,
"likely_match": true,
"soundex_match": true,
"similarity_percent": 66.6667,
"levenshtein_distance": 2
},
"meta": {
"timestamp": "2026-06-05T19:50:12.398Z",
"request_id": "125a7115-9b95-4aac-a588-e1de777f9e47"
},
"status": "ok",
"message": "Fuzzy compare",
"success": true
}