# Keyword Autocomplete Scraper — Google, YouTube, Bing & Yahoo (`yugenox/keyword-autocomplete-scraper`) Actor

Get autocomplete keyword suggestions from Google, YouTube, Google Shopping, Bing and Yahoo in one run: alphabet soup, questions, prepositions, comparisons, custom modifiers and recursive depth, for any country and language. One row per suggestion. No login.

- **URL**: https://apify.com/yugenox/keyword-autocomplete-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** SEO tools, Marketing
- **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

## Keyword Autocomplete Scraper: Google, YouTube, Bing & Yahoo suggestions

Get the **autocomplete suggestions** people see while they type, from **Google, YouTube, Google Shopping, Bing and Yahoo in one run**. Start from a few seed keywords and expand them into hundreds of long-tail keywords with **questions** ("how …", "what …"), **prepositions** ("… for", "… with"), **comparisons** ("… vs"), **alphabet soup** ("… a" to "… z"), **numbers**, your own **custom modifiers**, and **recursive depth** (suggestions of suggestions). Any **country and language**. One clean row per suggestion, plus a per-seed summary. No login, no API key.

### What you get

| | |
|---|---|
| **Suggestion** | The autocomplete phrase, its position in the list (1 = top), the engine's relevance score (Google, Bing), Google's suggestion type, word count, whether it contains all words of your seed |
| **Where it came from** | Your seed, the engine, the country, the language and the market (e.g. `en-US`, `de-DE`, `uk.search.yahoo.com`) |
| **How it was found** | The exact text that was typed (`how coffee maker`, `coffee maker b` …), the expansion type and word, and the depth |
| **Per-seed summary** | For each seed × engine × market: queries asked, suggestions found and saved, and the most frequent new words (in the key-value store record `SUMMARY`) |

### How to use it

1. Enter one or more **Seed keywords**, e.g. `coffee maker`, `learn python`, `running shoes`.
2. Pick the **Engines**: Google, YouTube, Google Shopping, Bing, Yahoo (any combination).
3. Pick **Expansions** for long-tail keywords, or leave them empty to get just the suggestions for the seed itself.
4. Set **Countries** and **Languages** (each combination is a separate market), and **Max suggestions**. Run.

Each seed is asked on every engine and market you pick. Duplicates are removed per seed, engine and market, and the text you typed is never returned as a suggestion of itself.

#### Expansions

| Expansion | What is typed | Queries per seed |
|---|---|---|
| Questions | `how coffee maker`, `what coffee maker`, `why …`, `which …` | 12 (English) |
| Prepositions | `coffee maker for`, `… with`, `… without`, `… near` | 8 |
| Comparisons | `coffee maker vs`, `… versus`, `… or`, `… and` | 4 |
| Alphabet soup | `coffee maker a` … `coffee maker z` | 26 |
| Numbers | `coffee maker 0` … `coffee maker 9` | 10 |
| Custom modifiers | `near me` → `coffee maker near me`; `best {seed} for` → `best coffee maker for` | yours |

Question, preposition and comparison words are built in for **English, German, French, Spanish, Portuguese, Italian and Dutch** (the run's language decides). For other languages, add your own words as **Custom modifiers**.

**Depth 2** asks every suggestion found again for longer phrases; **depth 3** does it once more. This finds far more long-tail keywords, so raise **Max suggestions** with it.

#### Input examples

Quick look at one keyword on three engines (the default example):

```json
{
  "seeds": ["coffee maker"],
  "engines": ["google", "youtube", "bing"],
  "maxItems": 20
}
```

Full long-tail research for a keyword on Google, with questions and alphabet soup:

```json
{
  "seeds": ["standing desk"],
  "engines": ["google"],
  "expansions": ["questions", "prepositions", "comparisons", "alphabet"],
  "maxItems": 1000
}
```

YouTube video ideas, two levels deep:

```json
{
  "seeds": ["home workout", "meal prep"],
  "engines": ["youtube"],
  "expansions": ["questions"],
  "depth": 2,
  "maxItems": 2000
}
```

German keyword research for the German market on three engines:

```json
{
  "seeds": ["kaffeemaschine"],
  "engines": ["google", "bing", "yahoo"],
  "countries": ["de"],
  "languages": ["de"],
  "expansions": ["questions", "alphabet"],
  "maxItems": 500
}
```

Countries and languages are combined (2 countries × 2 languages = 4 markets), so for "France in French and the UK in English" start two runs, one per country.

### Output example

```json
{
  "seed": "kaffeemaschine",
  "engine": "google",
  "country": "de",
  "language": "de",
  "market": "de-DE",
  "query": "wie kaffeemaschine",
  "modifier": "wie",
  "modifierType": "question",
  "depth": 1,
  "position": 2,
  "suggestion": "wie kaffeemaschine reinigen",
  "relevance": 1250,
  "suggestionType": "query",
  "wordCount": 3,
  "containsSeed": true,
  "scrapedAt": "2026-10-29T04:54:52.604Z"
}
```

```json
{
  "seed": "running shoes",
  "engine": "youtube",
  "country": "us",
  "language": "en",
  "market": "en-US",
  "query": "running shoes",
  "modifier": null,
  "modifierType": "seed",
  "depth": 1,
  "position": 1,
  "suggestion": "running shoes 2025",
  "relevance": 950,
  "suggestionType": "query",
  "wordCount": 3,
  "containsSeed": true,
  "scrapedAt": "2026-10-29T04:54:45.279Z"
}
```

Every row has the same columns; a value an engine doesn't give (for example Bing's suggestion type) is `null`. Yahoo follows its regional site, so its rows have `language: null`.

### Use cases

- **SEO keyword research**: long-tail keywords and question keywords for content plans, briefs and FAQ sections.
- **YouTube creators**: what people type into YouTube search, for titles, tags and video ideas.
- **PPC and e-commerce**: Google Shopping and Bing suggestions for product keywords and negative-keyword lists.
- **International SEO**: the same seeds in many countries and languages, side by side.
- **Trend and brand monitoring**: schedule a run and see which suggestions appear or disappear for your brand or category.

### Price

**$0.30 per 1,000 suggestions** ($0.0003 per suggestion saved) plus **$0.002 per run**. Duplicates and the echo of the typed text are never charged, and you never pay for more than **Max suggestions**. A typical alphabet-soup run for one seed on Google (about 300–400 suggestions) costs about $0.10–0.12.

A seed that has **no suggestions at all** on an engine and market costs **$0.0001** ($0.10 per 1,000) for that check, and its built-in expansions are skipped. Seeds with suggestions are only charged per suggestion.

### Tips

- Start with **Max suggestions** around 200–500 to see how many suggestions your seeds give, then go bigger.
- **Max suggestions** is shared fairly between your seeds, engines and markets; room one of them doesn't need goes to the others.
- Use **Max suggestions per seed** to stop one popular seed from using the whole run.
- A seed nobody searches for has no suggestions; its built-in expansions are then skipped (your custom modifiers still run), so it costs only the $0.0001 check.
- If many expansion queries in a row find nothing new, the run skips the rest of them (it tells you how many) instead of asking for more of the same; every seed is still checked.
- `containsSeed: false` marks "fuzzy" suggestions that don't contain every word of your seed (spelling corrections, related searches). Filter on it if you only want exact long-tail variants.

### FAQ

**Which engines are covered?** Google (web search), YouTube, Google Shopping, Bing and Yahoo. Yahoo is available for the US, Canada, the UK, Germany, France, Spain, Italy, Australia, India, Brazil and Mexico. DuckDuckGo is not offered: its robots.txt asks crawlers not to read its suggestion service, and this Actor respects that.

**Do I need an account, API key or login?** No. The Actor asks the same public suggestion services your browser's search box uses, with no account and no cookies.

**Why do engines give different suggestions?** Each engine has its own users and its own ranking. Google gives up to 15 suggestions per query, YouTube and Google Shopping up to 15, Bing up to about 25 and Yahoo up to 20. That difference is the point of comparing them.

**Are there search volumes?** No. Autocomplete services show what people type, not how often. Position 1 and a high relevance score are the strongest signals that a phrase is popular.

**What if an engine stops answering?** The run keeps going with the other engines and tells you in the status message which engine stopped and why. You are only charged for suggestions actually saved. If an engine answers with a bot check, that engine is stopped for the run and never worked around.

**Which proxy should I use?** Keep the default (Apify Proxy, datacenter). It comes with every Apify plan, including the free one.

**Is it legal to scrape autocomplete suggestions?** This Actor only collects publicly available data: the suggestion lists that Google, YouTube, Bing and Yahoo show to anyone typing in their search boxes, without an account. Suggestions are aggregate search phrases, not information about individual people. Collecting publicly available data is generally legal, but you're responsible for how you use it, and you must follow the engines' terms and privacy laws such as GDPR, PIPEDA and CCPA. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?** No. It reads only the public suggestion lists, never logs in, never touches search history or accounts, and follows each service's robots.txt.

*This Actor is not affiliated with, endorsed by or sponsored by Google, YouTube, Microsoft Bing or Yahoo.*

# Actor input Schema

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

The keywords to expand, one per line, e.g. "coffee maker", "how to learn python", "running shoes". Each seed is asked on every engine and market you pick.

## `engines` (type: `array`):

Where the suggestions come from. Google = Google Search autocomplete; YouTube = YouTube search box; Google Shopping = Shopping search box; Bing; Yahoo (Yahoo follows its regional site: US, Canada, UK, Germany, France, Spain, Italy, Australia, India, Brazil, Mexico).

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

Extra queries per seed for long-tail keywords. Questions: "how coffee maker", "what coffee maker" …; Prepositions: "coffee maker for", "… with", "… without" …; Comparisons: "coffee maker vs", "… or" …; Alphabet: "coffee maker a" … "coffee maker z" (26 queries); Numbers: "coffee maker 0" … "9". Question/preposition/comparison words are built in for English, German, French, Spanish, Portuguese, Italian and Dutch. Empty = the seed only.

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

Your own words to combine with every seed. A modifier is added after the seed ("near me" → "coffee maker near me"); put {seed} where the seed should go to place it anywhere ("best {seed} for" → "best coffee maker for").

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

1 = the seed and its expansions. 2 = every suggestion found is asked again for longer phrases (much more long-tail). 3 = once more. Each level multiplies the number of queries, so set Max suggestions accordingly.

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

2-letter country codes, e.g. us, gb, ca, de, fr, in, au. Each country is a separate market (Google's gl, Bing's market, Yahoo's regional site).

## `languages` (type: `array`):

Language codes, e.g. en, de, fr, es, pt-BR, ja. Combined with every country (us + en, de + de …). Yahoo ignores the language (its regional site decides).

## `maxSuggestionsPerSeed` (type: `integer`):

Most suggestions to save for one seed on one engine and market. 0 = no limit (only Max suggestions applies).

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

Maximum number of suggestions (rows) for the whole run, shared fairly between your seeds, engines and markets. 0 = up to 100,000.

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

Apify Proxy (datacenter) is the default and comes with every Apify plan. If an engine keeps refusing datacenter IPs, the run switches to residential proxies when your account has them.

## Actor input object example

```json
{
  "seeds": [
    "coffee maker"
  ],
  "engines": [
    "google",
    "youtube",
    "bing"
  ],
  "expansions": [],
  "depth": 1,
  "countries": [
    "us"
  ],
  "languages": [
    "en"
  ],
  "maxSuggestionsPerSeed": 0,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All autocomplete suggestions collected.

## `summary` (type: `string`):

SUMMARY: for each seed, engine and market — queries asked, suggestions found and saved, the most frequent new words.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts per engine, requests and proxy use.

# 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": [
        "coffee maker"
    ],
    "engines": [
        "google",
        "youtube",
        "bing"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/keyword-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 = {
    "seeds": ["coffee maker"],
    "engines": [
        "google",
        "youtube",
        "bing",
    ],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/keyword-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 '{
  "seeds": [
    "coffee maker"
  ],
  "engines": [
    "google",
    "youtube",
    "bing"
  ],
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call yugenox/keyword-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

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