{"uid":"cap_pKwbL0TWy5etqgFCX_kmY","slug":"x402-agent-economy-lab-text-similarity-api-c2cf001d","name":"x402 Agent Economy Lab Text Similarity API","description":"Machine-payable NLP micro-services: sentiment, entity extraction, summarization, report, batch. Paid per call in REAL USDC on Base mainnet.","url":"https://rqjzcd-ip-209-115-177-214.tunnelmole.net/v1/similarity","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"}}},"responseSchema":null,"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_Yz3jjZfCdaL8qq36rj-l6","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 semantic or lexical similarity between two text inputs, paid per call in real USDC on Base mainnet via x402.","exampleAgentPrompt":"Compare these two product descriptions for semantic similarity and give me a score: 'Wireless noise-cancelling headphones with 30-hour battery' and 'Bluetooth headphones that block ambient sound, up to 30 hours of playback'.","exampleUseCases":[{"title":"Deduplication of customer feedback","prompt":"I have two support tickets — 'My app crashes on startup every time' and 'The application won't open, it just closes immediately' — can you score how similar they are so I know if they're duplicates?"},{"title":"Answer relevance check for RAG pipeline","prompt":"Score the similarity between this user question — 'How do I reset my password?' — and this retrieved document chunk — 'To change your credentials, visit the account settings page and click Forgot Password' — so I know if the retrieved chunk is actually relevant."},{"title":"Paraphrase detection for content moderation","prompt":"Tell me how similar these two user-submitted posts are: 'Buy cheap followers now, guaranteed real!' and 'Get authentic-looking social media followers at low cost, instant delivery!' — I need to catch policy-evading rephrasing."}],"resultDescription":"Returns a numeric similarity score (typically 0–1) indicating how semantically or lexically close the two input texts are, allowing agents to rank, filter, or threshold based on relatedness.","failureModes":["Missing or empty text field returns 400 Bad Request","Payment not settled on Base mainnet causes 402 Payment Required","Text inputs that are extremely long may be truncated or rejected","Tunnelmole tunnel URL may be ephemeral and become unavailable","Network timeout if tunnel relay is slow or overloaded"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call text similarity score without committing to a subscription-based NLP platform, especially in autonomous agent pipelines that can self-fund via USDC micropayments on Base mainnet. Useful when you want similarity as a standalone primitive rather than bundled into a larger embedding or search service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:58.698Z","isFirstParty":false}