# Google Autocomplete Scraper — Keyword Ideas, A–Z, Questions (`lieund/google-autocomplete-scraper`) Actor

Keyword ideas from Google autocomplete for any country and language. Expand each keyword A–Z, 0–9, with questions (how, what, why...) and prepositions (for, vs, with...). Web, YouTube or Shopping suggestions. Deduplicated, ready for SEO.

- **URL**: https://apify.com/lieund/google-autocomplete-scraper.md
- **Developed by:** [Mon Data Tools](https://apify.com/lieund) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 suggestions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

Get **keyword ideas from Google's search suggestions** (the list that drops down while you type) for any country and language.
Each keyword is expanded automatically, so one keyword turns into **hundreds of real searches people type**:

- **Letters a–z:** `coffee maker a`, `coffee maker b` ...
- **Numbers 0–9:** `coffee maker 1` ...
- **Questions:** `how coffee maker`, `why coffee maker`, `can coffee maker` ...
- **Prepositions:** `coffee maker for`, `coffee maker vs`, `coffee maker with` ...

Suggestions are deduplicated per keyword and come with the query that produced them and their position in Google's list.

### What you can use it for

- **SEO and content plans:** find long-tail keywords and the questions people ask, then write pages and FAQs that answer them.
- **YouTube and e-commerce:** get suggestions from the **YouTube** or **Google Shopping** search box instead of web search.
- **Other markets:** run the same keywords for several countries and languages (`DE` + `de`, `VN` + `vi`, `JP` + `ja` ...).
- **Keyword research pipelines:** send the list to Google Sheets or your SEO tool, or check the best ideas with our [Google Trends Scraper](https://apify.com/lieund/google-trends-scraper).

### How to use it

1. Add one or more **keywords**.
2. Choose how to **expand** them: letters, numbers, questions, prepositions (any combination).
3. Set **countries**, **language** and where the suggestions come from (Google Search, YouTube or Shopping).
4. Click **Start**. A keyword with letters + questions (40 queries) takes a few seconds.

### Output

```json
{
  "seed": "coffee maker",
  "suggestion": "coffee maker with grinder",
  "typedQuery": "coffee maker w",
  "modifier": "w",
  "position": 1,
  "wordCount": 4,
  "country": "US",
  "language": "en",
  "source": "web",
  "scrapedAt": "2026-11-22T12:00:00.000Z"
}
```

| Field | Meaning |
|---|---|
| `seed` | The keyword you entered |
| `suggestion` | A suggestion from Google autocomplete |
| `typedQuery` / `modifier` | What was typed to get it, and the letter, number or word added |
| `position` | Its place in Google's list for that typed query (1 = first) |
| `wordCount` | Words in the suggestion, handy for finding long-tail keywords |

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

### Integrations

- **Schedules:** re-run monthly with [Apify schedules](https://docs.apify.com/platform/schedules) to see new searches appear.
- **Google Sheets, Slack, email, CRM:** send results anywhere with [Make](https://docs.apify.com/platform/integrations/make), [Zapier](https://docs.apify.com/platform/integrations/zapier) or [n8n](https://docs.apify.com/platform/integrations/n8n).
- **Your own app:** get a [webhook](https://docs.apify.com/platform/integrations/webhooks) when a run finishes, then read the dataset through the API.
- **AI agents:** let AI agents run this Actor through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp).

### Pricing

**$0.30 per 1,000 suggestions**, with a near-zero start fee. A keyword expanded with letters a–z usually gives about 250-300 unique suggestions (about $0.09). Use **Max suggestions per keyword** to cap it, and **Max cost per run** to stop the run at a budget.

### Related

- [Google Trends Scraper](https://apify.com/lieund/google-trends-scraper): check how interest in your best ideas changes over time and by region.
- [Google Trends Trending Now](https://apify.com/lieund/google-trends-trending-now): every trending search from up to 125 countries in one run.
- [App Store Reviews Scraper](https://apify.com/lieund/app-store-reviews-scraper): Apple App Store reviews for any app from up to 178 countries in one run.

### Notes

- Google tailors suggestions to the searcher's location. The Actor sets the country and language you choose, but very local suggestions (for example "near me" searches) can still reflect where Apify's servers are.
- Question words and prepositions are in English. For other languages, letters and numbers work best.
- Data comes from Google's public autocomplete. The Actor does not collect personal data.

# Actor input Schema

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

Seed keywords. Each one is expanded into many Google suggestions.

## `expand` (type: `array`):

Extra queries per keyword. Letters give the most ideas. Question words and prepositions are in English. Leave empty to get only the suggestions for the keyword itself.

## `countries` (type: `array`):

Two-letter country codes (US, GB, DE, VN ...). Every keyword is run for every country.

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

Language code for the suggestions, e.g. en, de, fr, es, vi, ja.

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

Which search box to take the suggestions from.

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

Keep only the first N unique suggestions per keyword and country. 0 means no limit.

## Actor input object example

```json
{
  "keywords": [
    "coffee maker"
  ],
  "expand": [
    "alphabet",
    "questions"
  ],
  "countries": [
    "US"
  ],
  "language": "en",
  "source": "web",
  "maxSuggestionsPerKeyword": 0
}
```

# Actor output Schema

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

No description

# 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 maker"
    ],
    "expand": [
        "alphabet",
        "questions"
    ],
    "countries": [
        "US"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("lieund/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 maker"],
    "expand": [
        "alphabet",
        "questions",
    ],
    "countries": ["US"],
}

# Run the Actor and wait for it to finish
run = client.actor("lieund/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 maker"
  ],
  "expand": [
    "alphabet",
    "questions"
  ],
  "countries": [
    "US"
  ]
}' |
apify call lieund/google-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

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