# Google AI Overview Scraper - Answers, Sources & Brand Tracking

> Scrape Google AI Overviews for any query: full answer text and Markdown, every cited source, and whether your domain or brand is cited. Plus organic top 10, People Also Ask and related searches in the same row. Any country, language, city or device. $2.50 per 1,000 queries.

- Category: AI search visibility
- Price: $2.50 per 1,000 × query checked, billed per result by Apify (no subscription); any other billed events are listed on the Store page. Cap any run with `maxTotalChargeUsd`.
- Store page: https://apify.com/wrenfield-data/google-ai-overview-scraper
- Human page: https://wrenfielddata.com/tools/google-ai-overview-scraper/
- OpenAPI 3 spec: https://api.apify.com/v2/acts/wrenfield-data~google-ai-overview-scraper/builds/default/openapi.json
- MCP tool: https://mcp.apify.com?tools=wrenfield-data/google-ai-overview-scraper (appears as `wrenfield-data--google-ai-overview-scraper`)

## Call it

Synchronous run that returns the dataset rows as JSON (use `/runs` for long jobs and poll; see the OpenAPI spec):

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/wrenfield-data~google-ai-overview-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["best crm for small business", "is coffee good for you", "how to lower cholesterol naturally"], "targetDomains": ["hubspot.com"], "brands": ["HubSpot", "Salesforce", "Zoho"], "location": "United States", "language": "English"}'
```

## Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `queries` | array | yes | `["best crm for small business", "is coffee good for you", "how to lower cholesterol naturally"]` | Google searches to check, one per line. Each query is one Google results page. Questions and comparisons ("best crm for small business", "hubspot vs salesforce") trigger AI Overviews most often. |
| `targetDomains` | array |  |  | Optional. Domains to look for among the AI Overview's cited sources, e.g. hubspot.com. Subdomains count. Each row then shows whether each domain is cited, at which source positions, and its organic position. |
| `brands` | array |  |  | Optional. Brand names to look for in the AI Overview text (case-insensitive, whole words). Each row lists which brands are mentioned and which are not. |
| `location` | string |  | `"United States"` | Country name (United States), 2-letter code (GB), location code (2840), or a full Google location name for cities and regions (e.g. London,England,United Kingdom). |
| `language` | string |  |  | Language name or code (English, de). Leave empty for the main language of the country. |
| `device` | string |  | `"desktop"` | Desktop or mobile Google results. |
| `mode` | string |  | `"standard"` | Standard ($2.50 / 1,000 queries): results usually arrive in 10-30 seconds for the whole batch, sometimes a few minutes at peak times. Fast ($6 / 1,000 queries): every query is fetched live and in parallel, usually 5-25 seconds each, with no queue. Same data in both. |
| `includeOrganicResults` | boolean |  | `true` | Add the top 10 organic results (position, title, URL, domain, description) to each row. Free. |
| `includePeopleAlsoAsk` | boolean |  | `true` | Add the People Also Ask questions shown on the page. Free. |
| `includeRelatedSearches` | boolean |  | `true` | Add the related searches from the bottom of the page. Free. |
| `onlyWithAiOverview` | boolean |  | `false` | Skip rows for queries where Google showed no AI Overview. They are still checked and charged; the run summary counts them. |

## Example input

```json
{
  "queries": [
    "best crm for small business",
    "is coffee good for you",
    "how to lower cholesterol naturally"
  ],
  "targetDomains": [
    "hubspot.com"
  ],
  "brands": [
    "HubSpot",
    "Salesforce",
    "Zoho"
  ],
  "location": "United States",
  "language": "English"
}
```

## Output fields

One flat row per result:

| Field | Type | Description |
|---|---|---|
| `query` | string | Google search checked |
| `has_ai_overview` | boolean | Whether Google showed an AI Overview (null if the query failed) |
| `status` | string | ai_overview, no_ai_overview or failed (failed queries are not charged) |
| `ai_overview_text` | string | AI Overview as plain text |
| `ai_overview_markdown` | string | AI Overview as Markdown (headings, lists, bold) |
| `ai_overview_word_count` | integer | Words in the AI Overview |
| `ai_overview_sections` | array | Sections of the AI Overview with title, text and the positions of the sources each section cites |
| `ai_overview_is_async` | boolean | True when Google loaded the AI Overview after the page (captured anyway) |
| `references` | array | Every cited source: position, title, source name, domain, URL, snippet |
| `reference_count` | integer | Number of unique cited sources |
| `referenced_domains` | array | Unique cited domains, in citation order |
| `target_domains` | array | Per domain from your input: cited (true/false), source positions, organic position |
| `target_cited` | boolean | True if any of your domains is cited |
| `target_first_reference_position` | integer | Best (lowest) source position of your domains |
| `brands_mentioned` | array | Brands from your input that appear in the AI Overview text |
| `brands_not_mentioned` | array | Brands from your input that do not appear |
| `organic_results` | array | Organic top 10: position, title, URL, domain, description |
| `people_also_ask` | array | People Also Ask questions on the page |
| `related_searches` | array | Related searches on the page |
| `serp_features` | array | Result types on the page (ai_overview, organic, video, local_pack...) |
| `google_url` | string | The Google search URL that was checked |
| `error` | string | Why the query failed (failed rows only) |
| `location` | string | Location searched from |
| `language` | string | Search language |
| `device` | string | desktop or mobile |
| `checked_at` | string | When the page was checked (UTC, ISO 8601) |

## Notes

- Auth: an Apify API token as `Authorization: Bearer <token>`; the MCP server also supports OAuth sign-in.
- Failed or empty results are not charged on most tools; check the pricing on the Store page.
- Questions: hello@wrenfielddata.com
