# Google Autocomplete Keyword Scraper ($1/1K keywords) (`tamnt67/google-autocomplete-scraper`) Actor

Google Autocomplete keyword suggestions scraper: seed keyword, suggestion, modifier, position, word count, language and country. Takes seed keywords and expands them with A to Z and question words. Use it for SEO keyword research and long-tail keyword ideas.

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

## Pricing

from $0.70 / 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 Keyword Scraper

Turn a few seed keywords into hundreds of long-tail keyword ideas from Google Autocomplete, in any language and country, with no login and no API key, for $1 per 1,000 keyword suggestions on the Free plan, down to $0.70 on higher plans.

These are the phrases Google suggests while people type, so they reflect what people really search for. Expand each seed with the letters A to Z and with question words such as "how", "why", "best" and "vs" to collect long-tail ideas in one run.

### What you can do with it

- **Do SEO keyword research.** Collect long-tail variations of your main keywords and pick the ones to target with new pages.
- **Find content ideas.** Use question-word expansion to see what people ask about a topic, then write articles that answer it.
- **Write FAQ sections.** Turn "how", "what", "why" and "can" suggestions into the questions of a product or help page.
- **Build PPC keyword lists.** Export suggestions as CSV and import them into your ad platform as a starting list.
- **Name products and check language.** See which words people put next to a product type, in each country and language.
- **Compare markets.** Run the same seed with different language and country codes to see how searches differ.

### Output fields

Each unique suggestion is one record in the dataset. Example values come from a real run with the seed "coffee machine" in English for the US.

| Field | Example |
|-------|---------|
| `seedKeyword` | coffee machine |
| `suggestion` | coffee machine with grinder |
| `query` | coffee machine (the text sent to Google; with expansion it is the seed plus a letter or question word) |
| `modifier` | null for the seed itself, otherwise the letter or word that was added |
| `position` | 2 (place in Google's list, 1 is the top suggestion) |
| `wordCount` | 4 |
| `language` / `country` | en / us |
| `scrapedAt` | 2026-11-10T07:54:33.294Z |

Download results as JSON, CSV, Excel or XML, or read them through the Apify API.

### Example output

One real record from a run with the seed "coffee machine":

```json
{
  "seedKeyword": "coffee machine",
  "suggestion": "coffee machine with grinder",
  "query": "coffee machine",
  "modifier": null,
  "position": 2,
  "wordCount": 4,
  "language": "en",
  "country": "us",
  "scrapedAt": "2026-11-10T07:54:33.294Z"
}
```

### How to use

1. Add one or more **Keywords** as seeds, and set **Language** (for example en, de, es, fr, ja or vi) and **Country** (for example us, gb, de, in or vn).
2. Keep **Expand with A to Z** on to look up the keyword followed by every letter, and turn on **Expand with question words** for questions and comparisons such as "how", "why", "best" and "vs". Optionally set **Maximum suggestions per keyword**.
3. Click **Start** and download the dataset as JSON, CSV or Excel, or read it through the API.

#### Example input

```json
{
  "keywords": ["coffee machine", "espresso beans"],
  "language": "en",
  "country": "us",
  "expandAlphabet": true,
  "expandQuestions": true,
  "maxSuggestionsPerKeyword": 500,
  "proxyConfiguration": { "useApifyProxy": true }
}
```

Tips:

- One keyword without expansion returns up to 10 suggestions. With both expansions the Actor makes up to 44 lookups per keyword (the seed, 17 question words and 26 letters), each returning up to 10 suggestions, before duplicates are removed.
- Feed the best suggestions back in as new keywords to go deeper.
- The question words are: how, what, why, when, where, who, which, can, is, are, does and best (placed before the keyword), and vs, for, with, without and near (placed after it).

### Pricing and cost examples

You pay per unique keyword suggestion saved to the dataset ("Keyword suggestion" event). Platform usage and proxy traffic are included in the per-suggestion price. Lookups that return nothing new cost nothing.

| Apify plan | Price per 1,000 suggestions |
|------------|-----------------------------|
| Free (default price) | $1.00 |
| Bronze | $0.90 |
| Silver | $0.80 |
| Gold, Platinum, Diamond | $0.70 |

Cost examples on the Free plan:

- 100 suggestions ≈ $0.10
- 1,000 suggestions ≈ $1.00
- 10,000 suggestions ≈ $10.00 (≈ $7.00 on Gold and higher plans)

The Apify Free plan includes $5 of platform credit every month. Spent only on this Actor, that covers about 5,000 suggestions per month.

You are charged only for suggestions saved to the dataset. Duplicate suggestions for the same seed keyword (ignoring upper and lower case) are skipped before saving and not charged. A lookup that still fails after 4 attempts saves nothing, and if the first 3 failed lookups of a keyword happen before anything was saved, that keyword is skipped. To limit cost, lower **Maximum suggestions per keyword**, or enter a maximum total charge per run in the run options. The Actor stops as soon as that limit is reached.

### Use it via API, on a schedule, or from an AI agent

**JavaScript** (`npm install apify-client`):

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

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

const run = await client.actor('tamnt67/google-autocomplete-scraper').call({
    keywords: ['coffee machine'],
    language: 'en',
    country: 'us',
    expandAlphabet: true,
    expandQuestions: true,
});

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

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_API_TOKEN")

run = client.actor("tamnt67/google-autocomplete-scraper").call(run_input={
    "keywords": ["coffee machine"],
    "language": "en",
    "country": "us",
    "expandAlphabet": True,
    "expandQuestions": True,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
print(items)
```

**cURL** (runs the Actor and returns the suggestions in one call):

```bash
curl -X POST "https://api.apify.com/v2/acts/tamnt67~google-autocomplete-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["coffee machine"], "language": "en", "country": "us", "expandAlphabet": true}'
```

The sync endpoint waits for the run to finish, so use it for small runs and the client libraries for large ones.

**Schedules:** create an Apify Schedule for this Actor or a saved task to collect suggestions for the same seeds every month and see how they change.

**AI agents:** the Apify MCP server at https://mcp.apify.com lets AI assistants such as Claude or Cursor run this Actor and read its results.

### FAQ

#### How much does Google Autocomplete Keyword Scraper cost?

Google Autocomplete Keyword Scraper costs $1 per 1,000 unique keyword suggestions on the Free plan and $0.90, $0.80 or $0.70 per 1,000 on higher Apify plans. 100 suggestions cost about $0.10 on the Free plan. The Free plan's $5 monthly credit covers about 5,000 suggestions.

#### How many results do I get per keyword?

Google Autocomplete Keyword Scraper returns up to 10 suggestions for a keyword without expansion. With A to Z and question-word expansion it makes up to 44 lookups per keyword and keeps every unique suggestion, up to **Maximum suggestions per keyword** (1 to 5,000, default 500).

#### How can I get more results?

Turn on both expansions, add more seed keywords, and feed good suggestions back into Google Autocomplete Keyword Scraper as new seeds. Each new seed opens another set of up to 44 lookups.

#### Can I run it on a schedule or through the API?

Yes. Google Autocomplete Keyword Scraper works with Apify Schedules for daily, weekly or monthly runs, and with the Apify API through the JavaScript and Python clients or a single cURL call. See the API section above for working examples.

#### How fresh is the data?

Google Autocomplete Keyword Scraper asks Google Autocomplete live at the time of each run. Nothing is cached. Google changes its suggestions over time, so a later run can return different phrases, and every record has a `scrapedAt` timestamp.

#### Is it legal to scrape Google Autocomplete?

Google Autocomplete Keyword Scraper collects only the public suggestions Google shows while typing, without logging in. You are responsible for how you use the data, including complying with Google's terms of service and with data protection laws such as GDPR. This is not legal advice. If you are unsure, ask a lawyer.

### Limitations

- Google Autocomplete gives suggestions only. Search volume, CPC and keyword difficulty are not included.
- Duplicate suggestions for the same keyword are saved once. Duplicates across different seed keywords are not removed, so the same phrase can be saved and charged once per seed.
- The seed keyword itself often comes back as a suggestion, as in the sample run, and is saved like any other suggestion.
- Language and country codes are passed to Google as you type them. A wrong code is not reported as an error; Google simply returns its default suggestions or none.
- Expansion uses the English letters a to z and English question words, even when you set another language.

### Changelog

- 1.0 update (2026-11-19): an API call that leaves out `keywords` no longer gets the example value added; the example is used only when the run has no input source at all.
- 1.0 (2026-11-19): First stable release.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

### Support

Found a problem or missing field? Report problems in the Issues tab of this Actor.

# Actor input Schema

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

Seed keywords to get suggestions for.

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

Two-letter language code of the suggestions, for example en, de, es, fr, ja or vi.

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

Two-letter country code, for example us, gb, de, in or vn.

## `expandAlphabet` (type: `boolean`):

Also look up the keyword followed by each letter from a to z. Gives many more long-tail ideas.

## `expandQuestions` (type: `boolean`):

Also look up the keyword with words such as how, what, why, best and vs.

## `maxSuggestionsPerKeyword` (type: `integer`):

Stop after this many unique suggestions for each keyword.

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

Proxy used for the requests. The default datacenter proxy works.

## Actor input object example

```json
{
  "keywords": [
    "coffee machine"
  ],
  "language": "en",
  "country": "us",
  "expandAlphabet": true,
  "expandQuestions": false,
  "maxSuggestionsPerKeyword": 500,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `suggestions` (type: `string`):

Dataset with one record per result.

## `suggestionsCsv` (type: `string`):

The same dataset exported as CSV.

# 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": [
        "coffee machine"
    ],
    "maxSuggestionsPerKeyword": 500,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/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": ["coffee machine"],
    "maxSuggestionsPerKeyword": 500,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tamnt67/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/nbfkXXhSfUwbrhShR/builds/2x1aQrGqaabrdjRQo/openapi.json
