{"uid":"cap_0ucE-I1pbginSplbBvHEq","slug":"jaro-jaro-winkler-string-similarity-35f724fe","name":"Jaro / Jaro-Winkler String Similarity","description":"Jaro and Jaro-Winkler similarity of two short strings (names), with matches, transpositions and prefix boost.","url":"https://text-similarity.x402tookit.com/jaro-winkler?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["a","b"],"properties":{"a":{"type":"string","description":"First string, up to 2000 characters"},"b":{"type":"string","description":"Second string, up to 2000 characters"},"ignoreCase":{"type":"boolean","description":"true to compare case-insensitively (default false)"},"prefixScale":{"type":"number","description":"Winkler prefix scale p, 0 to 0.25 (default 0.1)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"jaro":{"type":["null","number"]},"source":{"type":["null","string"]},"lengthA":{"type":["null","number"]},"lengthB":{"type":["null","number"]},"matches":{"type":["null","number"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"ignoreCase":{"type":["boolean","null"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"jaroWinkler":{"type":["null","number"]},"prefixScale":{"type":["null","number"]},"commonPrefix":{"type":["null","number"]},"transpositions":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zi_2BdCnLccX6foOYITm2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Jaro and Jaro-Winkler similarity scores between two strings, including match count, transpositions, common prefix length, and a verdict summary.","exampleAgentPrompt":"What's the Jaro-Winkler similarity between 'Jonathan' and 'Jonathon'? Compare them case-insensitively and use the default prefix scale.","exampleUseCases":[{"title":"Duplicate customer name detection","prompt":"I have two customer records — one says 'Katherine Johnson' and the other says 'Kathryn Johnston'. What's the Jaro-Winkler similarity between those two names so I can decide if they're the same person?"},{"title":"Search result fuzzy matching","prompt":"A user searched for 'Mchael Smith' — how similar is that to 'Michael Smith' using Jaro-Winkler? I want the match count and transpositions too."},{"title":"Username deduplication check","prompt":"Check the Jaro-Winkler score between the usernames 'alexjones' and 'alex_jones', ignoring case, so I can flag potential duplicate accounts."}],"resultDescription":"Returns a JSON object with the Jaro score, Jaro-Winkler score, number of matching characters, transpositions, common prefix length, a plain-English verdict and summary, the ignoreCase and prefixScale settings used, and optional reasons or disclaimers if the result is degraded or approximate.","failureModes":["Missing required query parameters 'a' or 'b' returns an error","Strings exceeding 2000 characters may be rejected or truncated","prefixScale outside 0–0.25 range may cause an error or clamping","Payment failure (x402) returns 402 Payment Required before computation"],"whenToPreferThis":"Choose this endpoint when you need a nuanced similarity score for short strings like names, usernames, or identifiers — especially when a prefix-sensitive measure (Jaro-Winkler) outperforms edit-distance metrics. Ideal for name deduplication, record linkage, and fuzzy identity matching where common prefixes are strong signals. For longer text or n-gram/token-based comparison, prefer the Dice/Jaccard or cosine sibling endpoints.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:06.628Z","isFirstParty":false,"canonicalSlug":"jaro-jaro-winkler-string-similarity-35f724fe"}