# Google Autocomplete Scraper | Keyword Suggestions (`genial_candlestand/google-autocomplete-keyword-scraper`) Actor

Get Google Autocomplete keyword suggestions with position, Google's relevance score and suggestion type for any valid country and language code. A–Z, 0–9, question and custom-word expansions, recursion, YouTube/Shopping/News sources. Many seeds per run, deduplicated, no login.

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

## Pricing

from $0.26 / 1,000 keyword suggestions

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 Autocomplete Scraper | Keyword Suggestions by Country

![Google Autocomplete Scraper | Keyword Suggestions](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-keyword-research-metrics-banner-fcd26a2b.png)

Turn seed keywords into the long-tail phrases Google Autocomplete suggests for a chosen country and language. Each row gives the suggested phrase, its position in Google's list, Google's own relevance score, the suggestion type (query, website or calculator) and the expansion that surfaced it. Suggestions can come from Google Search, YouTube, Google Shopping or Google News autocomplete.

### What does Google Autocomplete Scraper do?

You enter one or more seed keywords, a country and a language. The actor sends the seed to Google Autocomplete, plus optional expansions: the seed + a…z, the seed + 0…9, English question words (how, what, why…), English prepositions (for, with, vs…) and your own prefix or suffix words in any language. It can also query every new suggestion again (recursion depth 1–2). You get flat rows that are ready for a spreadsheet, an SEO tool or an AI agent. It is built for SEO specialists, content marketers, PPC managers, e-commerce sellers and anyone doing keyword research.

Up to 15 suggestions come back per query. Duplicates across queries are removed by default, and you are not charged for them.

### How to scrape Google Autocomplete keyword suggestions

![How Google Autocomplete Scraper works: Builds queries per seed: the seed, A–Z, 0–9, questions and your own words; Asks Google Autocomplete for each query in your country and language; Optionally re-qu](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-keyword-research-metrics-how-7f6705de.png)

1. Open the actor in Apify Console and click **Try for free**.
2. Enter your **Seed keywords**, one per line, e.g. `coffee grinder`.
3. Set **Country** (e.g. `us`, `gb`, `de`) and **Language** (e.g. `en`, `de`, `pt-BR`).
4. Choose a **Suggestion source**: Google Search, YouTube, Google Shopping or Google News.
5. Pick **Expansions** (alphabet, numbers, questions, prepositions) or add your own **Prefix words** / **Suffix words**.
6. Set **Max suggestions** to cap the run, then click **Start**.
7. Download the results as JSON, CSV or Excel, or read them through the API.

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

Price per event by Apify plan:

| Event | Free | Bronze | Silver | Gold and above |
|---|---|---|---|---|
| Keyword suggestion | $0.30 per 1,000 | $0.27 per 1,000 | $0.24 per 1,000 | $0.21 per 1,000 |
| Actor start | $0.00005 | $0.00005 | $0.00005 | $0.00005 |

A test run with the API example input below returned 390 rows in 15 s.

You pay per saved suggestion row (the `keyword-suggestion` event) plus a small start fee per run. What is **not** charged: duplicate suggestions removed by deduplication, and queries that return no suggestions.

Cost on the Free plan, with the start fee included:

| Scenario | Rows (events) | Cost |
|---|---|---|
| One seed, no expansions | 15 | ≈ $0.0046 |
| One seed with the alphabet expansion (27 queries) | ≈ 390 | ≈ $0.12 |
| Several seeds with expansions, capped by Max suggestions | 5,000 | ≈ $1.50 |
| Bulk keyword list with recursion | 100,000 | ≈ $30.00 |

Set **Max suggestions** to control the most a run can cost.

### Input

![Google Autocomplete Scraper input example: Seed keywords, Country, Language, Suggestion source, Expansions, Prefix words, Suffix words](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-keyword-research-metrics-input-61aae25c.png)

| Field | What it does |
|---|---|
| `queries` (required) | Seed keywords, at most 100 characters each. Blank lines and case-insensitive duplicates are ignored. |
| `country` | Two-letter Google market code, default `us`. `uk` is accepted as `gb`. |
| `language` | ISO language code, default `en`. Regions work too: `en-GB`, `pt-BR`. Unknown codes such as `xx` are rejected. |
| `source` | `web` (default), `youtube`, `shopping` or `news`. |
| `expansion` | Any of `alphabet` (26 extra queries, seed + a…z), `numbers` (10 extra, seed + 0…9), `questions` (9 extra, English only), `prepositions` (8 extra, English only). The seed itself is always queried too, so the alphabet expansion makes 27 queries per seed. |
| `prefixes` / `suffixes` | Your own words placed before or after each seed, in any language. |
| `maxDepth` | 0–2. Re-queries every new suggestion as a new query at the next level. |
| `deduplicate` | On by default: each suggestion is saved once per run. |
| `maxItems` | Total rows across the whole run, 1–100,000, default 1,000. |
| `proxyConfiguration` | Apify datacenter proxy by default. Residential is not needed. |

Example input:

```json
{
    "queries": ["zahnarzt"],
    "country": "de",
    "language": "de",
    "source": "web",
    "prefixes": ["bester"],
    "suffixes": ["kosten", "notdienst"],
    "maxItems": 1000
}
```

### What data can you extract from Google Autocomplete?

![Google Autocomplete Scraper output example: Suggestion, Seed, Query sent, Expansion, Position, Relevance](https://api.apify.com/v2/key-value-stores/Ll7RrWtDkZYOrBvfE/records/google-search-keyword-research-metrics-output-3e2eddbd.png)

| Field | Description |
|---|---|
| `suggestion` | The suggested phrase (a URL for website suggestions) |
| `query` | The seed keyword that produced the row |
| `expandedQuery` | The exact text sent to Google, e.g. `coffee grinder a` |
| `modifier` / `modifierType` | The added letter, digit or word, and how the query was built: `seed`, `alphabet`, `numbers`, `questions`, `prepositions`, `prefix`, `suffix`, `recursion` |
| `depth` | 0 for the seed and its expansions, 1–2 for recursion |
| `position` | 1-based rank in Google's list for that query |
| `relevance` | Google's relevance score of the suggestion |
| `suggestionType` / `subtypes` | Google's type (`QUERY`, `NAVIGATION`, `CALCULATOR`…) and its subtype codes |
| `description` | Page title for website suggestions, "Calculator" for calculator rows, otherwise null |
| `wordCount` | Number of words, handy for long-tail filters |
| `country`, `language`, `source` | The market, language and autocomplete source of the run |
| `url` | The search results page of the suggestion on the chosen source (the website itself for website suggestions) |
| `scrapedAt` | When the row was extracted |

Real example row (alphabet expansion, US, English):

```json
{
    "suggestion": "coffee grinder and maker",
    "query": "coffee grinder",
    "expandedQuery": "coffee grinder a",
    "modifier": "a",
    "modifierType": "alphabet",
    "depth": 0,
    "position": 3,
    "relevance": 602,
    "suggestionType": "QUERY",
    "subtypes": [512],
    "description": null,
    "wordCount": 4,
    "country": "US",
    "language": "en",
    "source": "web",
    "url": "https://www.google.com/search?q=coffee%20grinder%20and%20maker&hl=en&gl=us",
    "scrapedAt": "2026-11-05T03:20:58.413Z"
}
```

### Use cases

- **Long-tail keyword lists for one market:** expand "coffee grinder" with a…z for the US and get about 390 unique phrases with relevance scores.
- **Content and FAQ ideas:** the questions expansion on "vpn" returns phrases like "how vpn works" for blog posts and FAQ pages.
- **Local-language keyword research:** German suggestions for "zahnarzt" with your own words such as "kosten", "notdienst" and "bester".
- **YouTube, Shopping and News keyword ideas:** switch the source to find video topics, product searches or news queries.
- **Bulk keyword lists for AI agents:** several seeds with recursion depth 1 and a total cap of 3,000 rows.

### Limitations

- **No search volume, CPC or keyword difficulty.** Google Autocomplete does not provide them; that data comes only from the Google Ads Keyword Planner, which needs an Ads account. The ranking signal here is Google's own relevance score.
- At most 15 suggestions per query. More results come from expansions and recursion.
- A seed, or a seed plus a modifier, must fit in 100 characters. Longer seeds are rejected; longer expanded queries are skipped with a warning.
- The questions and prepositions expansions are English word lists and need an English language. For other languages, use prefix and suffix words.
- Local "near me" or city suggestions follow the proxy's exit city; the rest follows the country you set.
- If the main endpoint fails, a fallback is used that returns up to 10 suggestions without relevance, type, subtypes and description (these fields are then null).
- This is an unofficial Google endpoint; Google can change it at any time.

### Tips and troubleshooting

- **Need more keywords?** Add the alphabet and numbers expansions, your own prefix/suffix words, or set Recursion depth to 1. Each level can multiply the number of requests by up to 15, so set Max suggestions.
- **Want to see which expansions surface the same phrase?** Turn off **Remove duplicate suggestions**: you then get one row per query that returned it (each row is charged).
- **The run failed with an input error?** Check the country code (two letters, e.g. `us`, not `zz` or `eu`), the language code, and that questions/prepositions are only used with an English language.
- **Few or no rows?** Very rare or made-up seeds can return 0–2 suggestions; the log warns "No suggestions for seed …". Try a broader seed.
- **Japanese with the alphabet expansion:** Google reads the Latin letter as a kana prefix, so a suggestion does not always contain the letter.
- The default datacenter proxy is enough; no residential proxy, login or API key is needed.

### 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-autocomplete-keyword-scraper").call(run_input={
    "queries": ["coffee grinder"],
    "country": "us",
    "language": "en",
    "expansion": ["alphabet"],
    "maxItems": 1000,
})
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-autocomplete-keyword-scraper').call({
    "queries": ["coffee grinder"],
    "country": "us",
    "language": "en",
    "expansion": ["alphabet"],
    "maxItems": 1000,
});
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-autocomplete-keyword-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries":["coffee grinder"],"country":"us","language":"en","expansion":["alphabet"],"maxItems":1000}'
```

**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-autocomplete-keyword-scraper"
```

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

- "Find long-tail keywords for coffee grinder in the US with the A to Z expansion"
- "List question keywords people search about vpn on Google"
- "Get German Google Autocomplete suggestions for zahnarzt with kosten and notdienst"

**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

**Does it return search volume?**<br>
No. It returns autocomplete phrases with Google's relevance score, position and type. It does not estimate or invent volume numbers.

**How many suggestions do I get per seed?**<br>
Up to 15 for the seed alone. With the alphabet expansion one seed sends 27 queries, which gives up to 405 rows, usually around 390 after duplicates are removed.

**Can I use other countries and languages?**<br>
Yes. Any valid two-letter ISO country code works with any valid ISO language code (e.g. `en`, `de`, `ja`), including regional codes like `pt-BR` or `en-GB`, and with every suggestion source. Unknown codes, such as `xx` for the language or `zz` for the country, are rejected with an input error.

**How is it different from other autocomplete actors?**<br>
It returns up to 15 suggestions per query with Google's relevance score and suggestion type, supports YouTube, Shopping and News autocomplete, removes duplicates by default without charging for them, and caps the whole run with one Max suggestions value. You pay per saved row, not per query.

**Is it legal to scrape Google Autocomplete?**<br>
The actor reads publicly available autocomplete suggestions and does not collect personal data. You are responsible for how you use the data and for following the laws and terms that apply to you.

### Also useful

- [Google Trends Scraper](https://apify.com/genial_candlestand/google-trends-scraper) — check the interest over time, regions and related queries of the keywords you found
- [Google Trends Trending Now Scraper](https://apify.com/genial_candlestand/google-trending-now-scraper) — add today's trending searches with search volume and growth per country
- [Google News Scraper](https://apify.com/genial_candlestand/google-news-articles-search-scraper) — get the news articles behind your keywords: title, source and publish time
- [Google Ads Transparency Scraper](https://apify.com/genial_candlestand/google-ads-transparency-scraper) — see which ads competitors run on Google for the domains in your niche
- [YouTube Channel Scraper](https://apify.com/genial_candlestand/youtube-channel-details-videos-scraper) — check channels and videos for your YouTube keyword ideas: views, likes, dates

# Actor input Schema

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

Keywords to expand into Google Autocomplete suggestions, one per line, e.g. coffee grinder. At most 100 characters each; blank lines and duplicates are ignored.

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

Two-letter Google market code, e.g. us, gb, de, in, br. uk is accepted as gb; unknown codes such as zz or eu are rejected.

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

Language code, e.g. en, de, ja, or with a region: en-GB, pt-BR. Must be a valid ISO language code (xx is rejected); works with any country. Questions and Prepositions need an English language; for others use Prefix / Suffix words.

## `source` (type: `string`):

Which autocomplete to read: Google Search, YouTube, Google Shopping or Google News.

## `expansion` (type: `array`):

Extra queries per seed: alphabet (seed + a…z, 26 extra), numbers (seed + 0…9, 10 extra), questions (how/what/why… + seed, 9, English), prepositions (seed + for/with/vs…, 8, English). Empty = the seed only.

## `prefixes` (type: `array`):

Your own words put before each seed, in any language, e.g. bester → bester zahnarzt. One query per word.

## `suffixes` (type: `array`):

Your own words put after each seed, in any language, e.g. kosten → zahnarzt kosten. One query per word.

## `maxDepth` (type: `integer`):

0 = seed and expansions only. 1 = also query every new suggestion again; 2 = one more level. Each level can multiply requests by up to 15, so set Max suggestions.

## `deduplicate` (type: `boolean`):

On: each suggestion is saved and charged once per run. Off: one row per query that returned it.

## `maxItems` (type: `integer`):

Stop after this many saved rows in total, across all seeds. Each row is one charged event.

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

The default Apify datacenter proxy is enough. Local near-me suggestions follow the proxy's city; everything else follows Country.

## Actor input object example

```json
{
  "queries": [
    "coffee grinder"
  ],
  "country": "us",
  "language": "en",
  "source": "web",
  "expansion": [],
  "prefixes": [],
  "suffixes": [],
  "maxDepth": 0,
  "deduplicate": true,
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Dataset with all suggestion rows

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

Suggestions in the overview view

# 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": [
        "coffee grinder"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("genial_candlestand/google-autocomplete-keyword-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": ["coffee grinder"] }

# Run the Actor and wait for it to finish
run = client.actor("genial_candlestand/google-autocomplete-keyword-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": [
    "coffee grinder"
  ]
}' |
apify call genial_candlestand/google-autocomplete-keyword-scraper --silent --output-dataset

```

## MCP server setup

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