{"uid":"cap_mfsFneu0KCRlVAzN3Z4x2","slug":"web-answer-with-ai-and-citations-6db7bdbf","name":"Web Answer with AI and Citations","description":"Answer API (query), pay per request: an answer from live web search results with citations (title, URL). No account or API key; failed calls are not charged.","url":"https://agent-data-tools.revmesh2074.workers.dev/v1/answer?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","examples":["What is the x402 payment protocol?"],"description":"The question, at most 400 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"model":{"type":"string"},"terms":{"type":"string"},"answer":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"n":{"type":"number"},"url":{"type":"string"},"title":{"type":"string"}}}},"question":{"type":"string"}}}}}}},"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_huVu30xKC4GtkAN75X6vG","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 using live web search results, returning an AI-synthesized answer with cited sources (title and URL).","exampleAgentPrompt":"Search the live web and give me a cited answer to: what is the x402 payment protocol and how does it work?","exampleUseCases":[{"title":"Real-time fact lookup with sources","prompt":"Can you look up who won the most recent Nobel Prize in Physics and give me a sourced answer with links?"},{"title":"Current events question with citations","prompt":"What's the latest on the conflict in Sudan — give me a quick AI summary with references to the actual sources."},{"title":"Technical concept explained from live web","prompt":"Explain what Retrieval-Augmented Generation (RAG) is based on current web sources, and include citations so I can read further."}],"resultDescription":"Returns a JSON object containing the original question, an AI-synthesized answer string, the model used, terms, and an array of sources each with a citation number, title, and URL. The answer is grounded in live web search results at time of call.","failureModes":["Missing or empty 'q' parameter returns an error; no charge","Query exceeds 400 characters is rejected","Service unavailable or upstream search failure returns an error; no charge","Malformed request (wrong HTTP method) returns 4xx; no charge","Occasionally answer may lack citations if no relevant web results found"],"whenToPreferThis":"Choose this endpoint when you need a factual, up-to-date answer grounded in live web content with verifiable citations. It is ideal over static LLM knowledge when recency matters, when you need source URLs for attribution, or when the topic may have changed since training data cutoff. Prefer over raw web search endpoints when you want a synthesized prose answer rather than a list of raw result snippets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T13:18:49.262Z","isFirstParty":false,"canonicalSlug":"web-answer-with-ai-and-citations-6db7bdbf"}