Overview
String similarity: compare two strings and return every standard measure in one call: Levenshtein and Damerau-Levenshtein edit distance, normalised similarity, Jaro and Jaro-Winkler, longest common subsequence, Dice coefficient on character bigrams, and the Soundex, Metaphone and NYSIIS phonetic keys of each string. Optional case folding, accent folding and whitespace normalisation before comparison.
Protocol
x402
Price
$0.05
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
tools/utilities
Provider
duoleads
Indexed
2026-09-29 00:13:45
Health
Status
healthy
Latency (p50)
645ms
Uptime (30d)
100.0%
Reliability Score
90/100
Last Checked
2026-10-31 07:01:43
Last Healthy
2026-10-31 07:01:43
Consecutive Failures
0
Input Schema
{
"method": "GET",
"queryParams": {
"a": "kitten",
"b": "sitting"
},
"type": "http"
}
Output Schema
{
"example": {
"data": {
"damerau_levenshtein": 3,
"dice": 0.36363636363636365,
"equal_after_fold": false,
"folded": {
"a": "kitten",
"b": "sitting"
},
"jaro": 0.746031746031746,
"jaro_winkler": 0.746031746031746,
"lcs_length": 4,
"levenshtein": 3,
"normalised_similarity": 0.5714285714285714,
"phonetic": {
"a": {
"metaphone": "KTN",
"nysiis": "CATAN",
"soundex": "K350"
},
"b": {
"metaphone": "STNK",
"nysiis": "SATANG",
"soundex": "S352"
}
}
},
"meta": {
"computed_at": "2026-09-28T12:00:00.000Z",
"deterministic": true,
"disclaimer": "Factual output of a deterministic computation over public data. Provided as is, with no warranty of accuracy, completeness or availability. Not investment, financial, legal, tax, medical or any other professional advice, and not a recommendation. Verify before relying on it. Terms: https://api.duoleads.com/terms",
"price_usd": "0.05",
"request_id": "01K6B7Q4ZC8H3F2M9WXR5TYN0D"
},
"ok": true,
"route": "/v1/text/similarity",
"version": "1.0.0"
},
"type": "json"
}