# KiHustle Levenshtein Distance Calculator

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

Computes the Levenshtein (edit) distance between two input strings

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/levenshtein-distance
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-levenshtein-distance-calculator-c5087528
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e9eb2kz2kImYCqc1DI6AT

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 kihustle-levenshtein-distance-calculator-c5087528 -d '<json body>'
```

Example prompt: What's the Levenshtein distance between 'kitten' and 'sitting'? I need the exact number of single-character edits required to transform one into the other.

## When to prefer this

Choose this endpoint when you need a quick, cheap ($0.002 per call), pay-per-use Levenshtein distance computation without standing up your own infrastructure. Suitable for fuzzy matching, spell-checking assistance, deduplication, or string comparison tasks where a simple edit-distance integer is sufficient.

## Known failure modes

- Missing one or both input strings — returns error or unexpected result
- Non-string inputs (e.g. numbers, null) may cause processing failure
- Extremely long strings may hit payload or timeout limits
- Invalid JSON body returns a 400-level error

## 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 Levenshtein edit distance (number of insertions, deletions, or substitutions needed to transform string A into string B) and a 'status' field confirming success.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "tags": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text_a",
      "text_b"
     ],
     "properties": {
      "text_a": {
       "type": "string"
      },
      "text_b": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "category": {
   "type": "string"
  },
  "toolName": {
   "type": "string"
  },
  "description": {
   "type": "string"
  },
  "serviceName": {
   "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/kihustle-levenshtein-distance-calculator-c5087528/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)
