{"uid":"cap_h8K8bBJx5MR0NtlRUEqbe","slug":"delx-levenshtein-e0b93947","name":"Delx Levenshtein","description":"Levenshtein edit distance and similarity for $0.001 USDC. Call when you need this bounded result without an API key or subscription. Returns machine-readable JSON via x402 on Base or Solana. Limitation: results cover only the supplied input or one bounded public endpoint at request time; callers must verify before acting.","url":"https://api.delx.ai/api/v1/x402/levenshtein?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YWNzjqr5Llq6UjAHRS9vL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes Levenshtein edit distance and string similarity score between two input strings for $0.001 USDC per call.","exampleAgentPrompt":"What's the Levenshtein edit distance and similarity score between 'kitten' and 'sitting'?","exampleUseCases":[{"title":"Deduplicating customer name records","prompt":"I have two customer name entries — 'Jonathan Smith' and 'Jonathon Smyth' — can you compute their Levenshtein edit distance and similarity score so I can decide if they're the same person?"},{"title":"Spell-check candidate scoring","prompt":"A user typed 'recieve' and the dictionary word is 'receive' — what's the Levenshtein distance and similarity between them so I can rank this as a spell-check suggestion?"},{"title":"Product title near-duplicate detection","prompt":"Compare these two product titles for similarity: 'Apple iPhone 15 Pro 256GB' and 'Apple iPhone15 Pro, 256 GB' — give me the edit distance and similarity score."}],"resultDescription":"Returns the integer Levenshtein edit distance (minimum number of single-character insertions, deletions, or substitutions required to transform string A into string B) and a normalized similarity score (typically 0–1, where 1 is identical) between the two input strings.","failureModes":["Missing or empty input string — returns validation error","Strings exceeding maximum allowed length — returns error or truncation","Payment failure via x402 protocol — returns 402 Payment Required","Network timeout for very long string pairs"],"whenToPreferThis":"Choose this endpoint when you need a fast, affordable, single-call Levenshtein edit distance and similarity computation with micro-payment pricing ($0.001 USDC). Ideal for agents doing real-time fuzzy matching, deduplication, spell-check ranking, or record linkage without spinning up local NLP infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T18:42:44.333Z","isFirstParty":false,"canonicalSlug":"delx-levenshtein-e0b93947"}