# Google Autocomplete Keyword Expander: A-Z & Questions (`fjordlabs/google-autocomplete`) Actor

Turn seed keywords into hundreds of real Google or YouTube search suggestions: A-Z, question-word, preposition and number expansions for any country and language. Cheap, fast, deduplicated.

- **URL**: https://apify.com/fjordlabs/google-autocomplete.md
- **Developed by:** [Mivah](https://apify.com/fjordlabs) (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.35 / 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.
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 Expander — A-Z & Question Suggestions

Turn a few **seed keywords** into **hundreds of real search suggestions** straight from Google's autocomplete (and YouTube's). Each seed is expanded with **A–Z**, **question words** (how, what, why…), **prepositions** (for, with, vs…), **numbers** and your own modifiers, for any **country and language**. Duplicates are removed, so you pay only for unique keyword ideas.

Built for SEO specialists, content marketers, PPC managers, YouTubers and AI agents that need long-tail keyword ideas, FAQ topics or "People also ask"-style questions, without a paid keyword tool.

![Example output of Google Autocomplete Keyword Scraper: a table with keyword, expansion, modifier, rank, suggestion and more](https://api.apify.com/v2/key-value-stores/bp61pnREuVYPEvqbu/records/output-google-autocomplete)

### What you get

- 🔤 **A–Z expansion:** "coffee grinder a" … "coffee grinder z", the classic long-tail trick, plus local letters such as æ/ø/å for Danish and Norwegian, ä/ö/ü for German and å/ä/ö for Swedish
- ❓ **Question keywords:** "how coffee grinder", "why coffee grinder"… in the market's language (English, Danish, German, Swedish, Norwegian, Dutch, French, Spanish, Italian, Portuguese)
- 🔗 **Prepositions & comparisons:** "… for", "… with", "… vs" (optional)
- 🔢 **Numbers 0–9** for years, models and sizes (optional)
- ✍️ **Custom modifiers** like `price`, `review` or `best {kw} for`
- 🌍 **Many markets in one run:** `US:en`, `GB:en`, `DK:da`, `DE:de`… suggestions differ per country
- ▶️ **YouTube suggestions** as well as Google Search
- 🧹 **Deduplicated** per seed, market and source; optional "must contain the seed" filter and a cap per keyword
- ⚡ **Fast and cheap:** one seed with A–Z + questions takes about 5 seconds and returns ~300 ideas

Searching for trend data too? Pair it with our **Google Trends Scraper** (`fjordlabs/google-trends`) to check which ideas are growing, and **Google Trends Trending Now** (`fjordlabs/google-trending-now`) for today's hot topics.

### Input example

```json
{
  "keywords": ["coffee grinder"],
  "markets": ["US:en", "DK:da"],
  "sources": ["google"],
  "expandAlphabet": true,
  "expandQuestions": true,
  "expandPrepositions": false,
  "dedupe": true
}
```

### Output example

One row per suggestion:

```json
{
  "keyword": "coffee grinder",
  "suggestion": "coffee grinder burr vs blade",
  "rank": 7,
  "expansion": "alphabet",
  "modifier": "b",
  "query": "coffee grinder b",
  "country": "US",
  "language": "en",
  "source": "google",
  "wordCount": 5,
  "containsKeyword": true
}
```

`rank` is the suggestion's position (1–10) in Google's list for that `query`. `expansion` is `seed`, `alphabet`, `question`, `preposition`, `number` or `custom`. A run summary is saved as `SUMMARY` in the key-value store.

If a query still fails after 5 tries, the dataset gets a row with an `error` field (`keyword`, `query`, `expansion`, `country`, `language`, `source`, `error`) instead. Error rows are **not charged**; filter them out by checking for `error`. Invalid input (for example no keywords or a market like `XX`) ends the run straight away with one free error row and a clear "Invalid input" status message, before any request or charge.

### Pricing

Pay only for results:

| Event | Price |
|---|---|
| Actor start | $0.00005 |
| Suggestion (unique row) | $0.0005 (**$0.50 per 1,000**) |

A full A–Z + questions expansion of one seed in one market gives roughly 250–400 unique suggestions (about $0.13–0.20). Use **Max suggestions per keyword** or the run's max charge to control spend: the Actor stops sending requests as soon as the max charge is reached. Failed requests are logged and **never charged**.

### Notes and limits

- Data comes from Google's public autocomplete service, the same suggestions you see while typing. Google returns up to 10 suggestions per query; the expansions are what turn that into hundreds.
- Autocomplete shows **what people type**, not search volumes. Check volumes with Google Trends or your ads tool.
- Google sometimes rewrites a query (e.g. "how coffee grinder" also returns "what coffee grinder…"). Turn on **Only suggestions containing the seed** for a stricter list.
- Each expansion is one request: A–Z adds 26 per seed, market and source (29 for Danish, Norwegian, Swedish, Finnish, German and Icelandic, 27 for Spanish), question words 9–13, prepositions 8–10, numbers 10.
- Duplicates are removed **per seed keyword, market and source**. If two seeds produce the same suggestion, it appears (and is charged) once for each seed. Seeds that differ only in upper/lower case are treated as one.
- Requests are polite (a few at a time, small random delay, automatic retries). If Google ever rate-limits a run, enable Apify Proxy in the input. If every request in a run fails, the run is marked as failed (and nothing is charged) rather than finishing green with no data.
- Suggestions are aggregated, anonymous search phrases from Google; the Actor collects no personal data.

### Changelog

- **2026-11-19:** Public on the Apify Store.
- **2026-11-10:** Invalid input now ends as a successful run with one free error row that says what to fix, instead of a failed run.
- **2026-11-08:** Reliability review before the wave-2 launch, with more tests.

### How to use Google Autocomplete Keyword Expander

1. Add your **seed keywords** (one per line).
2. Pick **markets** as country:language, like US:en, GB:en, DK:da.
3. Choose expansions: **A–Z** and **question words** are on by default; add prepositions, numbers or your own modifiers.
4. Click **Start**, then export the keyword list as CSV/Excel or send it to Google Sheets.

### Use it from code (API)

Run it from Python with the official client (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("fjordlabs/google-autocomplete").call(run_input={'keywords': ['coffee grinder'], 'markets': ['US:en'], 'expandAlphabet': True, 'expandQuestions': True})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

Or with one HTTP call that returns the results directly:

```bash
curl -X POST "https://api.apify.com/v2/acts/fjordlabs~google-autocomplete/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" -d '{"keywords": ["coffee grinder"], "markets": ["US:en"], "expandAlphabet": true, "expandQuestions": true}'
```

It also works with Make, Zapier, n8n, Google Sheets and webhooks through Apify's integrations.

### Use with AI agents (MCP)

Agents can call this Actor as a tool through Apify's MCP server (mcp.apify.com). Add `fjordlabs/google-autocomplete` to the server's Actors. Results are clean JSON with a small default size, so they fit well in an agent's context.

### FAQ

**How many suggestions do I get per keyword?**
Google returns up to 10 per query. A–Z + questions sends about 40 queries per seed and market, which typically gives 250–400 unique suggestions.

**Do I get search volumes?**
No. Autocomplete shows what people actually type, not how often. Check volumes in our Google Trends Scraper or your ads tool.

**Can I get YouTube suggestions?**
Yes. Set `sources` to `youtube` (or both) for YouTube's own autocomplete.

**Do I pay for duplicates or failed requests?**
No. Duplicates are removed before charging (with `dedupe` on, per seed, market and source), and failed requests are logged as error rows that are never charged.

**Am I charged for errors?**
No. Rows that fail are never charged; you only pay for results.

### More from fjordlabs

- [Google Trends Scraper](https://apify.com/fjordlabs/google-trends)
- [Google Trends Trending Now](https://apify.com/fjordlabs/google-trending-now)
- [Google News Scraper](https://apify.com/fjordlabs/google-news)
- [Google Play Reviews & App Data Scraper](https://apify.com/fjordlabs/google-play-reviews)
- [App Store Reviews & App Data Scraper (iOS)](https://apify.com/fjordlabs/app-store-reviews)
- [Bulk PageSpeed & Core Web Vitals Audit](https://apify.com/fjordlabs/pagespeed-audit)
- [App Store & Google Play Search Rank + Top Charts (ASO)](https://apify.com/fjordlabs/app-store-search-charts)
- [SEO & AI-Search Readiness Audit](https://apify.com/fjordlabs/seo-ai-readiness-audit)
- [Website Tech Stack Detector](https://apify.com/fjordlabs/tech-stack-detector)
- [Steam Reviews & Game Data Scraper](https://apify.com/fjordlabs/steam-reviews)
- [Chrome Web Store Extension Details Scraper](https://apify.com/fjordlabs/chrome-web-store)
- [Google Ads Transparency Center Scraper](https://apify.com/fjordlabs/google-ads-transparency)
- [Hacker News Scraper](https://apify.com/fjordlabs/hacker-news)
- [Shopify Store Products Scraper](https://apify.com/fjordlabs/shopify-products)
- [Sitemap URL Extractor](https://apify.com/fjordlabs/sitemap-extractor)
- [EU Public Tenders Scraper (TED)](https://apify.com/fjordlabs/eu-tenders-ted)
- [Domain Intel: WHOIS/RDAP, DNS, SSL, SPF/DMARC](https://apify.com/fjordlabs/domain-intel)
- [App Store & Google Play App Details + Developer Portfolio](https://apify.com/fjordlabs/app-details-portfolio)
- [Website Screenshot API: Full Page, Mobile, PDF](https://apify.com/fjordlabs/website-screenshot)
- [Wayback Machine Site History](https://apify.com/fjordlabs/wayback-history)

# Actor input Schema

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

One keyword or phrase per line, e.g. "coffee grinder". Each seed is expanded into many suggestion queries.

## `markets` (type: `array`):

Google country code and interface language, e.g. US:en, GB:en, DK:da, DE:de, FR:fr. Suggestions differ per market.

## `sources` (type: `array`):

Google web search suggestions, YouTube search suggestions, or both.

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

Also query "keyword a" … "keyword z" (26 extra queries per seed, plus local letters such as æ ø å for Danish/Norwegian or ä ö ü for German). The classic long-tail trick.

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

Also query "how keyword", "what keyword", "why keyword" … in the market's language (English, Danish, German, Swedish, Norwegian, Dutch, French, Spanish, Italian, Portuguese; others use English).

## `expandPrepositions` (type: `boolean`):

Also query "keyword for", "keyword with", "keyword vs" … in the market's language.

## `expandNumbers` (type: `boolean`):

Also query "keyword 0" … "keyword 9" (useful for years, models and sizes).

## `customModifiers` (type: `array`):

Your own words to append, e.g. "price", "review". Use {kw} to place the keyword yourself, e.g. "best {kw} for".

## `dedupe` (type: `boolean`):

Return each suggestion only once per seed keyword, market and source (you pay only for unique suggestions).

## `onlyContainingKeyword` (type: `boolean`):

Drop suggestions that don't contain the seed keyword text (Google sometimes rewrites queries).

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

Cap per seed keyword, market and source. 0 = no limit (a full A–Z + questions run gives roughly 300–400).

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

How many requests run at the same time (1–5). Keep it low to stay polite.

## `delaySeconds` (type: `number`):

Pause per request slot, randomised ±50% (0–10 s).

## `proxy` (type: `object`):

Usually not needed. If Google rate-limits you (HTTP 429), turn on Apify Proxy and the Actor switches IP automatically.

## Actor input object example

```json
{
  "keywords": [
    "coffee grinder"
  ],
  "markets": [
    "US:en"
  ],
  "sources": [
    "google"
  ],
  "expandAlphabet": true,
  "expandQuestions": true,
  "expandPrepositions": false,
  "expandNumbers": false,
  "dedupe": true,
  "onlyContainingKeyword": false,
  "maxSuggestionsPerKeyword": 0,
  "maxConcurrency": 3,
  "delaySeconds": 0.3,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 grinder"
    ],
    "markets": [
        "US:en"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fjordlabs/google-autocomplete").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 grinder"],
    "markets": ["US:en"],
}

# Run the Actor and wait for it to finish
run = client.actor("fjordlabs/google-autocomplete").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 grinder"
  ],
  "markets": [
    "US:en"
  ]
}' |
apify call fjordlabs/google-autocomplete --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fjordlabs/google-autocomplete"
        }
    }
}
```

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/ZUI0No3H5bhHZ20Sw/builds/hU5IYBNz60Ync4fbB/openapi.json
