# Keyword Suggestions Scraper - Google, YouTube & Amazon (`pink_comic/keyword-autocomplete-scraper`) Actor

Get long-tail keyword ideas from Google, YouTube, Amazon, Bing and DuckDuckGo autocomplete with A-Z, question and preposition expansion. Any country/language.

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

## Pricing

from $0.80 / 1,000 keywords

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 & Amazon

Generate hundreds of **long-tail keyword ideas** from the autocomplete ("search suggest") of **Google, YouTube, Amazon, Bing and DuckDuckGo**. Expand each seed with **A-Z, 0-9, question words (how/what/why...) and prepositions/modifiers (for, vs, with, best, cheap...)**, for any **country and language**, and get a clean, deduplicated list with the engine, the exact query, position and a question flag. No API key, no Google Ads account.

### Why this keyword tool

- **Five autocomplete sources in one run**: Google (web SEO), YouTube (video SEO), Amazon (product/PPC keywords per marketplace), Bing and DuckDuckGo.
- **Real searcher language.** Autocomplete shows what people actually type, including fresh trends that keyword tools miss.
- **Expansion patterns built in**: A-Z and 0-9 suffixes, 13 question words, prepositions and buyer modifiers - one seed becomes 200-800 ideas.
- **Local results**: country (`us`, `gb`, `de`, `in`...) and language codes; Amazon uses the matching marketplace (amazon.de, amazon.co.uk...).
- **Fast and cheap.** Lightweight JSON endpoints, 4 parallel requests, typically 1,000 keywords in under a minute. **$0.0008 per keyword**.

### Use cases

- **SEO content planning**: find long-tail and question keywords for articles, FAQs and topic clusters.
- **YouTube SEO**: titles, tags and video ideas from YouTube autocomplete.
- **Amazon sellers and PPC**: product keyword research per marketplace for listings and Sponsored Products.
- **PPC and paid search**: discover modifiers ("near me", "cheap", "vs") and negative keyword candidates.
- **Market research and AI agents**: see what people ask about a brand, product or topic; feed ideas to an LLM for content briefs.

### Input examples

Google A-Z ideas for one seed (default):

```json
{ "keywords": ["best crm"], "engines": ["google"], "expansion": ["alphabet"], "maxResults": 200 }
```

All five engines with question and preposition expansion:

```json
{ "keywords": ["air fryer", "standing desk"], "engines": ["google", "youtube", "amazon", "bing", "duckduckgo"], "expansion": ["questions", "prepositions"], "maxResultsPerKeyword": 150, "maxResults": 1000 }
```

Spanish keywords for Spain, Google + Amazon.es:

```json
{ "keywords": ["zapatillas running"], "engines": ["google", "amazon"], "country": "es", "language": "es", "expansion": ["alphabet"] }
```

### Sample output

```json
[
  { "keyword": "best crm for small business", "seedKeyword": "best crm", "engine": "google", "query": "best crm", "expansion": "seed", "position": 2, "wordCount": 5, "isQuestion": false, "country": "us", "language": "en" },
  { "keyword": "how to choose the best crm", "seedKeyword": "best crm", "engine": "google", "query": "how best crm", "expansion": "questions", "position": 3, "wordCount": 6, "isQuestion": true, "country": "us", "language": "en" },
  { "keyword": "best crm software tutorial", "seedKeyword": "best crm", "engine": "youtube", "query": "best crm t", "expansion": "alphabet", "position": 1, "wordCount": 4, "isQuestion": false, "country": "us", "language": "en" }
]
```

### Pricing

Pay per event: **$0.0008 per unique keyword** + **$0.002 per run**. 1,000 keyword ideas cost about $0.80. Duplicates across expansion queries are removed before charging.

### FAQ

**Does it include search volume?** No. Autocomplete does not expose volume; the `position` (1 = top suggestion) is a useful popularity signal. Pair the list with your volume tool of choice.

**How many keywords per seed?** Each autocomplete request returns up to about 10 suggestions. Seed only = ~10 per engine; A-Z = up to ~270; all expansions = up to ~600 per engine (after dedupe usually fewer).

**What does "Max keywords per seed and engine" do?** It caps how many unique ideas are kept for each seed on each engine, so several seeds/engines share the run fairly.

**Which countries work?** Any two-letter code for Google/YouTube/Bing/DuckDuckGo. Amazon supports us, gb, de, fr, it, es, ca, mx, in, jp, au, br, nl (others fall back to amazon.com).

**Why do Amazon suggestions differ from my keyword?** Amazon may spell-correct short or ambiguous seeds (e.g. abbreviations). Use full product terms for best results.

**Can I schedule it to track new trends?** Yes - run it weekly with the same seeds and compare new suggestions.

### Support

Need another engine (e.g. Google Shopping, eBay) or field? Open an issue on the Issues tab; we usually reply within a day.

# Actor input Schema

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

Keywords to expand, e.g. 'best crm', 'air fryer'.

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

Which autocomplete engines to query. Default Google.

## `expansion` (type: `array`):

Extra query patterns per seed (each adds requests and many more long-tail ideas). Empty = seed only (about 10 ideas per engine).

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

Two-letter country code (gl), e.g. us, gb, de, fr, es, in, br. Also picks the Amazon marketplace.

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

Two-letter language code (hl), e.g. en, de, es, fr.

## `maxResultsPerKeyword` (type: `integer`):

Cap per seed keyword per engine. 0 = no cap.

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

Maximum unique keyword suggestions in total. Default 200 = about $0.16.

## Actor input object example

```json
{
  "keywords": [
    "best crm"
  ],
  "engines": [
    "google"
  ],
  "expansion": [
    "alphabet"
  ],
  "country": "us",
  "language": "en",
  "maxResultsPerKeyword": 0,
  "maxResults": 200
}
```

# Actor output Schema

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

All records from this run in the default dataset, shown with the Overview table view.

# 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": [
        "best crm"
    ],
    "engines": [
        "google"
    ],
    "expansion": [
        "alphabet"
    ],
    "maxResults": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("pink_comic/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 = {
    "keywords": ["best crm"],
    "engines": ["google"],
    "expansion": ["alphabet"],
    "maxResults": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("pink_comic/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 '{
  "keywords": [
    "best crm"
  ],
  "engines": [
    "google"
  ],
  "expansion": [
    "alphabet"
  ],
  "maxResults": 200
}' |
apify call pink_comic/keyword-autocomplete-scraper --silent --output-dataset

```

## MCP server setup

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