# Damerau-Levenshtein Scorer

> Damerau-Levenshtein Scorer is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Computes the Damerau-Levenshtein edit distance score between two input strings

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/damerau-levenshtein-scorer
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/damerau-levenshtein-scorer-5df01a49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TvA2g10Wog9l55_j6nkNz

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 damerau-levenshtein-scorer-5df01a49 -d '<json body>'
```

Example prompt: What's the Damerau-Levenshtein distance score between 'kitten' and 'sitten' — I need to know how many edits apart they are including transpositions?

## When to prefer this

Choose this endpoint when you need an edit distance metric that includes transpositions (swapping adjacent characters) as a primitive operation, which standard Levenshtein does not support. It is ideal for typo detection, fuzzy deduplication, spell-check scoring, and any NLP pipeline where transpositions are linguistically meaningful. Prefer over Levenshtein when detecting common keyboard transposition errors like 'teh' vs 'the'.

## Known failure modes

- Missing or null text_a or text_b fields — likely returns error or unexpected result
- Very long strings may increase latency or hit size limits
- Non-string inputs may cause parsing errors
- Network timeout if the service is under load
- Payment failure (x402) if USDC balance is insufficient

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

Returns a JSON object with a 'result' field containing the computed Damerau-Levenshtein score and a 'status' field confirming success. The score reflects the minimum number of single-character edits (insertions, deletions, substitutions, and transpositions) needed to transform text_a into text_b.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text_a": {
   "type": "string"
  },
  "text_b": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/damerau-levenshtein-scorer-5df01a49/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
