{"uid":"cap_JheRcskcV3a_dNdM_MJso","slug":"agent-link-text-similarity-77b47875","name":"Agent Link Text Similarity","description":"URL and content micro-tools for AI agents: parse URLs, probe HTTP status and security headers, extract text from HTML, text stats, and similarity. Pay with USDC via x402 — no API keys.","url":"https://agent-link.annushka1190.workers.dev/v1/text/similarity","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"body":{"type":"object"},"type":{"const":"http"},"method":{"enum":["POST"]},"bodyType":{"const":"json"}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LWTF6oIWI_9P35cpdSpQt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes semantic or lexical similarity between two text strings, returning a similarity score","exampleAgentPrompt":"Can you tell me how similar these two sentences are: 'The quick brown fox jumps over the lazy dog' and 'A fast auburn fox leaps above a sleepy hound'?","exampleUseCases":[{"title":"Deduplication of product descriptions","prompt":"I have two product descriptions and I want to know if they're saying the same thing — compare 'Lightweight waterproof hiking boots with ankle support' and 'Ankle-height trail boots, water-resistant and featherlight' and give me a similarity score."},{"title":"Resume-to-job-description matching","prompt":"Can you check how well this resume summary matches the job description? Resume: 'Experienced Python developer with 5 years in data engineering and pipeline automation.' Job: 'We need a senior data engineer skilled in Python and ETL workflow development.'"},{"title":"Plagiarism detection for student submissions","prompt":"Compare these two essay excerpts and tell me how similar they are — I want to know if one might be copied from the other: 'Climate change is driven primarily by greenhouse gas emissions from human industry' versus 'Human industrial activity and greenhouse gases are the main cause of climate change.'"}],"resultDescription":"Returns a JSON object with an 'ok' boolean and a similarity score or metric indicating how similar the two input texts are, likely as a float between 0 and 1.","failureModes":["Missing required 'input' body fields returns a 4xx validation error","Non-text or empty string inputs may produce a zero or undefined score","Payment failure via x402 results in a 402 response requiring USDC payment","Very long text inputs may exceed processing limits and return a 4xx or timeout","Network timeouts to the Cloudflare worker may occur under load"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text similarity computation without managing API keys or standing up an NLP service. It is ideal for agents that need on-demand similarity checks for deduplication, matching, or ranking tasks and want to pay in USDC via x402 with minimal setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:42.528Z","isFirstParty":false}