{"uid":"cap_pb1I72Tgy4rcElqOmFJAV","slug":"delx-similarity-4868077b","name":"Delx Similarity","description":"Normalized string similarity (Levenshtein) 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/similarity","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_Y3tHtIahYiq3GKPqpcy_O","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 normalized Levenshtein string similarity between two input strings, returning a score between 0 and 1.","exampleAgentPrompt":"How similar are the strings 'restaurant' and 'restaurent'? Give me a normalized Levenshtein similarity score.","exampleUseCases":[{"title":"Deduplicating customer name records","prompt":"Check how similar 'Jonathan Smith' and 'Johnathan Smyth' are — I need a normalized similarity score to decide if they're duplicates in my customer database."},{"title":"Fuzzy matching product titles","prompt":"Score the similarity between 'Apple iPhone 14 Pro Max 256GB' and 'Apple iPhone 14 Pro Max 256 GB Space Black' so I can decide if they're the same product listing."},{"title":"Spell-check candidate validation","prompt":"How similar is the user's typed word 'recieve' to the correct spelling 'receive'? Give me a normalized score so I can decide whether to auto-correct it."}],"resultDescription":"Returns a normalized floating-point similarity score between 0.0 (completely different) and 1.0 (identical) based on the Levenshtein edit distance between the two input strings, along with potentially the raw edit distance count.","failureModes":["Missing or empty input strings returns a validation error","Non-string inputs may cause a 400 bad request","Payment failure or insufficient USDC balance causes a 402 Payment Required response","Extremely long strings may time out or be rejected due to size limits"],"whenToPreferThis":"Use this endpoint when you need a quick, normalized string similarity score based on character-level edit distance (Levenshtein) — ideal for fuzzy deduplication, spell-check validation, name matching, or any scenario where you need a single 0–1 similarity metric without setting up a local NLP library. Prefer it over semantic similarity endpoints when character-level closeness (typos, minor spelling variants) matters more than meaning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:07:11.881Z","isFirstParty":false}