Google AI Mode Answer & Citation Scraper avatar

Google AI Mode Answer & Citation Scraper

Pricing

from $0.49 / 1,000 results

Go to Apify Store
Google AI Mode Answer & Citation Scraper

Google AI Mode Answer & Citation Scraper

Run prompts through Google AI Mode (udm=50) in any country and language and export each answer as text and markdown with its cited sources, inline citation groups, product and place cards, follow-up questions and brand or domain visibility scores.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Xyrelith Data

Xyrelith Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

Ask Google AI Mode (udm=50) a list of prompts in one or more countries, in any supported language, and get one structured record per prompt and country. Every record contains the full answer as clean plain text and as markdown, every cited source with its position, the inline citation groups Google shows, product cards, local place cards, follow-up questions, and brand/domain visibility scores.

No Google account, cookies, API key or proxy setup is required.

What it returns

FieldWhat it is
prompt, countryCode, country, languageCodeThe exact prompt and market that produced the answer.
statusOK, NO_ANSWER or BLOCKED.
aiModeUrlThe AI Mode URL that produced the answer.
answerTextThe complete answer as clean plain text.
answerMarkdownThe same answer as markdown, keeping section headings, bold text, bullet lists, tables and inline citation markers.
answerLength, answerWordCountSize of the answer.
textBlocksThe answer split into typed blocks (paragraph, heading, list_item, table).
tablesComparison tables as headers + rows.
sourcesEvery cited source: position, title, siteName, domain, publisher url, snippet, faviconUrl, and the citationGroups that cite it. Google redirect links are resolved to the publisher URL; when a redirect cannot be resolved the original link is kept with urlType: unresolvedGoto.
citationGroupsThe inline citation chips (for example RunRepeat +5) with their character position in the answer, the publisher, the number of additional sources and the sources behind each one.
productsProduct cards Google embeds in the answer: name, price, currency, merchant, rating, review count, "Best For", "Support Tech", "Key Specs", "Expert Take" and "Buyer Feedback" when present.
placesLocal place cards when Google shows them: name, category, rating, review count, price range, open/closed status, address, description, website, directions link, Google place ID and coordinates.
followUpQuestions, followUpPromptThe follow-up directions Google suggests at the end of the answer.
brandVisibilityFor each brand you supply: mentioned yes/no, mention count, first mention position, cited-as-source yes/no and the source positions that cite it.
domainVisibilityThe same scoring for domains.
groundedtrue when the answer shows at least one source card. Some answers come back without any sources; the record is still returned, with grounded: false.
responseTimestamp, scrapedAtWhen the answer was captured.

Input

InputDefaultDescription
prompts– (required)One or more questions or search prompts. Each prompt is asked once per selected country.
countries["us"]One or more Google markets (gl). The answer is localized for the selected country.
languageCodeenInterface and answer language (hl). Write the prompts in that language for best results.
brands–Optional brand names for AI visibility scoring.
domains–Optional domains for citation and mention scoring.
includeProductCardstrueExtract product cards from the answer.
includePlaceCardstrueExtract local place cards from the answer.
includeFollowUpQuestionstrueExtract the follow-up directions Google suggests.
includeMarkdowntrueSave the answer as markdown in addition to plain text.
maxItems100Stop after this many answers. Each prompt x country pair is one answer.

Example input

{
"prompts": [
"best running shoes for flat feet",
"best coffee shops in Austin"
],
"countries": ["us", "uk"],
"languageCode": "en",
"brands": ["Brooks", "ASICS"],
"domains": ["runrepeat.com"],
"maxItems": 4
}

That run produces four records: both prompts in the United States and the United Kingdom.

How it works

  1. A real Chrome session warms up on Google, then opens the AI Mode tab (udm=50) for the prompt and market.
  2. The actor waits for the answer to finish streaming, then reads the rendered answer and Google's embedded source/citation data.
  3. Google /goto redirect links are resolved to the real publisher URL and duplicate sources are merged.
  4. Brand and domain scores are computed against the final answer text and cited sources.
  5. If Google serves a captcha, the browser session is rotated and the request is retried; a direct exit that returns no answer is escalated to the actor's datacenter proxy after one attempt, so a slow or experiment-bucketed exit cannot stall the run.
  6. Each attempt has a hard time limit and the loop watches the Actor run timeout. Prompts that cannot finish in the remaining time are still returned as rows with status: NO_ANSWER and errorCode: RUN_TIMEOUT instead of the run being killed mid-item.

Output example (trimmed)

{
"status": "OK",
"prompt": "best running shoes for flat feet",
"countryCode": "us",
"languageCode": "en",
"answerText": "Flat feet often cause the ankle to roll inward ...",
"answerMarkdown": "Flat feet often cause the ankle to roll inward ...\\n\\n### Top Running Shoes ...",
"sources": [
{
"position": 1,
"title": "7 Best Running Shoes For Flat Feet in 2026",
"siteName": "RunRepeat",
"domain": "runrepeat.com",
"url": "https://runrepeat.com/guides/best-flat-feet-running-shoes",
"snippet": "The adidas Supernova Solution 3 is a solid recommendation ...",
"citationGroups": [1]
}
],
"citationGroups": [
{
"position": 214,
"label": "RunRepeat +5",
"siteName": "RunRepeat",
"additionalSourceCount": 5,
"url": "https://runrepeat.com/guides/best-flat-feet-running-shoes",
"sources": [{"position": 1, "title": "7 Best Running Shoes For Flat Feet in 2026"}]
}
],
"products": [
{
"position": 320,
"name": "Brooks Adrenaline GTS 26",
"price": "$154.95",
"priceCurrency": "USD",
"merchant": "Backcountry.com",
"rating": 4.5,
"reviewCount": 18,
"bestFor": "Everyday training and long-distance comfort.",
"supportTech": "GuideRails sidewalls keep excess foot movement in check.",
"keySpecs": "10mm heel-to-toe drop, DNA LOFT v3 cushioning."
}
],
"brandVisibility": [
{
"name": "Brooks",
"mentioned": true,
"mentionCount": 4,
"firstMentionPosition": 120,
"citedAsSource": false
}
],
"grounded": true,
"responseTimestamp": "2026-11-15T00:05:42Z"
}

Notes and limitations

  • AI Mode is generative. The same prompt can return a different answer, a different set of sources and a different number of cards from one run to the next. The actor records one snapshot per run.
  • Not every answer shows sources, product cards, place cards or follow-up questions. Those fields are omitted rather than filled with placeholders; grounded tells you whether any source card was shown.
  • Answers come from a logged-out visitor session. Google may still vary results by region, language, time and experiment bucket.
  • Citation-chip positions are 1-based character offsets in answerText. When Google renders a citation as an icon without visible text (some place/map citations), the position is the start of the answer block that contains it.
  • Google can change the AI Mode interface. The parser reads both the visible page and the embedded source data, keeps working when the answer heading, citation-chip class or card class changes, and returns records without an answer as NO_ANSWER instead of fabricating one.
  • Each prompt gets a bounded number of network attempts (direct, then datacenter proxy only after a soft block or no answer). If the run's own timeout is too short for the remaining prompts, those rows are emitted immediately with errorCode: RUN_TIMEOUT; raise the run timeout or lower maxItems/prompt count to give every prompt a full streaming window.
  • Some prompts, countries or languages do not get an AI Mode answer. Those rows keep the prompt and market, set status: NO_ANSWER, and are never charged as answers by your own pricing rules.

FAQ

Do I need a proxy or a Google account? No. The actor uses its own browser session and picks a network path automatically. There is nothing to configure.

What is the difference between AI Mode and AI Overview? AI Overview is the short summary on a normal results page. AI Mode is the dedicated conversational tab (udm=50) with a longer answer, its own citation set, product/place cards and follow-up prompts.

Can I run the same prompt in several countries? Yes. Add several countries to the Countries input; each prompt is asked once per country and produces one record per market.

Why does a record have no sources? For some questions Google writes a complete answer without displaying source cards. The actor reports grounded: false and leaves the source fields out. It never invents sources.

Why are prices missing on some product cards? Only the fields Google shows are returned. A card without a visible price simply omits price and priceCurrency.

Can I schedule it? Yes. Use the same input on a schedule to track how answers and cited sources change over time.