# 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-09-14).

Computes the Levenshtein (edit) distance between two input strings

## Facts

- Endpoint: POST https://kihustle.tech/agents/api/v1/levenshtein-distance
- 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/kihustle-levenshtein-distance-api-3fa3cc1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EncprrWv7zMaVIRWlCqK5

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-3fa3cc1e -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 simple, pay-per-call Levenshtein distance computation without setting up a local library or compute environment. It is ideal for lightweight agents performing fuzzy matching, deduplication, or spell-check ranking where infrastructure overhead should be minimal.

## Known failure modes

- Missing text_a or text_b fields returns an error
- Non-string input types may cause processing failure
- Very long strings may cause timeout or unexpected behavior
- Empty string inputs may return distance equal to length of the other string

## 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 — the minimum number of single-character insertions, deletions, or substitutions required to transform text_a into text_b — along with a success status field.

## 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-3fa3cc1e/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)
