{"uid":"cap_sitimcEfyOkmfToLWniFz","slug":"x402-toolbox-string-similarity-976e3675","name":"x402-toolbox String Similarity","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/string-similarity?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_l0aSRkvTd3LLIGiX5-XDY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes a deterministic similarity score between two strings, paid per-call via x402 (USDC on Base).","exampleAgentPrompt":"Compare 'colour' and 'color' and give me a similarity score — I want to know how closely these two strings match each other.","exampleUseCases":[{"title":"Fuzzy deduplication of product names","prompt":"I have two product names — 'Apple iPhone 14 Pro' and 'iPhone 14 Pro by Apple' — can you tell me how similar they are so I can decide if they're duplicates?"},{"title":"Spell-check candidate ranking","prompt":"My user typed 'recieve' and my autocorrect suggests 'receive' and 'relieve' — can you score the similarity between 'recieve' and each suggestion so I can pick the best match?"},{"title":"Record linkage across datasets","prompt":"I'm merging two customer lists and I have the names 'Jonathan Smith' and 'Jon Smith' — what's their string similarity score so I can decide whether to merge them?"}],"resultDescription":"Returns a JSON object with a boolean 'ok' indicating success, a boolean 'paid' confirming x402 payment was processed, and a numeric similarity score between the two input strings.","failureModes":["Missing or malformed input strings return an error response","Payment failure over x402 (insufficient USDC balance or wrong chain) results in 402 response and no computation","Invalid schema parameter may produce unexpected comparison behavior","Network timeout on Cloudflare Workers edge under load"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, deterministic, pay-per-call string similarity computation with no API key or signup overhead — ideal for AI agents operating autonomously with a crypto wallet on Base, processing one-off fuzzy match tasks at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:47:35.819Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-string-similarity-976e3675"}