# Keyword Suggestions Scraper: Google, YouTube, Bing (`pampa-data/keyword-suggestions-scraper`) Actor

Get autocomplete keyword suggestions from Google, YouTube and Bing in one run, for any language and country. Expand each seed keyword with A to Z, question words, prepositions or your own modifiers to find hundreds of long-tail keywords for SEO, ads and content ideas.

- **URL**: https://apify.com/pampa-data/keyword-suggestions-scraper.md
- **Developed by:** [Pampa](https://apify.com/pampa-data) (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

$0.50 / 1,000 keyword 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 Suggestions Scraper (Google, YouTube, Bing Autocomplete)

Get **autocomplete keyword suggestions from Google, YouTube and Bing in one run**. Type in a few seed keywords and get every suggestion the search boxes show, for any **language and country**. Turn on **A to Z, question and preposition expansion** to grow one keyword into hundreds of real long-tail searches.

Autocomplete is what people actually type, ranked by how often they search it. It is the fastest free source of keyword ideas for:

- **SEO**: long-tail keywords, content clusters and FAQ ideas ("how to clean coffee maker"),
- **YouTube**: video titles and tags that match what viewers search on YouTube, not on Google,
- **PPC and ads**: new keywords and negative keywords,
- **market research**: what people associate with a brand, product or competitor ("notion vs", "notion alternative"),
- **AI agents and spreadsheets**: a clean keyword list ready for clustering.

No login, no browser, no API key. A run with 2 keywords, all three sources and every expansion returns about 2,000 unique keywords in a few seconds.

#### What data you get

One item per unique suggestion, for each seed keyword and source:

| Field | Example | Meaning |
| --- | --- | --- |
| `keyword` | `coffee maker` | Your seed keyword |
| `source` | `google` | `google`, `youtube` or `bing` |
| `suggestion` | `coffee maker with grinder` | The autocomplete suggestion |
| `position` | `2` | Position in the suggestion list (1 is the top) |
| `query` | `coffee maker w` | What was typed to get it |
| `modifier` | `+w` | Expansion used (`+w` after, `how+` before, empty for the plain keyword) |
| `wordCount` | `4` | Words in the suggestion, handy to filter long-tail |
| `language`, `country` | `en`, `us` | Locale used |
| `scrapedAt` | `2026-11-12T12:45:24Z` | When it was collected |

Suggestions are de-duplicated per keyword and source, so you never pay twice for the same keyword from the same source. The same suggestion from Google and from YouTube appears twice on purpose: it tells you it is popular on both.

#### How to use it

1. Add your seed keywords, one per line.
2. Pick sources (all three by default), a language (`en`, `es`, `pt-BR`, `de`...) and a country (`us`, `gb`, `ar`, `br`...).
3. Turn on expansions for more ideas:
   - **A to Z**: "coffee maker a", "coffee maker b"... (about 27 times more results),
   - **Questions**: "how coffee maker", "why coffee maker"... in the chosen language,
   - **Prepositions**: "coffee maker for", "coffee maker vs", "coffee maker without"...,
   - **Custom modifiers**: your own words, such as `price`, `review`, `best {keyword}` or `{keyword} alternative`.
4. Run it and export to CSV, Excel or JSON, or call it from the API, Make, Zapier or n8n.

Example input:

```json
{
    "keywords": ["coffee maker", "project management software"],
    "sources": ["google", "youtube", "bing"],
    "language": "en",
    "country": "us",
    "expandAlphabet": true,
    "expandQuestions": true,
    "customModifiers": ["best {keyword}", "{keyword} alternative"],
    "maxSuggestionsPerKeyword": 300
}
```

After the run, the `SUMMARY` record shows the queries sent and suggestions found per keyword and source, and `FAILED` lists anything that failed.

#### Pricing

**$0.0005 per suggestion, which is $0.50 per 1,000 keywords**, with no start fee. A full A to Z expansion of one seed keyword on Google (about 250 keywords) costs about $0.13, and Apify's free plan credit of $5 a month covers about 10,000 keywords.

You pay per suggestion in the results. The seed keyword itself is skipped by default and duplicates are removed before saving, so you only pay for new keywords. Failed requests are never charged.

Rough sizes per seed keyword and source: plain keyword about 10 suggestions, with A to Z about 250, with every expansion about 300 to 400. Use **Max suggestions per keyword and source** or a maximum cost per run to cap spending; the Actor stops cleanly when the cap is reached.

#### Limits

- Suggestions come from the public autocomplete endpoints of Google, YouTube and Bing. They show what is popular, not search volumes; pair them with [Google Trends Scraper](https://apify.com/pampa-data/google-trends-scraper) for interest over time.
- Each source returns up to about 10 suggestions per typed query; expansions are how you get more.
- Google may personalize or filter some suggestions (for example sensitive topics), and suggestions change over time.
- Amazon suggestions are not included: Amazon's terms do not allow automated collection.

#### FAQ

**Is this a free alternative to keyword tools like Ahrefs, Semrush or AnswerThePublic?** For finding keyword ideas, yes: those tools also start from autocomplete suggestions. This Actor does not give search volume or difficulty; use it to collect the long list, then check the best ideas in your SEO tool or with [Google Trends Scraper](https://apify.com/pampa-data/google-trends-scraper).

**Does it work in Spanish, Portuguese and other languages?** Yes. Suggestions work in any language and country you set. Question expansion uses native question words for English, Spanish, Portuguese, French, German and Italian ("cómo", "por que", "wie"...) and English words for other languages; add your own with custom modifiers.

**Can I get YouTube keyword ideas only?** Yes. Pick only `youtube` as the source. YouTube suggestions differ from Google's and are what viewers type in the YouTube search box, which is useful for video titles and tags.

**How do I send the keywords to Google Sheets or an AI agent?** Export the dataset as CSV or Excel, or start the Actor from the Apify API, Make, Zapier or n8n and read the dataset when the run ends.

#### Related Actors

- [Google Trends Scraper](https://apify.com/pampa-data/google-trends-scraper): check which of your new keywords is growing, by region and over time.
- [Website Popularity Rank Checker](https://apify.com/pampa-data/website-popularity-rank): popularity rank of the websites that rank for your keywords.
- [Company Jobs Scraper](https://apify.com/pampa-data/company-jobs-scraper): open jobs of any company from Greenhouse, Lever, Ashby and Workday.
- [SEO On-Page Audit and Meta Tag Checker](https://apify.com/pampa-data/seo-on-page-audit): titles, meta descriptions, canonical, noindex, headings, structured data and issues for a list of pages or a whole sitemap.

# Changelog

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

# Actor input Schema

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

One per line. Each keyword is typed into the search boxes of the selected sources and every autocomplete suggestion is returned. Up to 1,000 per run.

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

Where to get suggestions from. Default: all three.

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

Language code of the suggestions, for example en, es, pt-BR, de or fr. It also picks the question words and prepositions used for expansion.

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

Two-letter country code, for example us, gb, ar, br or de. Leave empty for no country.

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

Also query "keyword a" to "keyword z". About 27 times more suggestions per keyword and source.

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

Also query question words before the keyword (how, what, why, where, can, is...), in the chosen language. English, Spanish, Portuguese, French, German and Italian are supported; other languages use English.

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

Also query the keyword followed by for, with, without, vs, near, to... in the chosen language.

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

Your own words to add after each keyword (price, review, 2026). Use {keyword} to place the keyword yourself, for example best {keyword} or {keyword} alternative.

## `includeSeedKeyword` (type: `boolean`):

Keep the suggestion that is exactly the seed keyword. Off by default so you only pay for new keywords.

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

Stops collecting once this many unique suggestions were found for a keyword on a source. 0 means no limit.

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

Not needed for normal runs. Turn it on only if a source starts answering with errors on very large runs.

## Actor input object example

```json
{
  "keywords": [
    "coffee maker",
    "project management software"
  ],
  "sources": [
    "google",
    "youtube",
    "bing"
  ],
  "language": "en",
  "country": "us",
  "expandAlphabet": false,
  "expandQuestions": false,
  "expandPrepositions": false,
  "includeSeedKeyword": false,
  "maxSuggestionsPerKeyword": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

One item per unique suggestion for each seed keyword and source.

## `allResults` (type: `string`):

No description

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

Queries sent and unique suggestions found for each keyword and source.

## `failedInputs` (type: `string`):

Keywords and sources whose requests failed (not charged).

# 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",
        "project management software"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pampa-data/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",
        "project management software",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("pampa-data/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",
    "project management software"
  ]
}' |
apify call pampa-data/keyword-suggestions-scraper --silent --output-dataset

```

## MCP server setup

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