{"uid":"cap_e9eb2kz2kImYCqc1DI6AT","slug":"kihustle-levenshtein-distance-calculator-c5087528","name":"KiHustle Levenshtein Distance Calculator","description":"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.","url":"https://kihustle.tech/api/v1/levenshtein-distance","method":"POST","headers":{},"bodySchema":{"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"}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Z8XZVcLQ_n7KHe0Hd7MFn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Levenshtein (edit) distance between two input strings","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:09:55.494Z","isFirstParty":false}