# Google AI Overview & AI Mode Scraper | Answers & Sources (`genial_candlestand/google-ai-overview-ai-mode-scraper`) Actor

Get Google AI Overview and AI Mode answers for your queries: answer text and Markdown, cited sources with position, URL, domain, site name and snippet, and whether your domains are cited. Any country and language, many queries per run, no login. Rows without an answer are free.

- **URL**: https://apify.com/genial_candlestand/google-ai-overview-ai-mode-scraper.md
- **Developed by:** [Flowo](https://apify.com/genial_candlestand) (community)
- **Categories:** SEO tools, AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.98 / 1,000 ai overview answers

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Google AI Overview & AI Mode Scraper | Answers & Sources

![Google AI Overview & AI Mode Scraper | Answers & Sources](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-ai-search-answers-banner-82221e9a.png)

Get Google's AI Overview and, if you want it, Google's AI Mode answer for a list of search queries. Each row has the answer text as plain text and as Markdown, the cited sources with position, title, URL, domain, site name and snippet, and an optional check of whether your own domains are cited. You choose the country and language, and rows for queries where Google shows no AI answer are free.

### What does Google AI Overview & AI Mode Scraper do?

You give it search queries. For each query and each engine you pick (AI Overview, AI Mode or both) it loads the Google page and returns one row: whether Google gave an AI answer, the answer status, the localized heading, the answer text and Markdown, and the list of cited sources. It is built for SEO and GEO (generative engine optimisation) teams that track AI search visibility and brand citations, for researchers who collect what Google's AI says about a topic in several markets, and for AI agents that need Google's AI answer with its sources.

### How to scrape Google AI Overviews and AI Mode answers

![How Google AI Overview & AI Mode Scraper works: Loads the Google results page for each query, country and language; Loads the AI Mode page too when you pick that engine; Reloads the page (3 loads by d](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-ai-search-answers-how-4bde6dfc.png)

1. Open the actor in Apify Console.
2. Enter your **Search queries**, one per line.
3. Pick the **AI engines**: AI Overview (default), AI Mode, or both.
4. Set the **Country** and **Language** (defaults `us` and `en`).
5. Optionally add your domains under **Track my domains**.
6. Click **Start** and download the results as JSON, CSV, Excel or HTML, or read them through the API.

### How much does it cost to scrape Google AI Overviews?

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| AI Overview answer | $3.50 per 1,000 | $3.325 per 1,000 | $3.15 per 1,000 | $2.975 per 1,000 |
| AI Mode answer | $20.00 per 1,000 | $19.00 per 1,000 | $18.00 per 1,000 | $17.00 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 3 rows in 9 s.

You pay per answer, not per page:

- **AI Overview answer** — one row with an AI Overview (`engine: "aiOverview"`, `hasAnswer: true`): $0.0035, i.e. $3.50 per 1,000 answers.
- **AI Mode answer** — one row with an AI Mode answer (`engine: "aiMode"`, `hasAnswer: true`): $0.02, i.e. $20 per 1,000 answers.
- **Actor start** — $0.00005 per run.

Not charged: rows where Google shows no AI answer (`answerStatus: "none"`), rows where Google did not load the answer (`notLoaded`), error rows (`error`), the extra page loads of **Max requests per query**, and domain tracking.

| Scenario | Paid events | Cost (Free plan, start fee included) |
|---|---|---|
| 3 queries, AI Overview, all 3 answered | 3 AI Overview answers | about $0.011 |
| 100 keywords, AI Overview, 90 answered | 90 AI Overview answers | about $0.32 |
| 1,000 keywords, AI Overview, 900 answered | 900 AI Overview answers | about $3.15 |
| 100 queries, both engines: 90 AI Overview and 55 AI Mode answers | 90 + 55 | about $1.42 |

The answered share depends on your queries: informational questions usually get an AI Overview, navigational and widget queries (logins, weather) usually do not. You can cap spending with the run's maximum charge.

### Input

![Google AI Overview & AI Mode Scraper input example: Search queries, AI engines, Country, Language, Max requests per query](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-ai-search-answers-input-779f7557.png)

| Field | What it does |
|---|---|
| `queries` (required) | Search queries, one per line. Each query gives one row per engine. Duplicates (ignoring case and extra spaces) are skipped. Google reads only the first 32 words. |
| `engines` | `aiOverview` (AI Overview, default) and/or `aiMode` (AI Mode, best effort). Both give two rows per query. |
| `country` | Country to search from (Google `gl`): a 2-letter ISO code such as `us`, `de`, `jp`, or an English country name such as `Germany`. Default `us`. |
| `language` | Language code (Google `hl`) such as `en`, `de`, `ja` or `pt-BR`. Default `en`. |
| `trackDomains` | Optional domains to look for among the cited sources, e.g. `example.com`. Subdomains match; a scheme, path or `www.` is removed. |
| `maxRequestsPerQuery` | 1–5, default 3. How many times a page is loaded when Google sends it without the AI answer filled in. Never charged. |

Invalid values (an unknown country or language code, a `trackDomains` entry that is not a domain, no queries) stop the run before any request.

```json
{
  "queries": ["best crm for small business", "crm vs spreadsheet"],
  "engines": ["aiOverview", "aiMode"],
  "country": "us",
  "language": "en",
  "trackDomains": ["hubspot.com"],
  "maxRequestsPerQuery": 3
}
```

### What data can you extract from Google AI Overviews?

![Google AI Overview & AI Mode Scraper output example: Query, Engine, Country, Has answer, Status](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-ai-search-answers-output-da2d116a.png)

One row per distinct query × engine.

| Field | Description |
|---|---|
| `query` | The query as sent (trimmed, spaces collapsed) |
| `engine` | `aiOverview` or `aiMode` |
| `country`, `language` | Lowercase country code (`gl`) and language code (`hl`) used |
| `hasAnswer` | `true` when Google gave an AI answer (only these rows are charged) |
| `answerStatus` | `answer`, `none` (no AI answer for this query), `notLoaded` (Google did not load it in any request) or `error` |
| `heading` | Localized heading, e.g. "AI Overview", "Übersicht mit KI", "AI Mode reply for …" |
| `answerText` | The answer as plain text; list items start with "- " |
| `answerMarkdown` | The same answer as Markdown: `###` headings, `**bold**`, `-` lists, `|` tables |
| `sourceCount` | Number of cited sources |
| `sources` | Cited sources in Google's order: `position`, `title`, `url`, `domain`, `siteName`, `description` (snippet) |
| `sourceDomains` | Distinct source domains, in order of first appearance |
| `trackedDomainsCited` | Your tracked domains that are cited (empty without `trackDomains`) |
| `firstTrackedPosition` | Best source position of a tracked domain, or `null` |
| `requests` | Page loads this row took |
| `url` | The Google search page of the answer |
| `scrapedAt` | When the row was extracted (ISO 8601) |

A real row (answer and sources shortened):

```json
{
  "query": "is coffee good for you",
  "engine": "aiOverview",
  "country": "us",
  "language": "en",
  "hasAnswer": true,
  "answerStatus": "answer",
  "heading": "AI Overview",
  "answerText": "Drinking coffee in moderation is generally good for most people and is linked to a lower risk of early death, heart disease, type 2 diabetes, and liver conditions.\nPotential Health Benefits\n- Lower Mortality Risk: Regular coffee drinkers show a reduced risk of death from all causes, …",
  "answerMarkdown": "Drinking coffee in moderation is generally good for most people … liver conditions.\n\n### Potential Health Benefits\n\n- **Lower Mortality Risk:** Regular coffee drinkers show a reduced risk of death from all causes, …",
  "sourceCount": 10,
  "sources": [
    {
      "position": 1,
      "title": "8 Reasons Why Coffee Is Good for You and How to Maximize the Health Benefits | Johns Hopkins Medicine",
      "url": "https://www.hopkinsmedicine.org/health/expert-qa/coffee-health-benefits",
      "domain": "hopkinsmedicine.org",
      "siteName": "Johns Hopkins Medicine",
      "description": "Here are the top ways coffee can positively impact your health: * Your body may process glucose (sugar) better. That's the theory ..."
    },
    {
      "position": 2,
      "title": "Health Benefits of Coffee | Rush",
      "url": "https://www.rush.edu/news/health-benefits-coffee",
      "domain": "rush.edu",
      "siteName": "Rush University Medical Center",
      "description": "What health benefits does coffee offer? 1. Improve overall health. An analysis of nearly 220 studies on coffee, published in the B..."
    }
  ],
  "sourceDomains": ["hopkinsmedicine.org", "rush.edu", "consumerreports.org", "mayoclinic.org", "wkyc.com", "youtube.com", "utswmed.org", "bhf.org.uk", "slidellmemorial.org"],
  "trackedDomainsCited": [],
  "firstTrackedPosition": null,
  "requests": 1,
  "url": "https://www.google.com/search?q=is+coffee+good+for+you&hl=en&gl=us",
  "scrapedAt": "2026-11-13T19:51:49.695Z"
}
```

A query without an AI answer still gets a free row, e.g. `"hasAnswer": false`, `"answerStatus": "none"`, `heading`, `answerText` and `answerMarkdown` `null`, `"sources": []`, `"sourceCount": 0`.

### Use cases

- **AI Overview citation tracking:** run your keyword list weekly with `trackDomains` and see where your site is cited (`trackedDomainsCited`, `firstTrackedPosition`).
- **AI Overview coverage audit:** find which keywords trigger an AI Overview at all — `hasAnswer` and `answerStatus` are on every row, and misses cost nothing.
- **Other markets:** collect what Google's AI says in Germany, France, Japan or any other country with `country` and `language`.
- **AI Overview vs AI Mode:** compare both answers and their sources for the same prompts.
- **AI agents:** answer a question with Google's AI answer and its cited sources.

### Limitations

- **AI Mode is best effort.** Google often sends the AI Mode page without the answer; in our tests about 55% of queries got an answer within 3 requests. Unanswered rows have `answerStatus: "notLoaded"` and are free. AI Mode pages take 20–78 seconds each. AI Mode is not offered in some countries, e.g. China (`cn`), and then gives no answers.
- **Answers vary.** The same query can get an AI Overview on one fetch and none on the next, and the text changes between fetches.
- **Some source URLs are home pages.** About 30% of sources carry only the site's home page because Google shows no deeper link.
- **Fields that can be empty:** `heading`, `answerText` and `answerMarkdown` are `null` on rows without an answer (`heading` can also be `null` when Google shows none); `firstTrackedPosition` is `null` when no tracked domain is cited; `sources` can be empty even on an answer row (common for some AI Mode answers); inside a source, `title`, `domain`, `siteName` and `description` can be `null`.
- **Only AI answers.** No organic results, People also ask, ads or AI Mode place and product cards.
- **Proxy.** The actor always uses the Apify Proxy group `GOOGLE_SERP`; your account needs access to it, otherwise the run fails at start.

### Tips and troubleshooting

- **Few answers?** Use informational questions ("how long to boil an egg"); navigational queries ("facebook login") and widgets (weather) rarely get an AI Overview.
- **Many `notLoaded` rows?** Raise **Max requests per query** (up to 5). Extra loads are free but make the run longer.
- **Local answers:** set `language` to match the language of your queries, e.g. `de` with German queries and `country: "de"`.
- **Coverage share:** filter `hasAnswer = true` for coverage and `trackedDomainsCited` not empty for citation share.
- **Run failed at start?** Check that your account can use the `GOOGLE_SERP` proxy group, and that `country`, `language` and `trackDomains` hold valid values.

### API, MCP and integrations

Run the actor from your code with the same JSON input as in Console. Your API token is in [Console → Settings → API & Integrations](https://console.apify.com/settings/integrations).

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("genial_candlestand/google-ai-overview-ai-mode-scraper").call(run_input={
    "queries": [
        "is coffee good for you",
        "how long to boil an egg",
        "best time to visit japan",
    ],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('genial_candlestand/google-ai-overview-ai-mode-scraper').call({
    "queries": [
        "is coffee good for you",
        "how long to boil an egg",
        "best time to visit japan",
    ],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** — one request runs the actor and returns the results (runs up to 5 minutes; longer ones: [run asynchronously](https://docs.apify.com/api/v2/act-runs-post)):

```bash
curl -X POST "https://api.apify.com/v2/acts/genial_candlestand~google-ai-overview-ai-mode-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["is coffee good for you","how long to boil an egg","best time to visit japan"]}'
```

**AI agents (MCP).** Add the actor as a tool of the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp). Claude Code:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=genial_candlestand/google-ai-overview-ai-mode-scraper"
```

Claude Desktop, Cursor or VS Code: `{"mcpServers": {"apify": {"url": "https://mcp.apify.com?tools=genial_candlestand/google-ai-overview-ai-mode-scraper"}}}`. Then ask, for example:

- "Is hubspot.com cited in Google's AI Overview for best crm for small business and crm vs spreadsheet?"
- "Get Google's German AI Overview with sources for wie lange kocht man ein ei"
- "Compare Google AI Overview and AI Mode answers for best running shoes for flat feet"

**Integrations.** Run it on a schedule with [Apify Schedules](https://docs.apify.com/platform/schedules) and send the results to Google Sheets, Slack, Zapier, Make, n8n or your webhook — see [Apify integrations](https://docs.apify.com/platform/integrations).

### FAQ

**Is it legal to scrape Google AI Overviews?**<br>
The actor reads public Google search pages without logging in. It returns the AI answer and the public sources Google cites, no personal account data. You are responsible for how you use the data and for following the laws and terms that apply to you.

**Do I pay for queries without an AI answer?**<br>
No. Rows with `hasAnswer: false` (`none`, `notLoaded` or `error`) are saved free, and so are the repeated page loads.

**How is it different from other Google AI Overview actors?**<br>
Every query gets a row in the same dataset, with `hasAnswer` and `answerStatus`, so you can count coverage directly. Sources include `position`, `domain` and `siteName`, the answer comes as Markdown too, you can set both country and language, and `trackDomains` checks your citations. AI Mode answers cost $20 per 1,000 answered queries.

**Can I use it for many countries?**<br>
One run uses one `country` and `language`. Start one run (or a saved task) per market.

### Also useful

- [Google Search Scraper](https://apify.com/genial_candlestand/google-search-results-scraper) — get the organic results, ads and People also ask for the same keywords
- [Google Trends Scraper](https://apify.com/genial_candlestand/google-trends-scraper) — check interest over time and related queries before you pick keywords to track
- [Google News Scraper](https://apify.com/genial_candlestand/google-news-articles-search-scraper) — collect news articles on the topics and brands you watch in AI answers
- [Google Trends Trending Now Scraper](https://apify.com/genial_candlestand/google-trending-now-scraper) — find trending searches by country to test in AI Overviews

# Actor input Schema

## `queries` (type: `array`):

What to ask Google, one query per line, e.g. "is coffee good for you". Each query gives one row per engine; duplicates (ignoring case and extra spaces) are skipped. Informational questions usually get an AI answer; navigational queries ("facebook login") and widgets (weather) usually do not. Google reads only the first 32 words.

## `engines` (type: `array`):

AI Overview: the answer box on the normal results page (reliable). AI Mode: the separate AI Mode answer (best effort: when Google doesn't load it, the row has hasAnswer=false and is free). Pick both to get two rows per query.

## `country` (type: `string`):

Country to search from (Google gl): a 2-letter ISO code such as "us", "de" or "jp", or an English country name such as "Germany". AI Mode isn't offered in some countries, e.g. China (cn), and then gives no answers.

## `language` (type: `string`):

Interface and answer language (Google hl): a language code such as "en", "de", "ja" or "pt-BR". Google answers mostly in the language of the query, so set it to match your queries.

## `trackDomains` (type: `array`):

Optional. Domains to look for among the cited sources, e.g. "example.com"; a scheme, path or www. is removed. Subdomains count ("blog.example.com" matches "example.com"). Each row shows which are cited (trackedDomainsCited) and the best position (firstTrackedPosition). No extra requests or cost.

## `maxRequestsPerQuery` (type: `integer`):

1–5. How many times to load the page when Google sends it without the AI answer filled in (common with AI Mode). More loads make an answer more likely but the run takes longer. Extra loads are never charged.

## Actor input object example

```json
{
  "queries": [
    "is coffee good for you",
    "how long to boil an egg",
    "best time to visit japan"
  ],
  "engines": [
    "aiOverview"
  ],
  "country": "us",
  "language": "en",
  "maxRequestsPerQuery": 3
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset with one row per query × engine

## `overview` (type: `string`):

The Overview view of the dataset

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "is coffee good for you",
        "how long to boil an egg",
        "best time to visit japan"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/google-ai-overview-ai-mode-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "queries": [
        "is coffee good for you",
        "how long to boil an egg",
        "best time to visit japan",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/google-ai-overview-ai-mode-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "is coffee good for you",
    "how long to boil an egg",
    "best time to visit japan"
  ]
}' |
apify call genial_candlestand/google-ai-overview-ai-mode-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,genial_candlestand/google-ai-overview-ai-mode-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/FkKk0V3wyYwrcmAIc/builds/McvyZFNknfjqRCjBN/openapi.json
