# Keyword Research Tool: Google, YouTube, Amazon Autocomplete (`1stbtln/keyword-autocomplete-expander`) Actor

Find thousands of long-tail keywords from 7 autocomplete engines: Google, YouTube, Google Shopping, Bing, DuckDuckGo, Amazon, eBay. A-Z, question, preposition and buyer-intent expansion, depth 1-3, 8 countries. Ranked by engine count. $0.30 per 1,000 keywords.

- **URL**: https://apify.com/1stbtln/keyword-autocomplete-expander.md
- **Developed by:** [Ethan Wagner](https://apify.com/1stbtln) (community)
- **Categories:** SEO tools, Marketing, E-commerce
- **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 unique 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 Research Tool – Google, YouTube, Amazon & Bing Autocomplete Scraper

Generate **thousands of long-tail keywords in seconds** from what real people type into search boxes. One run queries up to **7 autocomplete engines** – Google, YouTube, Google Shopping, Bing, DuckDuckGo, Amazon and eBay – and merges the results into one ranked list.

**$0.30 per 1,000 unique keywords.** Duplicates across engines are merged and charged once.

### What it does

- 🔤 **A–Z expansion** (`seed a` … `seed z`), **A–Z prefix**, **0–9**
- ❓ **Question keywords** – how / what / why / can / is … + seed (great for FAQ, "People Also Ask" and AI-answer content)
- 🔗 **Prepositions** – seed for / with / vs / near / without …
- 💸 **Buyer-intent** – best / cheap / review / price / alternative …
- 🌳 **Multi-level depth** – expand the keywords you discover (depth 2–3)
- 🌍 **9 markets** – US, UK, CA, AU, DE, FR, ES, IT (Amazon & eBay marketplaces follow the country)
- 📊 **Cross-engine score** – every keyword lists which engines suggested it, how often, and its best position. Keywords suggested by Google *and* YouTube *and* Amazon are your strongest bets
- 🏷️ Flags for **question** and **buyer-intent** keywords

### Use cases

- SEO content planning and topic clusters
- YouTube video ideas and titles (YouTube autocomplete)
- Amazon & eBay product research and listing keywords
- PPC keyword lists and negative keywords
- Feeding AI agents / content pipelines with real search demand

### Input example

```json
{
  "keywords": ["running shoes", "crm software"],
  "sources": ["google", "youtube", "bing", "amazon"],
  "expansion": ["alphabet", "questions", "prepositions"],
  "country": "us",
  "language": "en",
  "depth": 1,
  "maxKeywords": 2000
}
```

### Output example

```json
{
  "keyword": "running shoes carbon plate",
  "seed": "running shoes",
  "sources": ["google", "youtube", "googleShopping", "bing", "duckduckgo", "amazon", "ebay"],
  "sourcesCount": 7,
  "query": "running shoes c",
  "modifier": "+c",
  "depth": 1,
  "bestPosition": 1,
  "timesSuggested": 7,
  "wordCount": 4,
  "isQuestion": false,
  "isCommercial": false,
  "language": "en",
  "country": "us"
}
```

Results are sorted by number of engines, then frequency, then position.

Real test run (2 seeds, 7 engines, A–Z + questions + prepositions): **2,215 unique keywords from 728 autocomplete queries in ~19 seconds**.

### Pricing

| Event | Price |
|---|---|
| Unique keyword | **$0.30 per 1,000** |

Set *Max keywords* or *Max cost per run* to control spend.

### Notes

- Autocomplete shows what people search, not exact search volumes. Combine with your volume tool of choice, or use `sourcesCount` and `timesSuggested` as popularity signals.
- No login, no personal data: the Actor only reads public autocomplete suggestions.

# Actor input Schema

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

One seed per line, e.g. running shoes, crm software.

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

Which engines to query.

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

How to expand each seed. alphabet = 'seed a'…'seed z'; alphabetPrefix = 'a seed'…; questions = how/what/why… seed; prepositions = seed for/with/vs…; commercial = best/cheap/review/price…

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

1 = expand seeds only. 2–3 = also expand discovered keywords (much bigger output).

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

Market for suggestions (also selects the Amazon/eBay marketplace).

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

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

## `maxKeywords` (type: `integer`):

Stop after this many unique keywords (also capped by your max cost per run).

## `mustContainSeed` (type: `boolean`):

Drop suggestions that don't include every word of the seed.

## `excludeWords` (type: `array`):

Drop keywords containing any of these.

## `dedupeAcrossSources` (type: `boolean`):

One row per keyword with a list of every engine that suggested it (recommended). Off = one row per keyword per source.

## `maxConcurrency` (type: `integer`):

Concurrent autocomplete requests.

## Actor input object example

```json
{
  "keywords": [
    "running shoes"
  ],
  "sources": [
    "google",
    "youtube",
    "bing",
    "amazon"
  ],
  "expansion": [
    "alphabet",
    "questions"
  ],
  "depth": 1,
  "country": "us",
  "language": "en",
  "maxKeywords": 2000,
  "mustContainSeed": false,
  "excludeWords": [],
  "dedupeAcrossSources": true,
  "maxConcurrency": 6
}
```

# Actor output Schema

## `keywords` (type: `string`):

Dataset with one row per unique keyword: engines that suggested it, number of engines, times suggested, best position, seed, modifier, question / buyer-intent flags, country and language.

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("1stbtln/keyword-autocomplete-expander").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"] }

# Run the Actor and wait for it to finish
run = client.actor("1stbtln/keyword-autocomplete-expander").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"
  ]
}' |
apify call 1stbtln/keyword-autocomplete-expander --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,1stbtln/keyword-autocomplete-expander"
        }
    }
}
```

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/kSQGLaQDdqAlJcEpX/builds/qRogKTA4KXcnnQIip/openapi.json
