{"uid":"cap_STI_lXbP8aJBLEKdQ6FlH","slug":"weblens-answer-api-99833cba","name":"WebLens Answer API","description":"Grounded answer with inline [n] citations: searches the web, fetches sources, and answers strictly from them.","url":"https://api.weblens.dev/answer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","example":"What is the x402 payment protocol?","maxLength":500,"minLength":1,"description":"The question to answer"},"sources":{"type":"number","default":3,"example":3,"maximum":5,"minimum":1,"description":"How many web sources to search, fetch, and cite"}}},"responseSchema":{"type":"json","example":{"query":"What is the x402 payment protocol?","answer":"x402 is an open payment protocol built on HTTP 402 [1]. It settles USDC payments on Base [2].","citations":[{"url":"https://x402.org","index":1,"title":"x402 Protocol"}],"requestId":"req_answer123","answeredAt":"2026-07-25T12:00:00.000Z","confidence":0.92}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_i6vC-9paCZOCURCT7Jcmn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers natural language questions by searching and synthesizing information from the web, returning an AI-generated answer with cited sources","exampleAgentPrompt":"Can you look up and explain what the x402 payment protocol is, with sources I can check?","exampleUseCases":[{"title":"Factual research with citations","prompt":"What are the current requirements to incorporate a Delaware LLC in 2025? Give me a clear answer with links to sources I can verify."},{"title":"Technical concept explanation","prompt":"Explain how Base blockchain's fee structure works and how it compares to Ethereum mainnet — I need cited sources for this."},{"title":"Current events fact-checking","prompt":"What did the Federal Reserve decide at their most recent meeting, and where can I read more about it?"}],"resultDescription":"Returns a JSON object containing: a synthesized natural-language answer to the query, an array of citations (each with URL, title, and index number), a confidence score (0–1), a unique request ID, and a timestamp of when the answer was generated.","failureModes":["Query too vague or ambiguous — low-confidence answer returned","Topic has no recent web coverage — citations may be sparse or stale","Payment failure via x402 — HTTP 402 returned if payment not authorized","Rate limiting or abuse detection — HTTP 429 returned","Internal search or synthesis error — HTTP 500 with error message"],"whenToPreferThis":"Choose this endpoint when you need a direct, cited natural-language answer to a factual question rather than raw scraped HTML or a list of search results. It is best for research, fact-checking, and knowledge retrieval tasks where the agent needs a synthesized conclusion backed by verifiable web sources. Prefer it over raw scraping endpoints when interpretability and citation quality matter more than raw content access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T00:30:20.925Z","isFirstParty":false,"canonicalSlug":"weblens-answer-api-99833cba"}