{"uid":"cap_fFx1dNFdvp1D19JIHZwkc","slug":"payai-cited-answer-rag-7de62d1e","name":"PayAI Cited Answer (RAG)","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://payai.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_QN7oKIIksrbqIkhjc7Wif","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 response with cited source URLs to minimize hallucination.","exampleAgentPrompt":"What are the latest clinical trial results for GLP-1 weight-loss drugs? Search the web, read up to 4 sources, and give me a cited answer with the source URLs.","exampleUseCases":[{"title":"Current events fact-check with sources","prompt":"What actually happened with the Silicon Valley Bank collapse — can you search the web and give me a grounded, cited summary from real sources, limited to news from the past month?"},{"title":"Competitive research for a product team","prompt":"What are the main differences between Anthropic Claude and OpenAI GPT-4o as of today? Search the web, read up to 5 pages, and give me an answer with citations so I can verify each claim."},{"title":"Regulatory question for compliance","prompt":"What are the current SEC rules on crypto token classification as securities? Look it up using recent sources from the past year and give me a cited answer."}],"resultDescription":"A synthesized natural-language answer to the posed question, grounded exclusively in retrieved web pages, accompanied by a list of source URLs that back each claim — designed to minimize hallucination by citing only what was actually found.","failureModes":["No relevant pages found for the query — empty or low-quality answer returned","Query too vague to surface useful web results","Timelimit filter too narrow — no results within that time window","max_sources set to 1 may yield thin or one-sided answers","Web pages behind paywalls or bot-blocks may not be readable","Rate limit or payment failure returns 402 error"],"whenToPreferThis":"Choose this endpoint when you need a factual, sourced answer to a natural-language question and hallucination risk is unacceptable — particularly for current events, recent data, or niche topics not reliably in a model's training data. Prefer it over raw LLM answers when citations are required for verification, and over generic web search when you need synthesis rather than a list of links.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:45:02.789Z","isFirstParty":false}