# Keyword Suggestions Scraper — Google, YouTube & Amazon (`innolabs/keyword-suggestions-scraper`) Actor

Keyword suggestions scraper API: autocomplete keywords from Google, YouTube, Amazon, eBay, DuckDuckGo and TikTok with A–Z, question and preposition expansion.

- **URL**: https://apify.com/innolabs/keyword-suggestions-scraper.md
- **Developed by:** [Tristan Leroux](https://apify.com/innolabs) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 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

## Keyword Suggestions Scraper — Google, YouTube & Amazon Autocomplete

Turn a few seed keywords into hundreds of real search phrases. Keyword Suggestions Scraper
collects the autocomplete suggestions people see while typing in **Google, YouTube, Amazon,
eBay, Bing, DuckDuckGo and TikTok**. It can expand every seed with A–Z, 0–9, question words
and prepositions, and go two levels deep. You get one clean row per suggestion with its
source, seed, the exact query sent, its position and, for Google, Google's own relevance
score. No login and no API key needed. Export as JSON, CSV or Excel, or use it as a
keyword suggestions API.

### What does Keyword Suggestions Scraper do?

Enter seed keywords such as **coffee maker** and pick your sources. For every seed the
scraper asks each source's autocomplete for suggestions and returns them in the source's own
order:

- **Seven sources in one run**: Google, YouTube, Amazon, eBay, Bing, DuckDuckGo and TikTok.
  Each source is deduplicated on its own, so you can compare what people search for on
  Google with what they search for on Amazon or TikTok.
- **Expansions** to find more long-tail keywords:
  - **A–Z**: `coffee maker a` … `coffee maker z`.
  - **0–9**: `coffee maker 1`, `coffee maker 12`, …
  - **Question words**: `how coffee maker`, `what coffee maker`, `why`, `where`, `can`,
    `is`, `should`, …
  - **Prepositions**: `coffee maker for`, `with`, `without`, `near`, `vs`, `under`, …
- **Depth 2**: every new suggestion is sent back to the same source to get its own
  suggestions, which builds a keyword tree.
- **Country and language**: Google, YouTube, Bing, DuckDuckGo and TikTok are localised.
  Amazon uses the marketplace of your country (21 marketplaces) and eBay the local eBay site
  (14 sites).
- **Provenance on every row**: the seed, the query that produced the suggestion, the
  expansion and modifier (`questions` / `how`), the depth and the parent keyword.
- **Ready to use**: Google's relevance score, a word count and a link to the source's
  search results for each suggestion.

Website links and calculator answers from Google are dropped, and so are echoes of your own
query, so each row is a real new keyword.

### Use cases

- **SEO keyword research**: grow a seed list into long-tail keywords and questions for
  content plans, topic clusters and FAQ sections.
- **Amazon and eBay sellers**: find the phrases shoppers type on Amazon and eBay for product
  titles, bullet points and PPC campaigns.
- **YouTube and TikTok creators**: find the video topics viewers search for and write
  titles, tags and hashtags in their words.
- **PPC managers**: expand Google Ads and Amazon Ads keyword lists and spot negative
  keyword candidates.
- **Market and brand research**: see what people associate with your brand or a competitor
  across search engines, marketplaces and social video, per country.
- **AI agents and content tools**: give your LLM pipeline fresh, real search phrases to
  work from.

### How much does it cost?

You pay only for the suggestions you get (pay-per-event). Duplicates are never charged and
failed requests cost nothing.

| Event | What you pay for | Free plan | Paid plans (from) |
| --- | --- | --- | --- |
| `suggestion` | One autocomplete keyword suggestion (keyword, source, seed, query, position) | $0.01 per 1,000 | $0.01 per 1,000 |

The price is the same on every plan. Apify also charges a tiny actor-start fee per run.

Worked examples:

1. **Quick check**: the prefilled input ("coffee maker" on Google, YouTube and Amazon,
   30 suggestions) costs 30 × $0.01 / 1,000 = **$0.0003**.
2. **Full keyword research**: 20 seeds on all 7 sources with A–Z and question expansion
   comes to about 15,000 unique suggestions: 15,000 × $0.01 / 1,000 = **$0.15**.

Apify Free plan includes $5 monthly credit. At these prices that covers hundreds of
thousands of suggestions every month.

### How to use Keyword Suggestions Scraper

1. Open the actor in Apify Console and click **Try for free**.
2. Enter your **Seed keywords**, one per line (prefilled: `coffee maker`).
3. Choose the **Sources** (prefilled: Google, YouTube and Amazon).
4. Optionally pick **Expansions** (A–Z, 0–9, question words, prepositions) and set
   **Depth** to 2 for a keyword tree.
5. Set **Country** and **Language** if you need a market other than the US.
6. Set **Max suggestions** and click **Start**. Most runs finish in seconds.
7. Open the **Output** tab and export as JSON, CSV, Excel or HTML.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `keywords` | array | – | Required. Seed keywords, one per line. Duplicates (ignoring case and spaces) are queried once. |
| `sources` | array | `["google"]` | Any of `google`, `youtube`, `amazon`, `ebay`, `bing`, `duckduckgo`, `tiktok`. |
| `expansions` | array | `[]` | Any of `alphabet` (A–Z after the seed), `numbers` (0–9 after the seed), `questions` (how/what/why/where/when/which/who/can/is/are/does/will/should before the seed), `prepositions` (for/with/without/near/to/vs/like/in/on/from/under after the seed). Empty = only the seed. |
| `depth` | integer | `1` | `2` also sends every new suggestion back to the same source. |
| `country` | string | `us` | Two-letter country code, e.g. `gb`, `de`, `fr`, `jp`. `uk` is accepted as `gb`. |
| `language` | string | `en` | Two-letter language code, e.g. `de`, `es`, `ja`. |
| `maxItems` | integer | `1000` | Hard cap on suggestions for the whole run. |
| `proxyConfiguration` | object | Apify Proxy | Proxy settings. The default works; rate-limited requests are retried on a new IP. |
| `debug` | boolean | `false` | Log every retry. |

Example: questions and A–Z for two seeds on Google and Amazon:

```json
{
    "keywords": ["coffee maker", "espresso machine"],
    "sources": ["google", "amazon"],
    "expansions": ["questions", "alphabet"],
    "maxItems": 2000
}
```

Example: a German keyword tree on every source:

```json
{
    "keywords": ["kaffeemaschine"],
    "sources": ["google", "youtube", "amazon", "ebay", "bing", "duckduckgo", "tiktok"],
    "depth": 2,
    "country": "de",
    "language": "de"
}
```

### Output

One item per suggestion. Example from a real run on 2026-11-21:

```json
{
    "id": "546a2048dcafd65a",
    "keyword": "how coffee maker works",
    "seed": "coffee maker",
    "query": "how coffee maker",
    "expansion": "questions",
    "modifier": "how",
    "depth": 1,
    "parentKeyword": null,
    "source": "google",
    "position": 1,
    "relevance": 1250,
    "wordCount": 4,
    "country": "us",
    "language": "en",
    "url": "https://www.google.com/search?q=how+coffee+maker+works&hl=en&gl=us",
    "scrapedAt": "2026-11-21T10:34:39Z"
}
```

Field notes:

- `keyword`: the suggested search phrase.
- `seed` / `query`: your seed keyword and the exact text sent to the autocomplete (seed plus
  modifier, or a depth-1 suggestion at depth 2).
- `expansion` / `modifier`: `seed`, `alphabet`, `numbers`, `questions`, `prepositions` or
  `depth2`, and the letter, digit or word that was added (`null` for the seed itself).
- `position`: rank in the source's suggestion list for that query (1 = top).
- `relevance`: Google's own relevance score (higher = stronger). `null` for other sources.
- `depth` / `parentKeyword`: `2` with the depth-1 suggestion it came from when depth 2 is
  on, otherwise `1` and `null`.
- `country`: the market actually used. Amazon and eBay show `us` when your country has no
  local site.
- `url`: the search results page for the suggestion on that source (Google search, YouTube
  search, Amazon search, …).
- `id`: stable per source, country, language and keyword. The same suggestion appears once
  per source in a run.

### Integrations and API

Run the actor and get the suggestions back in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/innolabs~keyword-suggestions-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"keywords": ["coffee maker"], "sources": ["google", "amazon"], "expansions": ["questions"]}'
```

Python with [apify-client](https://docs.apify.com/api/client/python):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("innolabs/keyword-suggestions-scraper").call(run_input={
    "keywords": ["running shoes"],
    "sources": ["google", "youtube", "tiktok"],
    "expansions": ["alphabet"],
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["source"], row["position"], row["keyword"])
```

- **Make, Zapier, n8n**: use the Apify app or node to start the actor and send keywords to
  Google Sheets, Airtable or your SEO tool.
- **Scheduling**: run the same seeds weekly and compare the lists to spot new and trending
  searches.
- **Webhooks**: trigger your pipeline when a run finishes.
- **AI agents (MCP)**: connect Claude, Cursor or other MCP clients through the Apify MCP
  server at https://mcp.apify.com and let your agent research keywords on demand.

### FAQ

#### How many suggestions do I get per seed?

Each query returns up to 15 suggestions on Google and YouTube, 10 on Amazon, eBay and
TikTok, and 8 on Bing and DuckDuckGo. Without expansions that is about 10 per seed and
source. A–Z expansion sends 27 queries per seed and source and typically yields 200–550
unique suggestions on Google. Question words add about 100–200 more.

#### Are duplicates removed?

Yes, per source: the same keyword from two different queries on Google is stored and
charged once. The same keyword on Google and on Amazon gives two rows, because it is a
signal on two platforms. Echoes of your own query are skipped.

#### Does it show search volume?

No. Autocomplete shows what people type, ranked by popularity, but no volumes. Use
`position` and Google's `relevance` score to rank keywords, or feed the list into a volume
tool.

#### Which countries are supported?

Google, YouTube, Bing, DuckDuckGo and TikTok take any two-letter country and language code.
Amazon: us, ca, mx, br, gb, de, fr, it, es, nl, be, se, pl, tr, ae, sa, eg, in, jp, au, sg.
eBay: us, ca, gb, au, at, be, fr, de, it, nl, es, ch, ie, pl. Other countries use the US
site for Amazon and eBay, and the row's `country` says so.

#### Do I need a proxy or an account?

No account, cookies or API key. The default Apify Proxy (datacenter) spreads long runs over
many IPs. Rate-limited requests are retried on a fresh IP with backoff, and one failing
query never stops the run.

### Limits

- Autocomplete lists are short by design (8–15 per query). Large lists come from expansions
  and depth 2, not from a single query.
- Suggestions are live and personalised by market, so results change over time and between
  countries.
- TikTok suggestions follow the country only loosely; in our tests TikTok returned mostly
  global suggestions.
- Depth is limited to 2 because deeper trees drift off-topic quickly.
- Search volume, CPC and competition scores are not included.

# Changelog

This Actor's version history is a separate document: https://apify.com/innolabs/keyword-suggestions-scraper/changelog.md

# Actor input Schema

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

One seed keyword or phrase per line, e.g. coffee maker. Every seed is sent to each selected source, plus one query per expansion modifier.

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

Where to collect autocomplete suggestions. Each source is a separate set of results, deduplicated on its own.

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

Fan every seed out into more queries: A–Z (seed a … seed z, 26 queries), 0–9 (10 queries), question words (how/what/why/where/when/which/who/can/is/are/does/will/should + seed, 13 queries) and prepositions (seed for/with/without/near/to/vs/like/in/on/from/under, 11 queries). Empty = only the seed itself.

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

1 = suggestions for the seed and its expansions. 2 = also send every new suggestion back to the same source to get its own suggestions (a keyword tree, roughly 10× more results and requests).

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

Two-letter country code that localises the suggestions, e.g. us, gb, de, fr, jp. Amazon uses that country's marketplace (us, ca, mx, br, gb, de, fr, it, es, nl, be, se, pl, tr, ae, sa, eg, in, jp, au, sg) and eBay that country's site (us, ca, gb, au, at, be, fr, de, it, nl, es, ch, ie, pl); other countries fall back to the US site.

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

Two-letter language code for the interface language, e.g. en, de, es, fr, ja. Used by Google, YouTube, Bing, DuckDuckGo and TikTok; Amazon and eBay follow the marketplace.

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

Hard cap on suggestions in the dataset across all seeds and sources. The run stops cleanly when reached.

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

Apify Proxy (datacenter) spreads requests over many IPs so long runs are not rate-limited.

## `debug` (type: `boolean`):

Log every retried request.

## Actor input object example

```json
{
  "keywords": [
    "coffee maker"
  ],
  "sources": [
    "google",
    "youtube",
    "amazon"
  ],
  "expansions": [],
  "depth": 1,
  "country": "us",
  "language": "en",
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

## `dataset` (type: `string`):

One record per autocomplete suggestion: keyword, source, seed, query, expansion, position, country and language.

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

SUMMARY record: counts per source, requests, failed queries and charge-limit status.

# 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"
    ],
    "sources": [
        "google",
        "youtube",
        "amazon"
    ],
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("innolabs/keyword-suggestions-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"],
    "sources": [
        "google",
        "youtube",
        "amazon",
    ],
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("innolabs/keyword-suggestions-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"
  ],
  "sources": [
    "google",
    "youtube",
    "amazon"
  ],
  "maxItems": 30
}' |
apify call innolabs/keyword-suggestions-scraper --silent --output-dataset

```

## MCP server setup

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