{"uid":"cap_p2qYPgjhFjkDJEIwRWTiL","slug":"klymax402-vector-search-api-55c13cee","name":"klymax402 Vector Search API","description":"One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.","url":"https://klymax402.com/api/vector-search/api/search","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"topK":{"type":"number","description":"Number of top results to return (default: 3, max: 10)"},"query":{"type":"string","description":"The text query to search for"},"documents":{"type":"array","items":{"type":"string"},"description":"Array of text documents to index (optional if already stored in this session)"},"namespace":{"type":"string","description":"Namespace to isolate document sets (default: 'default')"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KqAlMBwkd8LV_zOYYnR35","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs semantic vector search over a provided or session-stored set of text documents, returning the top-K most relevant results for a given query.","exampleAgentPrompt":"Search through these 5 product descriptions for the one most relevant to 'wireless noise-cancelling headphones for travel', and return the top 2 matches from the 'products' namespace.","exampleUseCases":[{"title":"API catalog semantic search","prompt":"I have a list of 50 API descriptions — can you search them for the ones most relevant to 'send an email notification' and return the top 3 matches?"},{"title":"Knowledge base retrieval for chatbot","prompt":"Search through the 20 FAQ entries I stored earlier in the 'support' namespace and find the 5 most relevant ones to the user's question: 'how do I reset my password?'"},{"title":"Research document similarity lookup","prompt":"Here are 10 research paper abstracts — find the top 3 that are most semantically similar to the topic 'machine learning for climate prediction' in my 'research' namespace."}],"resultDescription":"Returns an ordered list of the top-K most semantically similar documents (or document chunks) from the indexed set, along with relevance/similarity scores, matched text content, and their position in the original document array.","failureModes":["No documents provided and no session-stored documents found for the namespace — returns empty results or an error","topK exceeds the maximum of 10 — capped or returns an error","Query string is empty or missing — returns a validation error","Payment not received or insufficient USDC balance — returns HTTP 402","Namespace not found or misspelled — returns empty result set"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call semantic vector search without setting up a dedicated vector database or managing API keys. It is well-suited for session-scoped document retrieval tasks where you want to index a small-to-medium corpus on the fly and query it immediately. Prefer it over full-featured vector DBs (Pinecone, Weaviate) when you want zero infrastructure overhead and are already operating within the klymax402 x402 payment ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:57:05.321Z","isFirstParty":false}