{"uid":"cap_4SsLQGyzl8Tdhz4GZ0ekn","slug":"phonetic-similarity-compare-similarity-openverbs-com-e306e7f7","name":"Phonetic Similarity Compare (similarity.openverbs.com)","description":"Report whether two tokens sound alike under a chosen algorithm (soundex, metaphone or double-metaphone; default double-metaphone). Returns each token's codes and a boolean match.","url":"https://similarity.openverbs.com/v1/compare","method":"POST","headers":{},"bodySchema":{"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":["a","b"],"properties":{"a":{"type":"string","maxLength":256,"minLength":1,"description":"First token."},"b":{"type":"string","maxLength":256,"minLength":1,"description":"Second token."},"algorithm":{"enum":["soundex","metaphone","double-metaphone"],"type":"string","description":"Encoding to compare with. Default double-metaphone."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Uv_gip3w-jytU5-97iJa9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether two tokens sound alike using Soundex, Metaphone, or Double Metaphone, returning each token's phonetic codes and a boolean match result.","exampleAgentPrompt":"Do 'Catherine' and 'Kathryn' sound the same? Use double-metaphone to compare them and tell me if they match phonetically.","exampleUseCases":[{"title":"Deduplicating customer name records","prompt":"I have two customer records — one spelled 'Jonson' and one 'Johnson' — can you check if they sound the same using double-metaphone so I can decide whether to merge them?"},{"title":"Catching misspelled product names","prompt":"Does 'Fizer' sound like 'Pfizer' under phonetic matching? Compare them with the metaphone algorithm and tell me if they're a match."},{"title":"Validating user-entered names against database","prompt":"A user typed 'Schneider' but we have 'Snyder' in our database — use soundex to check if those two names are phonetically the same."}],"resultDescription":"Returns each token's phonetic encoding(s) under the chosen algorithm (primary and secondary codes for double-metaphone, single code for soundex/metaphone) and a boolean indicating whether the two tokens are considered phonetically equivalent.","failureModes":["Missing required field 'a' or 'b' returns a validation error","Empty string for either token rejected (minLength: 1)","String exceeding 256 characters rejected (maxLength: 256)","Invalid algorithm value (not one of soundex, metaphone, double-metaphone) causes error","Payment failure via x402 protocol results in 402 response and no computation"],"whenToPreferThis":"Use this endpoint when you need a single yes/no phonetic match decision with supporting codes for two tokens, especially when you want to choose between soundex, metaphone, or double-metaphone algorithms. Prefer this over edit-distance endpoints (Levenshtein, Jaro-Winkler) when the concern is pronunciation rather than spelling, and over the individual encoding endpoints when you need both tokens encoded and compared in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:30.658Z","isFirstParty":false}