Cited Answers API: Facts with Sources for AI Agents avatar

Cited Answers API: Facts with Sources for AI Agents

Pricing

from $75.00 / 1,000 grounded answer with citations

Go to Apify Store
Cited Answers API: Facts with Sources for AI Agents

Cited Answers API: Facts with Sources for AI Agents

Ask a question, get a short factual answer with citations from live Google Search grounding. One row per question: answer, sources with resolved URLs and the exact text each source supports. Questions that return no citations are flagged and never charged.

Pricing

from $75.00 / 1,000 grounded answer with citations

Rating

0.0

(0)

Developer

Superslow Sloth

Superslow Sloth

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Categories

Security

Limited permissions

Share

Send a question, get a short factual answer and the sources behind it. Each answer comes from a Gemini model with Google Search grounding switched on, so the claims are checked against live search results and every source is returned with the exact piece of the answer it supports.

Built for agents that make many small calls: one row per question, a stable JSON shape, and an answer that arrives with its citations or is not charged.

What you get per question

fieldmeaning
question, indexthe question and its position in your list
answerthe answer text
groundedtrue only when Google Search backed the answer with at least one citation
statusanswered, ungrounded, failed or skipped
errorwhy a row is not answered, otherwise null
citations[]the sources, see below
search_counthow many searches the model chose to run; null when none ran or the API did not say
model, providerthe model asked and the provider that answered (always Google on a charged row)
finish_reasonstop, or length when the answer was cut at maxAnswerTokens
billedthe pricing event this row was charged as, or null

Each citation:

fieldmeaning
urlthe page the source points at, resolved from Google's redirect. null if it could not be resolved
grounding_redirectGoogle's original vertexaisearch.cloud.google.com/grounding-api-redirect/... link, unmodified
domainhost of url without www.
titlethe source name as Google gives it (usually the site's domain, not the page title)
start_index, end_indexUTF-8 byte offsets into answer, as Google reports them, not character offsets
supported_textthe slice of answer those offsets cover

supported_text is Google's segment, passed through as is. Segments are sentence-like and can start mid-token (a segmenter that treats Node. as a sentence end starts the next segment at js:). One span can have several sources, and the same page is listed once per distinct span.

Input

  • questions: up to 20 per run, up to 1000 characters each.
  • model: default google/gemini-3.5-flash-lite. The list is Gemini 3+ Flash and Flash Lite models that support search grounding.
  • language, country: optional hints added to the instructions. They steer the answer, they do not filter sources.
  • maxAnswerTokens: 100 to 2000, default 600.

What is charged

  • A small actor-start event per run ($0.001).
  • One grounded-answer event per question ($0.075) whose answer came back from Google with at least one citation.
  • Nothing for a question that failed, came back from a non-Google provider, came back empty, or came back with no citation. Those rows are still returned, flagged, so you can see why.
  • A run never asks a question it cannot bill: the remaining maximum charge is checked before each call.

Things worth knowing

  • The number of searches is the model's decision. A simple fact usually takes one search, a comparison or multi-part question two to four, and a nonsense query three. Searches are the main cost of an answer. OpenRouter has no setting that caps them on a Google model (tested: max_uses, max_tool_calls and stop_server_tools_when were all ignored), and asking for a single search in the prompt did not reduce them, so the price is set against a measured spread, not a cap. Over 21 mixed questions the model ran 1 to 4 searches (median 2), and one repeated multi-part question ran up to 6.
  • A question is not always grounded. The model decides whether to search. A greeting or "reply with OK" runs no search and is returned as grounded: false, free. Arithmetic still triggered a search in testing.
  • Citations are returned as Google gave them. grounding_redirect is never altered. url is read from the first redirect hop with one request; the destination page is never fetched.
  • Google's grounding terms apply to the grounded results. Read them before building on the output.