{"uid":"cap_HpUrQpKJqfYH6Nm22j_qg","slug":"nexusapi-ai-similarity-c8bf96af","name":"NexusAPI AI Similarity","description":"Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.","url":"https://nexus-api-virid.vercel.app/api/ai/similarity","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","description":"Search query or input parameter"}}},"responseSchema":{"type":"object","description":"API response data"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.087051","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.087051/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.087051","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.087051","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nYkbYBcpUgiJLWLFFNTdU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.087051","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes semantic similarity between a query string and reference content using AI embeddings","exampleAgentPrompt":"How semantically similar is the sentence 'machine learning improves predictions' to 'AI enhances forecasting accuracy'? Run a similarity check on those two phrases for me.","exampleUseCases":[{"title":"Deduplicating customer support tickets","prompt":"I have two support tickets — one says 'my payment failed' and another says 'I can't complete my purchase' — can you tell me how semantically similar they are so I know if they're duplicates?"},{"title":"Ranking search results by relevance","prompt":"I have a user query 'best running shoes for flat feet' — can you score how semantically similar it is to this product description: 'stability trainers designed for overpronation and arch support'?"},{"title":"Checking paraphrase in content moderation","prompt":"Check if these two sentences are saying the same thing semantically: 'the event is cancelled' versus 'the gathering will no longer take place' — give me a similarity score."}],"resultDescription":"Returns a similarity score or ranking indicating how semantically close the input query is to the reference content, likely expressed as a numeric value between 0 and 1 (or equivalent), computed via AI embeddings.","failureModes":["Empty or missing query string returns validation error","Query too long may exceed token limits and return an error","Ambiguous or very short queries may produce unreliable similarity scores","Service downtime on Vercel deployment returns 5xx error","Insufficient USDC balance causes x402 payment failure before the request is processed"],"whenToPreferThis":"Use this endpoint when you need lightweight, pay-per-call semantic similarity without managing your own embedding infrastructure or API keys. Prefer it for ad-hoc similarity checks in agent workflows where setting up a dedicated embedding service is overkill, or when operating in environments where USDC micropayments via x402 on Base are already supported.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:24.869Z","isFirstParty":false}