# Google Autocomplete Scraper - Keyword Suggestions & Relevance (`scrapesage/google-autocomplete-scraper`) Actor

Scrape Google Autocomplete suggestions for any keyword across Web, Images, News, Shopping and YouTube: Google relevance scores, suggestion types, entity data, plus question, preposition, commercial and a-z keyword expansions. 40+ countries. Independent tool, not affiliated with Google LLC.

- **URL**: https://apify.com/scrapesage/google-autocomplete-scraper.md
- **Developed by:** [Scrape Sage](https://apify.com/scrapesage) (community)
- **Categories:** SEO tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.55 / 1,000 suggestion scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Google Autocomplete Scraper - Keyword Suggestions & Relevance

> **Disclaimer:** This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC or any of its subsidiaries. All trademarks mentioned are the property of their respective owners. "Google Autocomplete" is referenced only to describe the publicly available website this Actor collects data from.

Type a keyword into Google and the suggestions that drop down are the queries real people search most. This actor collects those **Google Autocomplete (Google Suggest) suggestions** at scale - for Google Web Search, Google Images, Google News, Google Shopping and **YouTube** - and returns them with **Google's own relevance score**, the suggestion type and knowledge-graph entity data. Expand every seed keyword with question words, prepositions, commercial modifiers and a-z / 0-9 suffixes to build complete long-tail keyword sets in one run. No login, no API key, no browser. 40+ countries, 20+ languages.

### What you get

| Field | What it holds |
|---|---|
| `suggestion` | The suggested query exactly as Google shows it |
| `seed`, `query`, `expansion`, `modifier` | The seed keyword you gave, the query actually sent (`how best laptop`), the expansion mode (`seed` / `questions` / `prepositions` / `commercial` / `alphabet` / `prefix-alphabet` / `numbers` / `recursive`) and the modifier token (`how`, `vs`, `best`, `a`) |
| `vertical` | `web`, `images`, `news`, `shopping` or `youtube` |
| `position` | 1-based rank in Google's dropdown for that query |
| `relevance`, `verbatimRelevance` | Google's relevance score for the suggestion (higher = stronger) and for the typed query itself - the same numbers Chrome uses to order the dropdown |
| `suggestType` | Google's type for the suggestion - `QUERY`, `ENTITY`, `NAVIGATION` and friends |
| `isQuestion`, `wordCount` | Whether the suggestion reads as a question; how many words it has |
| `isEntity`, `entityTitle`, `entityDescription`, `entityImage`, `entityType` | Knowledge-graph data when Google suggests a person, product, place or brand ("Apple - Technology company") |
| `subtypes` | Google's raw numeric subtype codes for the suggestion |
| `depth`, `countryCode`, `language`, `scrapedAt` | Recursion level, Google edition, interface language and timestamp, so multi-market runs stay traceable |

### Why this scraper

- **The richest autocomplete payload available.** Most suggestion scrapers return plain strings. This one uses Google's Chrome autocomplete client, which also returns the **relevance score**, suggestion type, subtype codes and entity details - so you can rank keywords the way Google does instead of guessing.
- **Five verticals, one run.** Web, Images, News, Shopping and YouTube each have their own suggestion set. Pick any combination; every row says which vertical it came from.
- **Keyword expansion built in.** Question prefixes (what / why / how / can / is...), preposition suffixes (for / with / vs / near...), commercial modifiers (best / cheap / buy / price / review / near me...), a-z and 0-9 suffixes, a-z prefixes, and up to two levels of recursion. Question and commercial word lists are localised for English, German, French, Spanish, Italian, Portuguese and Dutch.
- **Filters that save you money.** `Questions only` keeps question-shaped suggestions; `Must contain the seed` drops loosely related ones. Filtered-out and duplicate suggestions are never charged.
- **Monitor mode for trend tracking.** Turn it on and schedule the run: every run returns only suggestions that were not seen before, which is a ready-made alert for new searches around a brand, product or topic.
- **Fast.** Suggestions come straight from Google's autocomplete endpoint, not from rendered pages - the first rows land in the dataset within seconds and a fully expanded seed takes about ten seconds.

### Use cases

- **SEO keyword research** - long-tail keyword discovery, "alphabet soup" expansion, question keywords for FAQ and People-Also-Ask style content, keyword clustering by seed.
- **Content planning** - what people ask about a topic (`how to start a podcast`), by country and language.
- **YouTube and e-commerce** - YouTube search suggestions for video titles and tags; Google Shopping suggestions for product listings and Amazon-style keyword sets.
- **Brand and reputation monitoring** - what Google suggests after your brand name (`<brand> reviews`, `<brand> vs <competitor>`), with monitor mode to catch new suggestions the day they appear.
- **PPC and market research** - commercial-intent modifiers by market, competitor comparison queries (`notion vs ...`), demand signals across 40+ countries.
- **AI agents and data pipelines** - clean, ranked, deduplicated keyword JSON ready for embedding, clustering or prompt building.

### How to use

1. Enter one or more **seed keywords**, one per line - `best laptop`, `how to lose weight`, `iphone 15`. You can also paste a keyword list or link a `.txt` / `.csv` / Google Sheet in **Seed keywords from a file**.
2. Pick the **verticals** (Web by default) and the **expansion modes** (question, preposition and commercial modifiers by default). Add `alphabet` / `prefix-alphabet` / `numbers` for exhaustive a-z sets, or raise **Recursion depth** to feed every suggestion back in as a new seed.
3. Set the **country** and **language**, optionally turn on **Questions only** or **Must contain the seed**, set **Maximum suggestions** and run. Export as JSON, CSV, Excel or via the API.

### Input

```json
{
    "keywords": ["best laptop", "how to start a podcast"],
    "verticals": ["web"],
    "expansions": ["questions", "prepositions", "commercial"],
    "countryCode": "us",
    "language": "en",
    "questionsOnly": false,
    "mustContainSeed": false,
    "maxResults": 500
}
```

Every field is optional. With no input at all the actor runs a small sample so you can see the output shape.

### Output example

```json
{
    "type": "suggestion",
    "suggestion": "best laptop 2026",
    "seed": "best laptop",
    "query": "best laptop",
    "expansion": "seed",
    "modifier": null,
    "vertical": "web",
    "position": 1,
    "relevance": 1250,
    "verbatimRelevance": 1300,
    "suggestType": "QUERY",
    "isQuestion": false,
    "isEntity": false,
    "entityTitle": null,
    "entityDescription": null,
    "entityImage": null,
    "entityType": null,
    "subtypes": [512, 433],
    "wordCount": 3,
    "depth": 0,
    "countryCode": "us",
    "language": "en",
    "scrapedAt": "2026-09-06T10:12:44.000Z"
}
```

A row that expands the seed with a question word looks the same with `"query": "how best laptop"`, `"expansion": "questions"` and `"modifier": "how"`; a YouTube row carries `"vertical": "youtube"`.

### Reliability - read this before you buy

- **Up to 10 suggestions per request.** Google's dropdown holds at most 10 entries per typed query (YouTube up to 14). That is why the expansions exist: one seed with the three default modes is 38 requests and typically 150-300 unique suggestions; add the alphabet modes and recursion for thousands.
- **Relevance scores are not returned for YouTube.** YouTube's suggestion endpoint sends text and subtype codes only, so `relevance`, `verbatimRelevance` and `suggestType` are `null` on YouTube rows. All other verticals return them.
- **Entity data appears only on entity suggestions.** `entityTitle` and friends are filled when Google suggests a person, product, place or brand - usually a small share of rows. Nothing is invented for the rest.
- **Suggestions are not personalised.** Requests carry no cookies or account, so you get the suggestions an anonymous user in that country and language would see. Google does vary suggestions over time and by edition; `scrapedAt`, `countryCode` and `language` are on every row.
- **Runs stop cleanly at the time limit** with everything collected so far and a status message that says how many requests were still pending - a run never times out.
- **Every run ends with a plain-language status message** that tells you what happened and, when a run returns nothing, which input to change.

### How much does it cost to scrape Google Autocomplete?

This Actor uses Apify's **pay-per-event** pricing: you are charged only for the results it delivers, with no monthly rental and no start fee. The events it can charge are:

- **Suggestion scraped** - Charged once per unique autocomplete suggestion written to your dataset, with its seed, query, expansion modifier, vertical, position, Google relevance score, suggestion type and entity data. Duplicates, filtered-out suggestions and already-seen suggestions in monitor mode are never charged.
- **Autocomplete request** - Charged once per autocomplete request made to Google or YouTube - one per seed, per expansion modifier and per vertical (a seed with the three default expansion modes is 38 requests). Requests that fail are not charged.

The current price of each event is shown on the **Pricing** tab of this page. Set a maximum total charge on the run if you want a hard cap on spend, and use `maxResults` and the expansion modes to control how much the Actor fetches.

### Automate & schedule

Run this Actor on autopilot and pull results into your own stack:

- **[Apify API](https://docs.apify.com/api/v2)** - start runs, fetch datasets and manage schedules over REST.
- **[apify-client for JavaScript](https://docs.apify.com/api/client/js/)** and **[apify-client for Python](https://docs.apify.com/api/client/python/)** - official SDKs.
- **[Schedules](https://docs.apify.com/platform/schedules)** - run it hourly, daily or weekly and keep your dataset current.
- **[Webhooks](https://docs.apify.com/platform/integrations/webhooks)** - trigger downstream actions (CRM import, Slack alert, email sequence) the moment a run finishes.

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

const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });

const run = await client.actor('scrapesage/google-autocomplete-scraper').call({
    "keywords": ["best laptop", "how to start a podcast"],
    "verticals": ["web"],
    "expansions": ["questions", "prepositions", "commercial"],
    "countryCode": "us",
    "language": "en",
    "maxResults": 500
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} records`);
```

### Integrate with any app

Connect the dataset to thousands of apps - no code required:

- **[Make](https://docs.apify.com/platform/integrations/make)** - multi-step automation scenarios.
- **[Zapier](https://docs.apify.com/platform/integrations/zapier)** - push new records straight into your CRM or spreadsheet.
- **[Slack](https://docs.apify.com/platform/integrations/slack)** - get notified when a scheduled run finds something new.
- **[Google Drive / Sheets](https://docs.apify.com/platform/integrations/drive)** - auto-export every run to a spreadsheet.
- **[Airbyte](https://docs.apify.com/platform/integrations/airbyte)** - pipe results into your data warehouse.
- **[GitHub](https://docs.apify.com/platform/integrations/github)** - trigger runs from commits or releases.

### Use with AI assistants (MCP)

The output is clean, LLM-ready JSON. You can call this Actor from Claude, ChatGPT or any agent framework through the **[Apify MCP server](https://docs.apify.com/platform/integrations/mcp)** - describe the data you need and let the assistant run this Actor for you.

### Agent-ready: autonomous payments (x402 & Skyfire)

This actor is **agent-ready** — AI agents can discover it, run it, and **pay for it autonomously**, with no Apify account and no human in the loop. It uses [pay-per-event](https://docs.apify.com/platform/actors/publishing/monetize/pay-per-event) pricing and [limited permissions](https://docs.apify.com/platform/actors/development/permissions), so it qualifies for Apify's agentic-payment standards:

- **[x402](https://docs.apify.com/platform/integrations/x402)** — an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) — no account, no API key.
- **[Skyfire](https://docs.apify.com/platform/integrations/skyfire)** — agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

### More scrapers from scrapesage

Related Actors in the same category:

- **[Keyword Research Scraper](https://apify.com/scrapesage/keyword-research-scraper)** - Google, YouTube, Amazon & More
- **[Google Trends Scraper](https://apify.com/scrapesage/google-trends-scraper)** - Interest, Regions & Trends
- **[Bing Search Scraper](https://apify.com/scrapesage/bing-search-scraper)** - SERP Results & Real URLs
- **[Semrush Scraper](https://apify.com/scrapesage/semrush-scraper)** - Traffic, Authority, Backlinks & Keywords
- **[Website SEO & Metadata Extractor](https://apify.com/scrapesage/website-seo-extractor)** - Tags, OG & Issues

### Tips

- Start with the three default expansion modes and `maxResults` around 500 per seed; add `alphabet` and `numbers` only when you want an exhaustive set (they add 36 requests per seed).
- Use **Recursion depth 1** on a broad seed to map a whole topic: every suggestion is fed back in as a new query. Depth 2 on many seeds can mean thousands of requests - keep `maxResults` as the brake.
- Match the country and language to the market you sell in: `gb`/`en` for the UK, `de`/`de` for Germany, `mx`/`es` for Mexico. Suggestions differ a lot between editions.
- For competitor research, seed with `<brand> vs` and turn on **Must contain the seed** with the `alphabet` mode - you get every "brand vs X" comparison Google knows.
- For a daily feed, turn on **monitor mode**, give the monitor a name per keyword set, and add a Schedule. The first run seeds the store; every later run returns only new suggestions.

### FAQ

**Does it log in or use cookies?** No. The actor calls Google's public autocomplete endpoint anonymously through Apify Proxy. Nothing is stored on your behalf except the seen-suggestion list of monitor mode, in your own key-value store.

**Is this the same as Google Trends?** No. Trends shows search interest over time; autocomplete shows the queries Google currently suggests for a prefix, with a relevance score. They complement each other - see the related actors above.

**What is the relevance score?** The number Google's Chrome client receives to order the dropdown (`google:suggestrelevance`). Higher means Google ranks that suggestion more strongly for the typed query. It is a relative signal, not a search volume.

**Which countries and languages work?** Any edition in the country list and any interface language in the language list. Question, preposition and commercial modifiers are localised for English, German, French, Spanish, Italian, Portuguese and Dutch; other languages use the English modifiers, which still work for seeds typed in that language.

**What happens on a network error?** Each request is retried up to three times; if it still fails the run continues with the other queries and the status message names the failure. Failed requests are never charged.

### Disclaimer

**This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by Google LLC or any of its subsidiaries. All trademarks mentioned are the property of their respective owners.**

"Google Autocomplete" and any related marks are the property of their respective owners and are used here only in a descriptive, nominative sense - to identify the publicly accessible website from which this Actor collects data. This Actor is not an official Google Autocomplete product, is not authorised or certified by Google LLC, and does not distribute Google Autocomplete software. It collects only publicly available information; you are responsible for ensuring your use of that data complies with applicable laws, regulations and the terms of the source website.

### Need help?

Open an issue on the Actor's **Issues** tab, or visit the [Apify help center](https://help.apify.com/). Feature requests are welcome - this Actor is actively maintained.

# Actor input Schema

## `keywords` (type: `array`):

One seed keyword per line, e.g. `best laptop`, `how to lose weight`, `iphone 15`. Each seed is queried as typed, then expanded with the modes you pick below.

## `keywordsFromFile` (type: `string`):

Optional. Either paste a block of keywords (one per line) or a single link to a .txt/.csv file (or a Google Sheet share link) that lists them.

## `verticals` (type: `array`):

Which Google surfaces to query. Each vertical has its own suggestion set.

## `expansions` (type: `array`):

How to expand every seed into more queries. `questions` prefixes what/why/how…, `prepositions` appends for/with/vs…, `commercial` prefixes best/cheap/buy…, `alphabet` appends a-z, `prefix-alphabet` prepends a-z, `numbers` appends 0-9. Leave empty to query the seeds only.

## `recursiveDepth` (type: `integer`):

0 = query the seeds and their expansions only. 1 = also query every suggestion found as a new seed (no expansions), 2 = twice. Each level multiplies the request count by up to 10-15x - keep `maxResults` in mind.

## `countryCode` (type: `string`):

Google country edition - suggestions differ by country.

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

Suggestion language. Question/preposition/commercial expansions are localised for en, de, fr, es, it, pt and nl; other languages use the English modifiers.

## `questionsOnly` (type: `boolean`):

Keep only suggestions that read as questions (what/why/how/can/is… or ending with ?). Handy for FAQ and content research.

## `mustContainSeed` (type: `boolean`):

Drop suggestions that do not contain the seed keyword's words (Google sometimes suggests loosely related queries).

## `maxResults` (type: `integer`):

Stop after this many unique suggestions across all seeds, expansions and verticals.

## `monitorMode` (type: `boolean`):

Remember every suggestion seen in earlier runs and output only new ones. Pair with a Schedule to watch how Google's suggestions for your keywords change over time.

## `monitorStoreName` (type: `string`):

Key-value store that keeps the seen suggestions (lowercase letters, numbers and dashes).

## `maxConcurrency` (type: `integer`):

How many suggestion requests run at the same time.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Datacenter proxies (default) are enough; switch to residential only if Google starts rate-limiting a very large run.

## Actor input object example

```json
{
  "keywords": [
    "best laptop"
  ],
  "verticals": [
    "web"
  ],
  "expansions": [
    "questions",
    "prepositions",
    "commercial"
  ],
  "recursiveDepth": 0,
  "countryCode": "us",
  "language": "en",
  "questionsOnly": false,
  "mustContainSeed": false,
  "maxResults": 500,
  "monitorMode": false,
  "monitorStoreName": "google-autocomplete-monitor",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Every autocomplete suggestion collected in this run.

# 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 = {
    "keywords": [
        "best laptop"
    ],
    "maxResults": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapesage/google-autocomplete-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 = {
    "keywords": ["best laptop"],
    "maxResults": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapesage/google-autocomplete-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 '{
  "keywords": [
    "best laptop"
  ],
  "maxResults": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapesage/google-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapesage/google-autocomplete-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/hnSEoKvGW2qzff7dv/builds/R8XpEzMsKshwSZCmV/openapi.json
