{"uid":"cap_Yj9dXnFWwF9YKX-zRn8Hp","slug":"jaro-jaro-winkler-string-similarity-1e3ce1a3","name":"Jaro / Jaro-Winkler String Similarity","description":"Jaro similarity and the Jaro-Winkler variant (which boosts scores for a shared prefix), both in [0,1]. The prefix boost factor is configurable (default 0.1, max 0.25). Well suited to short strings like names.","url":"https://similarity.openverbs.com/v1/jaro","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":20000,"description":"First string."},"b":{"type":"string","maxLength":20000,"description":"Second string."},"prefixScale":{"type":"number","maximum":0.25,"minimum":0,"description":"Jaro-Winkler prefix boost factor. Default 0.1."}},"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.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2eA6Jpv2V7tAC8sRvh_ZE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Jaro similarity and the Jaro-Winkler variant (with configurable prefix boost) between two strings, returning scores in [0,1].","exampleAgentPrompt":"Can you compute the Jaro-Winkler similarity between 'Jonathan' and 'Johnathan' using a prefix boost of 0.1?","exampleUseCases":[{"title":"Fuzzy name deduplication in CRM","prompt":"I have two customer records — one says 'Catherine' and the other says 'Kathryn'. Can you compute the Jaro-Winkler similarity between those two names with the default prefix boost so I can decide if they're the same person?"},{"title":"Automated record linkage for patient matching","prompt":"Check how similar the names 'Michael Smithe' and 'Micheal Smith' are using Jaro-Winkler with a prefix boost of 0.15 — I need the score to decide if these are duplicate patient records."},{"title":"Search result ranking by name closeness","prompt":"Score the similarity between the search query 'Willam' and the candidate name 'William' using Jaro and Jaro-Winkler so I can rank this result appropriately."}],"resultDescription":"A JSON object containing the Jaro similarity score and the Jaro-Winkler similarity score, both as floating-point numbers in [0,1], where 1.0 means identical strings and 0.0 means completely dissimilar. The Jaro-Winkler score also reflects any shared prefix up to a configurable boost factor.","failureModes":["Missing required fields 'a' or 'b' returns a 400 validation error","String length exceeding 20,000 characters is rejected","prefixScale value outside [0, 0.25] is rejected with a validation error","Non-JSON body type may cause parse errors","Payment not included or insufficient USDC causes 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when comparing short strings such as personal names, place names, or short codes where character-level proximity and shared prefixes matter most. Jaro-Winkler is especially effective for name deduplication and typo correction in short tokens. Prefer it over Levenshtein when you need a normalized [0,1] score and when prefix agreement should increase similarity (e.g., 'Martha' vs 'Marthaa'). Use Sørensen-Dice or Jaccard instead for longer strings or when word/bigram overlap is more meaningful than character transpositions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:28.768Z","isFirstParty":false}