# KiHustle Levenshtein Distance API

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

Computes the Levenshtein edit distance between two input strings

## Facts

- Endpoint: POST https://kihustle.tech/nexus/api/v1/levenshtein-distance?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-levenshtein-distance-api-a829aa66
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KeW7TdHSxGvCvJCx06mGA

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-api-a829aa66 -d '<json body>'
```

Example prompt: What is the Levenshtein distance between 'kitten' and 'sitting'?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call Levenshtein distance computation without setting up your own string-distance library — ideal for agents doing one-off comparisons, spell-check validation, fuzzy deduplication, or NLP preprocessing where a full similarity service is overkill.

## Known failure modes

- Missing text_a or text_b fields returns an error
- Extremely long strings may cause slow response or timeout
- Non-string input types may be rejected or cause unexpected results
- Empty string inputs may return a distance equal to the length of the other string rather than an 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 containing the computed Levenshtein edit distance (integer number of single-character insertions, deletions, or substitutions) between the two provided strings, along with a success status indicator.

## 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/kihustle-levenshtein-distance-api-a829aa66/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)
