{"uid":"cap_z20JEzH4bYFxt0brZ3U1z","slug":"cited-web-answer-rag-api-agentstools-dev-1c01b971","name":"Cited Web Answer (RAG) — api.agentstools.dev","description":"Cited answer (RAG): a natural-language question is answered by searching the public web, reading the top pages and synthesizing a grounded answer with a list of source URLs. Answer cites only the retrieved sources (anti-hallucination).","url":"https://api.agentstools.dev/answer","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"The question to answer"},"region":{"type":"string","description":"Locale like 'us-en', 'uk-en' (default us-en)"},"timelimit":{"enum":["d","w","m","y"],"type":"string","description":"Freshness filter: past day/week/month/year"},"max_sources":{"type":"integer","maximum":5,"minimum":1,"description":"How many web pages to read (default 3)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Gp2GwIaUclAXwqFrzoiA1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers a natural-language question by searching the public web, reading top pages, and synthesizing a grounded answer with source URLs to minimize hallucination.","exampleAgentPrompt":"Search the web and give me a cited answer to: 'What are the current eligibility requirements for the US Global Entry program?' — use up-to-date sources from the past month and read up to 3 pages.","exampleUseCases":null,"resultDescription":"A synthesized natural-language answer grounded in content retrieved from up to 5 live web pages, accompanied by a list of source URLs that were read to produce the answer. The answer is constrained to information from the retrieved sources, reducing hallucination risk.","failureModes":["No relevant pages found for the query — returns empty or low-confidence answer","Timelimit filter too narrow (e.g. 'd') with no fresh indexed pages — no sources returned","Query is ambiguous or too short — poor quality synthesis with weak citations","max_sources set to 1 and sole page is paywalled or inaccessible — degraded answer","Network or upstream search engine timeout — HTTP 5xx or timeout error","Missing required 'query' parameter — HTTP 400 validation error"],"whenToPreferThis":"Use this endpoint when you need a factual, verifiable answer to a natural-language question and hallucination risk is a concern — the cited-source design makes it especially suitable for research, fact-checking, and current-events queries. Prefer it over a raw search endpoint when you need a synthesized prose answer rather than a list of headlines or links. Use the timelimit filter when recency matters (e.g. regulatory changes, current events). For pure news monitoring or headline feeds, consider the sibling news-search endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:43:30.547Z","isFirstParty":false}