# Google Autocomplete Keyword Suggestions (YouTube, Shopping) (`siteacs/google-autocomplete-suggestions`) Actor

Google autocomplete (Google Suggest) keyword suggestions from web search, YouTube, Shopping, Images and News in one run. Alphabet, question and preposition expansion in 6 languages, recursive depth, any country, Google's relevance score. Long tail keywords at $0.06 per 1,000.

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

## Pricing

$0.06 / 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 Keyword Suggestions: Google, YouTube, Shopping, Images, News

Give it seed keywords; get back the suggestions Google's autocomplete (Google Suggest) shows while people type
them, one row per suggestion, from five search boxes in one run: **Google web search, YouTube, Google Shopping,
Google Images and Google News**. Each seed can be expanded with the alphabet (`running shoes a` ... `running shoes
z`, `0` ... `9`), question words (`how`, `can`, `why` ...) and prepositions (`for`, `with`, `vs` ...) in English,
Portuguese, Spanish, German, French or Italian, and the suggestions can be looked up again (recursive depth). Each
row has the seed, the exact text looked up, the suggestion, its position, Google's relevance score (web, Shopping,
Images, News), the country and the language. A free summary row closes each seed.

Use it for long tail keywords for SEO and content plans, YouTube video titles and tags, Google Shopping product
keywords, question lists for FAQs and blog posts, and to compare what people type in different countries. No API
key, no login. Smallest useful input: `{"seeds": ["running shoes"]}` (web search, alphabet, US English, about 500
suggestions, about $0.03).

**You pay only for suggestions: $0.06 per 1,000.** Summary rows and rows for failed lookups are free. No start fee.

- **Em português:** sugestões de palavras-chave do autocompletar do Google, YouTube, Google Shopping, Imagens e
  Notícias, com expansão por alfabeto, perguntas (o que, como, quando, onde, por que, qual ...) e preposições
  (para, com, sem ...), para qualquer país e idioma.
- **En español:** sugerencias de búsqueda del autocompletado de Google, YouTube, Google Shopping, Imágenes y
  Noticias, con expansión por alfabeto, preguntas (qué, cómo, cuándo, dónde, por qué, cuál ...) y preposiciones
  (para, con, sin ...), para cualquier país e idioma.
- **Auf Deutsch:** Keyword-Vorschläge aus der Autovervollständigung von Google, YouTube, Google Shopping, Bildern
  und News, mit Erweiterung nach Alphabet, W-Fragen (was, wie, wann, wo, warum, welche ...) und Präpositionen
  (für, mit, ohne ...), für jedes Land und jede Sprache.

### Why this one

- **Five search boxes in one run.** Web, YouTube, Shopping, Images and News side by side, with a `surface` column,
  so you see that YouTube suggests `running shoes review` and `running shoes 2026` while web search suggests
  `running shoes near me`.
- **Question and preposition words written for each language**, not English words in front of a German seed:
  `wie`, `warum`, `welche`, `für`, `ohne` for German; `como`, `quando`, `para`, `sem` for Portuguese.
- **Google's relevance score** and up to 15 suggestions per lookup on web, Shopping, Images and News.
- **A summary row per seed**: lookups made, suggestions saved per surface, repeats skipped, failed lookups.
  Free.
- **You don't pay for failures.** A lookup Google refuses gets a free row saying so.

### What you get per seed

| Expansion | Lookups per seed and surface | Typed into the search box |
| --- | --- | --- |
| Seed (always) | 1 | `running shoes` |
| Alphabet | 36 (39 in German, 37 in Spanish) | `running shoes a` ... `running shoes z`, `running shoes 0` ... `running shoes 9` |
| Questions | 10-13 | `how running shoes`, `can running shoes`, `which running shoes` ... |
| Prepositions | 10-12 | `running shoes for`, `running shoes without`, `running shoes vs` ... |
| Recursive depth 1-3 | up to 15 per suggestion | each new suggestion, typed in again |

Each lookup returns up to 15 suggestions on web, Shopping, Images and News, and up to 14 on YouTube. With the
alphabet on, one seed on one surface gives about 400-550 different suggestions. A suggestion is saved once per seed
and surface (at its first lookup), and with **Dedupe across seeds** on (the default) once per surface for the whole
run.

### Input

```json
{
  "seeds": ["running shoes", "yoga mat"],
  "surfaces": ["web", "youtube", "shopping"],
  "expansions": ["alphabet", "questions"],
  "depth": 0,
  "country": "US",
  "language": "en"
}
```

- **Seed keywords**: one per line, typed as you would type them into the search box.
- **Surfaces**: `web`, `youtube`, `shopping`, `images`, `news`. Each is looked up separately.
- **Expansions**: `alphabet`, `questions`, `prepositions`; empty for the seed only.
- **Recursive depth**: 0 to 3. Use **Max lookups per seed and surface** (default 500) to bound it. A recursive
  seed is held in memory until it is saved: at the default 256 MB the maximum of 5,000 lookups per seed and surface
  fits on all five surfaces; at 128 MB about 2,000 (the log says when it lowered the limit).
- **Country** and **Language**: Google's `gl` and `hl`, e.g. `DE` and `de`, `BR` and `pt-BR` (`UK` is read as
  `GB`, `pt_br` as `pt-BR`). The language also picks the question and preposition words; languages other than en,
  pt, es, de, fr and it use the English words.
- **Max suggestions per run**: stop after this many saved suggestions (0: no limit). Your maximum cost per run in
  Apify is respected too: the run saves up to that amount and stops.
- **Proxy**: Apify datacenter proxy by default, or your own proxy URLs (two or more, so the run can change IP).
  Residential and SERP groups are replaced by datacenter: they cost more and Google answers datacenter fine.

### Output

One row per suggestion, from a test run:

```json
{
  "rowType": "suggestion",
  "seed": "running shoes",
  "surface": "web",
  "expansion": "seed",
  "lookup": "running shoes",
  "depth": 0,
  "suggestion": "running shoes near me",
  "position": 4,
  "relevance": 601,
  "suggestionType": "QUERY",
  "wordCount": 4,
  "country": "US",
  "language": "en",
  "searchUrl": "https://www.google.com/search?q=running%20shoes%20near%20me&hl=en&gl=US",
  "status": "ok",
  "fetchedAt": "2026-11-12T06:35:25Z"
}
```

| Field | What it is |
| --- | --- |
| `rowType` | `suggestion` (charged), `summary` (free, one per seed) or `failed_lookup` (free) |
| `seed` | your seed keyword |
| `surface` | `web`, `youtube`, `shopping`, `images` or `news` |
| `expansion` | `seed`, `alphabet`, `questions`, `prepositions` or `recursive` |
| `lookup` | the exact text typed into the box |
| `depth` | 0 for the seed's own lookups, 1-3 for recursive ones |
| `suggestion` | the suggestion as Google gives it |
| `position` | 1-based place in Google's list for that lookup |
| `relevance` | Google's relevance score (higher is shown first); compare it within one lookup. YouTube's box sends none, so it is empty there |
| `suggestionType` | Google's type for the suggestion: `QUERY` for a search phrase |
| `wordCount` | words in the suggestion, to filter long tail keywords |
| `country`, `language` | the `gl` and `hl` used |
| `searchUrl` | a link that runs the suggestion as a search on its surface |
| `fetchedAt` | when the row was made (UTC) |

After each seed's suggestions comes its summary row (free):

```json
{
  "rowType": "summary",
  "seed": "running shoes",
  "surface": "web,youtube,shopping",
  "expansion": "seed,alphabet,questions",
  "depth": 0,
  "country": "US",
  "language": "en",
  "status": "ok",
  "reason": null,
  "lookups": 150,
  "failedLookups": 0,
  "suggestionsFound": 1921,
  "suggestionsSaved": 1780,
  "repeatsWithinSeed": 141,
  "duplicatesSkipped": 0,
  "savedBySurface": {
    "web": 701,
    "youtube": 545,
    "shopping": 534
  },
  "lookupLimitReached": false,
  "fetchedAt": "2026-11-19T01:32:15Z"
}
```

`suggestionsFound` is every suggestion Google returned for the seed; it equals `suggestionsSaved` plus
`repeatsWithinSeed` (already saved for this seed and surface from an earlier lookup) plus `duplicatesSkipped`
(already saved for an earlier seed, with **Dedupe across seeds** on). `status` is `ok`, `partial` (some lookups
failed), `capped` (a limit was reached), `no_suggestions`, `blocked` or `not_started`, with the `reason` beside it.

Website addresses and calculator answers that Google puts in the list are left out, and so is a suggestion that
only repeats what was typed.

### How it works, and how fast

The actor asks the same suggest service the search boxes use: Chrome's address bar request (`client=chrome`) for
web, Shopping, Images and News, which returns up to 15 suggestions with Google's relevance score, and YouTube's
own search box request for YouTube. Requests are paced at 5 lookups per second for the whole run and go through
Apify datacenter proxy. In our tests Google answered one IP at that pace for about 3,900 lookups and then refused it
for hours, so the actor spreads its requests over several proxy IPs: a new one every 1,000 lookups, and another when
one stops answering (HTTP 429 or 403).
If a lookup still fails after 9 tries, you get a free `failed_lookup` row and the seed's summary says `partial`. You
are not charged for it. If Google refuses everything for 10 minutes, or 20 proxy IPs in a row (and at least 2 minutes),
the run stops instead of running on for hours: seeds already read keep their rows, and the rest get a free `not_started` summary
saying why.

Speed: one seed with the alphabet on one surface is 37 lookups, about 8 seconds. 100 seeds with the alphabet on
web search take about 13 minutes; the same on all five surfaces about an hour. Large lists run for hours (the
default timeout is 10 hours); rows are saved seed by seed, so a stopped run keeps what it found. If Apify moves or
restarts a running run, it goes on after the rows already saved: no suggestion is saved or charged twice.

### Cost examples

At $0.06 per 1,000 suggestions (about 12 new suggestions per lookup):

| Run | Lookups | Suggestions (about) | Cost (about) |
| --- | --- | --- | --- |
| 1 seed, web, seed only | 1 | 15 | $0.001 |
| 1 seed, web, alphabet | 37 | 480 | $0.03 |
| 1 seed, web + YouTube + Shopping, alphabet + questions | 150 | 1,650 | $0.10 |
| 100 seeds, web, alphabet (dedupe on) | 3,700 | 40,000 | $2.40 |

Set **Max suggestions per run** or your maximum cost per run to cap a run; the actor stops there and marks the
remaining seeds `not_started`.

### FAQ

**Is this the same as what I see in the search box?** For YouTube, yes: the actor sends YouTube's own box request
and got the same list on 20 of 20 test seeds. For web search it sends Chrome's address bar request, which returns
15 suggestions. google.com's own box shows about 10; on 20 test seeds 166 of its 181 keyword suggestions (92%)
were in the actor's list, and the others were extra long phrases that only that box adds. Suggestions also shift a little
with time and location, like in your browser: a few that name a town (`running shoes madison wi`) follow the location
of the proxy IP, not the country you chose.

**Search volume or keyword difficulty?** No. Autocomplete shows what people type; it has no volume numbers. Use the
suggestions as input for a volume tool.

**Why are the YouTube relevance scores empty?** YouTube's search box gets its list without scores; the order
(`position`) is the ranking.

**Which countries and languages?** Any two-letter country and any Google language code. Suggestions follow the
country: `pizza` in `DE`/`de` gives `pizzateig`, in `BR`/`pt-BR` `pizzaria perto de mim`.

**Personal data?** None. Autocomplete suggestions are aggregated search phrases, not user records.

### Related

- [YouTube Search Scraper](https://apify.com/siteacs/youtube-search-scraper): the videos that rank for the keywords
  you found here, and where a channel or video ranks.
- [Amazon Search](https://apify.com/siteacs/amazon-search): products, prices and ranks for the same keywords on
  Amazon.

# Changelog

This Actor's version history is a separate document: https://apify.com/siteacs/google-autocomplete-suggestions/changelog.md

# Actor input Schema

## `seeds` (type: `array`):

Keywords to get suggestions for, one per line, typed as you would type them into Google's search box. Each seed is looked up on its own. Use Bulk edit to paste a long list. Duplicates are looked up once.

## `surfaces` (type: `array`):

Where the suggestions come from: the search box of Google web search, YouTube, Google Shopping, Google Images or Google News. Pick several to compare them in one run; each surface is looked up separately and every row says which one it came from.

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

Extra lookups per seed for long tail keywords. The seed itself is always looked up. Alphabet: "running shoes a" to "running shoes z", then 0 to 9 (36 lookups besides the seed; German adds ä, ö, ü and Spanish ñ). Questions: question words before the seed ("how running shoes", "can running shoes"; 10-13 lookups). Prepositions: words after the seed ("running shoes for", "running shoes vs"; 10-12 lookups). The words follow the language below: English, Portuguese, Spanish, German, French and Italian; other languages use the English words. Leave empty for the seed only.

## `depth` (type: `integer`):

0: only the lookups above. 1: every new suggestion is also looked up itself and its suggestions saved, which finds longer phrases ("running shoes for women" gives "running shoes for women wide feet"). 2 and 3 go further. Each level multiplies the lookups by up to 15, so set a limit below.

## `maxLookupsPerSeed` (type: `integer`):

Stops a seed on a surface after this many lookups (each lookup gives up to 15 suggestions). Mostly matters with a recursive depth; the seed summary says when the limit was reached. With a recursive depth a seed's answers are held in memory until it is saved: at the default 256 MB the maximum (5,000) fits on all 5 surfaces; at 128 MB about 2,000 on 5 surfaces. The run log says when it lowered your limit.

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

Two-letter country code for Google (gl): US, GB, DE, BR, ES, MX, FR, IN ... (UK is read as GB). Suggestions differ by country. Suggestions naming a town or city can follow the location of the proxy IP rather than the country.

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

Language code for Google (hl): en, de, es, pt, pt-BR, fr, it, ja ... (pt_br is read as pt-BR). It also picks the question and preposition words.

## `dedupeAcrossSeeds` (type: `boolean`):

On: a suggestion already saved for an earlier seed on the same surface is not saved (or charged) again. Off: every seed gets its full list. Within one seed and surface a suggestion is always saved once.

## `maxSuggestions` (type: `integer`):

Stop after saving this many suggestions in all (0: no limit). Your maximum cost per run is also respected.

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

Apify datacenter proxy (the default). Requests are spread over several proxy IPs: a new one every 1,000 lookups, and another when one stops answering. Residential and SERP proxy groups are not needed here and are replaced by datacenter. Without a proxy (or with a single proxy URL of your own), a refusal makes the run pause and slow down.

## Actor input object example

```json
{
  "seeds": [
    "running shoes",
    "yoga mat"
  ],
  "surfaces": [
    "web",
    "youtube"
  ],
  "expansions": [
    "alphabet",
    "questions"
  ],
  "depth": 0,
  "maxLookupsPerSeed": 500,
  "country": "US",
  "language": "en",
  "dedupeAcrossSeeds": true,
  "maxSuggestions": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One item per suggestion: seed, surface, expansion, the lookup typed, suggestion, position, Google's relevance score, country and language, plus a free summary item per seed and a free item per failed lookup.

# 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 = {
    "seeds": [
        "running shoes",
        "yoga mat"
    ],
    "surfaces": [
        "web",
        "youtube"
    ],
    "expansions": [
        "alphabet",
        "questions"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("siteacs/google-autocomplete-suggestions").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 = {
    "seeds": [
        "running shoes",
        "yoga mat",
    ],
    "surfaces": [
        "web",
        "youtube",
    ],
    "expansions": [
        "alphabet",
        "questions",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("siteacs/google-autocomplete-suggestions").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 '{
  "seeds": [
    "running shoes",
    "yoga mat"
  ],
  "surfaces": [
    "web",
    "youtube"
  ],
  "expansions": [
    "alphabet",
    "questions"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call siteacs/google-autocomplete-suggestions --silent --output-dataset

```

## MCP server setup

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

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/tLByU76XRgwVcptSt/builds/iPyLbfOWP4iSyBiSx/openapi.json
