# Jaro / Jaro-Winkler String Similarity

> Jaro / Jaro-Winkler String Similarity is a paid API for AI agents from text-similarity.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-21).

Computes Jaro and Jaro-Winkler similarity scores between two strings, including match count, transpositions, common prefix length, and a verdict summary.

## Facts

- Endpoint: GET https://text-similarity.x402tookit.com/jaro-winkler?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/jaro-jaro-winkler-string-similarity-35f724fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0ucE-I1pbginSplbBvHEq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability jaro-jaro-winkler-string-similarity-35f724fe
```

Example prompt: What's the Jaro-Winkler similarity between 'Jonathan' and 'Jonathon'? Compare them case-insensitively and use the default prefix scale.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Jaro and Jaro-Winkler similarity of two short strings (names), with matches, transpositions and prefix boost.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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": [
        "n
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/jaro-jaro-winkler-string-similarity-35f724fe/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from text-similarity.x402tookit.com](https://www.zero.xyz/host/text-similarity.x402tookit.com/llms.txt)
