{"uid":"cap_4leBaBmhhYXNApcRWbJlq","slug":"onhub-ai-grounded-search-2c5ca5fb","name":"OnHub AI Grounded Search","description":"Grounded Google Search answers with attributable HTTPS sources.","url":"https://api.onhub.ai/v1/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"query":{"type":"string","maxLength":2000,"minLength":3,"description":"The current factual question to research with Google Search grounding."},"max_sources":{"type":"integer","default":5,"maximum":8,"minimum":1},"answer_length":{"enum":["brief","standard","detailed"],"type":"string","default":"standard"}}},"responseSchema":{"type":"json","example":{"query":"What changed in the latest Cloudflare Workers release?","answer":"Cloudflare announced the change in its Workers changelog. [1]","object":"search.result","sources":[{"url":"https://developers.cloudflare.com/changelog/","title":"Cloudflare changelog","citation_indices":[1]}],"searched_at":"2026-09-22T00:00:00.000Z","evidence_status":"grounded","search_query_count":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JmDa4oYFtDuMUi3DEsQhe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Answers factual questions using Google Search grounding and returns attributable HTTPS sources with inline citations","exampleAgentPrompt":"Search for what changed in the latest OpenAI API release and give me a detailed answer with up to 6 attributable sources I can verify.","exampleUseCases":[{"title":"Latest software changelog lookup","prompt":"What changed in the most recent release of the Kubernetes API? Give me a standard-length answer with up to 5 sources I can check."},{"title":"Current events fact check","prompt":"Is the EU AI Act fully in effect yet? Give me a brief answer with citations so I can verify the claims."},{"title":"Competitor product research","prompt":"What are the latest features announced by Anthropic for Claude? Give me a detailed answer with up to 8 sources."}],"resultDescription":"Returns a JSON object containing a grounded answer string with inline citation markers (e.g. [1]), an array of source objects each with a URL, title, and citation indices, an evidence_status field ('grounded'), the number of search queries made, and a timestamp of when the search was performed.","failureModes":["Query too short (below 3 characters) returns validation error","Query exceeds 2000 characters causes rejection","No relevant Google Search results found may return empty or low-confidence answer","Network or upstream Google Search grounding failure results in 5xx error","Requested max_sources above 8 causes validation error","Payment not included or invalid x402 payment header returns 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need factual, up-to-date answers with verifiable HTTPS source citations rather than relying on a language model's training data. It is ideal for questions about recent events, changelogs, current status, or any claim that must be attributable. Prefer it over generic LLM completions when grounding and citation are required, and over raw web scrapers when you want a synthesized answer rather than raw HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:35:21.337Z","isFirstParty":false,"canonicalSlug":"onhub-ai-grounded-search-2c5ca5fb"}