Catalog/text-jaro-winkler

Text

Jaro-Winkler similarity API

Computes Jaro and Jaro-Winkler similarity, which weights common prefixes and excels at short strings like names. Answers 'how similar are these two names 0-1?', 'do they share a leading prefix?'.

Price$0.02per request
MethodPOST
Route/v1/text/jaro-winkler
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
textjarojaro-winklersimilarityfuzzyname-matchingstring-distancededupe
API URLhttps://x402.hexl.dev/v1/text/jaro-winkler
Integration docs
Example request
{
  "a": "martha",
  "b": "marhta"
}
Example response
{
  "jaro": 0.944444,
  "jaroWinkler": 0.961111,
  "commonPrefix": 3,
  "prefixScale": 0.1,
  "interpretation": "very similar"
}
Input schema
{
  "type": "object",
  "required": [
    "a",
    "b"
  ],
  "properties": {
    "a": {
      "type": "string",
      "examples": [
        "martha"
      ]
    },
    "b": {
      "type": "string",
      "examples": [
        "marhta"
      ]
    },
    "prefixScale": {
      "type": "number",
      "examples": [
        0.1
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}