# Keyword Suggestions Scraper: Google Autocomplete, YouTube, Bing (`lavidarossi.bv/keyword-suggestions-scraper`) Actor

Get autocomplete keyword suggestions from Google, YouTube, Bing, Amazon and DuckDuckGo for any seed keyword, by country and language, with A-Z and question expansion. One row per suggestion.

- **URL**: https://apify.com/lavidarossi.bv/keyword-suggestions-scraper.md
- **Developed by:** [Lavida Data](https://apify.com/lavidarossi.bv) (community)
- **Categories:** SEO tools, Marketing, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 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/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 Autocomplete, YouTube, Bing

This Actor reads the public autocomplete of Google, YouTube, Bing, Amazon and DuckDuckGo, the same suggestions you see while typing in the search box. Give it seed keywords such as running shoes, pick the engines and a country, and it returns one row per suggestion with its position. Turn on A-Z or question expansion to get hundreds of long-tail ideas per seed. It does not log in and needs no API key.

### What it does

- Five engines in one run: Google web search, YouTube, Bing, Amazon and DuckDuckGo.
- Country and language per run; with Apify Proxy the requests go out from that country, so local suggestions match.
- A-Z expansion (seed + a, seed + b, ...) and question expansion (how, what, why, best, vs ...) for long-tail ideas.
- Deduplicated per seed and engine, with the position the engine gave and the word count.
- Pay per suggestion; no subscription, no API key.

### Use cases

- Build a long-tail keyword list for a blog or a shop category before writing.
- Find what people search on YouTube around a topic for video titles.
- See which product words Amazon suggests for a niche before listing a product.
- Compare what Google suggests in two countries for the same seed.
- Feed a keyword volume tool with seed ideas.

### How to use it

1. Fill in the input (or keep the example).
2. Click Start.
3. Download the results from the Output tab, or connect them to your tools with the Apify API or integrations.

The prefilled input is a small test: it stops after 10 results, so the first run costs at most $0.0080.

### Input

| Field | Type | Required | Default | Example | Description |
| --- | --- | --- | --- | --- | --- |
| `keywords` | array | yes |  | \["running shoes"] | Keywords to get suggestions for, one per line (for example running shoes). |
| `sources` | array | no | \["google"] | \["google","youtube"] | One or more of: google, youtube, bing, amazon, duckduckgo. Each engine adds about 10 suggestions per query. |
| `country` | string | no | "US" | US | Country of the suggestions. Amazon supports US, GB, CA, AU, NL, BE, DE, FR, ES, IT, SE, PL, BR, MX, IN, JP and SG. |
| `language` | string | no | "en" | en | Two-letter language code for Google, YouTube and Bing (for example en, nl, de). |
| `expand` | string | no | "none" | none | Also ask for the seed followed by each letter (A-Z) or preceded by question words. Each extra query returns up to about 10 suggestions. |
| `proxyConfiguration` | object | no | {"useApifyProxy":true} | {"useApifyProxy":true} | Apify Proxy sends each request from the chosen country, so local suggestions match. Without a proxy the suggestions follow your server's location. |
| `maxResults` | integer | no | 100 | 10 | The run stops after this many results. You pay per result. |

Example input:

```json
{
  "keywords": [
    "running shoes"
  ],
  "sources": [
    "google",
    "youtube"
  ],
  "country": "US",
  "language": "en",
  "expand": "none",
  "maxResults": 100
}
```

### Output

Each result is one row in the dataset. Download it as JSON, CSV, Excel or HTML, or read it through the Apify API.

| Field | Type | Description |
| --- | --- | --- |
| `keyword` | string | The seed keyword from the input |
| `query` | string | What was typed into the engine (seed, seed + letter, or question word + seed) |
| `source` | string | google, youtube, bing, amazon or duckduckgo |
| `country` | string | Country code used |
| `language` | string | Language code used |
| `suggestion` | string | The autocomplete suggestion |
| `position` | integer | Position in the engine's list for that query (1 = first) |
| `wordCount` | integer | Number of words in the suggestion |
| `scrapedAt` | string | ISO time of the request |

#### Example output

| Seed keyword | Engine | Suggestion | Position | Words | Query sent |
| --- | --- | --- | --- | --- | --- |
| running shoes | google | running shoes for women | 2 | 4 | running shoes |
| running shoes | youtube | running shoes review | 6 | 3 | running shoes |
| running shoes | amazon | brooks mens running shoes | 1 | 4 | running shoes |

Example result:

```json
{
  "keyword": "running shoes",
  "query": "running shoes",
  "source": "google",
  "country": "US",
  "language": "en",
  "suggestion": "running shoes for women",
  "position": 2,
  "wordCount": 4,
  "scrapedAt": "2026-12-04T08:00:00.000Z"
}
```

### Pricing

This Actor uses pay-per-event pricing. You pay for results, not for compute time or proxies.

| Event | When it is charged | Price | Per 1,000 |
| --- | --- | --- | --- |
| Suggestion | One keyword suggestion written to the dataset | $0.00080 | $0.80 |
| Actor start | Charged by Apify once per run, plus once per GB of memory above 1 GB | $0.00005 | $0.05 |

Example: 1,000 results cost $0.80 in total for one run.
Set "Maximum cost per run" in the run options to cap spending; the Actor stops cleanly when the cap is reached.

### Use it from an AI agent or the API

**MCP (Claude, Cursor, ChatGPT and other MCP clients):** add the Apify MCP server with this Actor as a tool: `https://mcp.apify.com?tools=lavidarossi.bv/keyword-suggestions-scraper`. The agent sees it as the tool `lavidarossi-dot-bv--keyword-suggestions-scraper` with the input fields above. Without the parameter, agents can still find it with the `search-actors` tool.

**API:** run it and get the rows in one call (replace `<APIFY_TOKEN>` with your token):

```bash
curl -X POST "https://api.apify.com/v2/acts/lavidarossi.bv~keyword-suggestions-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
  -d '{"keywords":["running shoes"],"sources":["google","youtube"],"country":"US","language":"en","expand":"none","proxyConfiguration":{"useApifyProxy":true},"maxResults":10}'
```

### FAQ

**Where do the suggestions come from?**

From the public autocomplete endpoints the search boxes of Google, YouTube, Bing, Amazon and DuckDuckGo use. The Actor does not log in and needs no API key.

**Does it return search volume?**

No. Autocomplete shows what people type, ordered by the engine, without numbers. Use the suggestions as input for a volume tool.

**Why do I get local results from another country?**

Google and YouTube also look at the IP address. Keep Apify Proxy on: the Actor then sends each request from the country you chose.

**How many suggestions per seed?**

About 10 per engine for the seed alone. A-Z expansion asks 26 more queries per engine (up to about 260 ideas), questions 10 more.

**What happens when a request fails?**

Each request is retried up to 4 times. If a request still fails, the run ends with status Failed and the RUN_SUMMARY record in the key-value store lists the failed URLs. Results saved before that stay in the dataset.

**Can I run it on a schedule?**

Yes. Create a task with your input and add a schedule in Apify Console. Each run is charged per result.

### Limits

- Engines return about 8 to 10 suggestions per query; duplicates across expansion queries are removed per seed and engine.
- The engines can change their autocomplete at any time. The run then fails with a clear error and we fix it.
- Amazon suggestions only for the countries listed in the Country field.

### Related Actors

- [Google Play Scraper](https://apify.com/lavidarossi.bv/google-play-scraper): app details, reviews and keyword rank on Google Play.
- [Google Ads Transparency Scraper](https://apify.com/lavidarossi.bv/google-ads-transparency-scraper): the ads an advertiser runs on Google Search, YouTube and Display.
- [YouTube Transcript Scraper](https://apify.com/lavidarossi.bv/youtube-transcript-scraper): transcripts of YouTube videos, channels and playlists.

### Data

- Suggestions are search phrases the engines show to everyone. The Actor stores no user data.

# Actor input Schema

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

Keywords to get suggestions for, one per line (for example running shoes).

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

One or more of: google, youtube, bing, amazon, duckduckgo. Each engine adds about 10 suggestions per query.

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

Country of the suggestions. Amazon supports US, GB, CA, AU, NL, BE, DE, FR, ES, IT, SE, PL, BR, MX, IN, JP and SG.

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

Two-letter language code for Google, YouTube and Bing (for example en, nl, de).

## `expand` (type: `string`):

Also ask for the seed followed by each letter (A-Z) or preceded by question words. Each extra query returns up to about 10 suggestions.

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

Apify Proxy sends each request from the chosen country, so local suggestions match. Without a proxy the suggestions follow your server's location.

## `maxResults` (type: `integer`):

The run stops after this many results. You pay per result.

## Actor input object example

```json
{
  "keywords": [
    "running shoes"
  ],
  "sources": [
    "google",
    "youtube"
  ],
  "country": "US",
  "language": "en",
  "expand": "none",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxResults": 10
}
```

# Actor output Schema

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

One dataset item per result, with every field described in the dataset schema.

## `runSummary` (type: `string`):

Counts of results, finished, failed and skipped requests, and whether the charge limit was reached.

# 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": [
        "running shoes"
    ],
    "sources": [
        "google",
        "youtube"
    ],
    "country": "US",
    "language": "en",
    "expand": "none",
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("lavidarossi.bv/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": ["running shoes"],
    "sources": [
        "google",
        "youtube",
    ],
    "country": "US",
    "language": "en",
    "expand": "none",
    "proxyConfiguration": { "useApifyProxy": True },
    "maxResults": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("lavidarossi.bv/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": [
    "running shoes"
  ],
  "sources": [
    "google",
    "youtube"
  ],
  "country": "US",
  "language": "en",
  "expand": "none",
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxResults": 10
}' |
apify call lavidarossi.bv/keyword-suggestions-scraper --silent --output-dataset

```

## MCP server setup

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