# Keyword Suggestions — Google, YouTube, Amazon Autocomplete (`istmobot/keyword-suggestions`) Actor

Get hundreds of long-tail keyword ideas from Google, YouTube, Amazon and DuckDuckGo autocomplete. Input: seed keywords, sources, country and language. Output: one row per suggested keyword with source, position and the modifier that found it.

- **URL**: https://apify.com/istmobot/keyword-suggestions.md
- **Developed by:** [Istmobot](https://apify.com/istmobot) (community)
- **Categories:** SEO tools, 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.40 / 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.
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 — Google, YouTube, Amazon & DuckDuckGo Autocomplete

Turn one seed keyword into **hundreds of real search phrases**. This Actor collects the autocomplete suggestions of **Google, YouTube, Amazon and DuckDuckGo**: the exact phrases people type. Get long-tail keywords, questions and comparisons for SEO, content, video and product listings. No API key, no login, no monthly plan.

### What is Keyword Suggestions?

Search engines suggest phrases as you type, based on what people really search. The Actor asks for those suggestions many times per seed:

- **Seed only**: the suggestions for the keyword itself (about 10).
- **Alphabet**: seed + `a`, `b`, … `z` and `0`…`9`, which reveals the long tail (up to about 250 per source).
- **Questions**: `how`, `what`, `why`, `when`, `where`, `which`, `who`, `can`, `is`, `are`, `does` + seed.
- **Comparisons**: seed + `vs`, `or`, `and`, `like`, `without`, `for`, `with`, `near`.

Use it to:

- **Plan SEO content**: find long-tail keywords and the questions to answer in articles and FAQs.
- **Pick YouTube topics and titles** from what viewers search.
- **Write Amazon listings** with the terms shoppers type, per marketplace.
- **Build PPC keyword lists** and find negative keywords.
- **Research a market in its own language**: any country and language.

### What data can I get?

| Field | Meaning |
|---|---|
| `seed` | Your keyword |
| `source` | `google`, `youtube`, `amazon` or `duckduckgo` |
| `keyword` | The suggested search phrase |
| `modifier` | The letter or word that produced it (`a`, `how`, `vs`…), or `null` for the seed itself |
| `query` | The text that was typed to get the suggestion |
| `position` | Place of the keyword in the suggestion list (1 = first) |
| `words` | Number of words, to filter long-tail phrases |
| `country`, `language` | Market of the suggestions |
| `scrapedAt` | Date and time of collection |

Each keyword appears once per seed and source. Suggestions that do not relate to the seed are removed.

### How much does it cost?

| Event | Price |
|---|---|
| Actor start | $0.005 per run |
| `keyword` | $0.0005 per keyword, or **$0.50 per 1,000** |

Example: one seed on Google with full expansion returns about 300 keywords for about **$0.15**. Use `maxResultsPerKeyword` and the **maximum cost per run** to control the spend. A seed with no suggestions gets a free row that says so.

### How to use Keyword Suggestions

1. Click **Try for free**.
2. Type one or more seed keywords.
3. Choose the sources and how far to expand.
4. Set the country and language of your market.
5. Click **Start**, then download the dataset as CSV, Excel or JSON.

### ⬇️ Input

```json
{
    "keywords": ["running shoes"],
    "sources": ["google", "youtube", "amazon"],
    "expand": "all",
    "country": "us",
    "language": "en",
    "maxResultsPerKeyword": 200
}
```

| Field | Default | Description |
|---|---|---|
| `keywords` | required | Seed words or phrases, one per line |
| `sources` | `["google"]` | `google`, `youtube`, `amazon`, `duckduckgo` |
| `expand` | `alphabet` | `none`, `alphabet`, `questions`, `comparisons` or `all` |
| `country` | `us` | 2-letter country code. Amazon marketplaces: us, gb, de, fr, es, it, ca, mx, br, jp, in, au |
| `language` | `en` | 2-letter language code |
| `maxResultsPerKeyword` | `500` | Limit of keywords per seed and source |

### ⬆️ Output

```json
{
    "seed": "running shoes",
    "source": "google",
    "keyword": "why running shoes have thick soles",
    "modifier": "why",
    "query": "why running shoes",
    "position": 4,
    "words": 6,
    "country": "us",
    "language": "en",
    "scrapedAt": "2026-11-12T04:39:21.275Z"
}
```

### Integrations & API

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_TOKEN")
run = client.actor("istmobot/keyword-suggestions").call(run_input={"keywords": ["running shoes"], "expand": "all"})
long_tail = [r["keyword"] for r in client.dataset(run["defaultDatasetId"]).iterate_items() if r.get("words", 0) >= 4]
```

Schedule it weekly to catch new suggestions, or connect it to Make, Zapier, n8n or Google Sheets.

### 🤖 Use with AI agents (MCP)

`https://mcp.apify.com?tools=istmobot/keyword-suggestions`. Example prompt: "Find the questions people ask on Google and YouTube about 'home espresso machine' and group them by topic."

### ❓ FAQ

**Does it return search volume?** No. Autocomplete gives the phrases and their order, not volume numbers. `position` shows which suggestions the source ranks first.

**Why are the results different from what I see in my browser?** Your browser adds your history and location. The Actor asks without a profile, for the country and language you set.

**How many keywords can I get per seed?** About 10 with `none`, up to about 250 with `alphabet`, and more with `all`. Niche seeds return fewer.

**Can I use other languages?** Yes. Set `country` and `language`, e.g. `mx` and `es`. The question and comparison words are English; for other languages use `alphabet`, or add your own question words to the seeds (e.g. "como hacer pan").

**Why did a seed return nothing?** The source has no suggestions for it in that market. The dataset has a row with `errorCode: NO_SUGGESTIONS`, at no charge.

**Is this legal?** The Actor reads public suggestion data that needs no login and contains no personal data.

### Your feedback

Missing a source or an expansion mode? Open an issue on the **Issues** tab.

# Actor input Schema

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

Words or phrases to expand, one per line, e.g. "running shoes" or "web scraping". Each seed returns its own list of suggestions.

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

Where to collect suggestions. Google: what people search on the web. YouTube: video topics. Amazon: what shoppers type. DuckDuckGo: a second web search view.

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

"none": only the suggestions for the seed itself (about 10). "alphabet": also seed + a…z (up to about 250). "questions": how / what / why… + seed. "comparisons": seed + vs / or / for / with…. "all": everything.

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

2-letter country code of the market, e.g. us, gb, de, mx, br. Amazon has marketplaces for: us, gb, de, fr, es, it, ca, mx, br, jp, in, au (others use amazon.com).

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

2-letter language code of the suggestions, e.g. en, es, de, pt, fr.

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

Stop collecting for a seed on a source after this many keywords, e.g. 200. You pay per keyword.

## Actor input object example

```json
{
  "keywords": [
    "running shoes"
  ],
  "sources": [
    "google",
    "youtube"
  ],
  "expand": "all",
  "country": "us",
  "language": "en",
  "maxResultsPerKeyword": 200
}
```

# Actor output Schema

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

No description

# 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"
    ],
    "expand": "all",
    "country": "us",
    "language": "en",
    "maxResultsPerKeyword": 200
};

// Run the Actor and wait for it to finish
const run = await client.actor("istmobot/keyword-suggestions").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",
    ],
    "expand": "all",
    "country": "us",
    "language": "en",
    "maxResultsPerKeyword": 200,
}

# Run the Actor and wait for it to finish
run = client.actor("istmobot/keyword-suggestions").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"
  ],
  "expand": "all",
  "country": "us",
  "language": "en",
  "maxResultsPerKeyword": 200
}' |
apify call istmobot/keyword-suggestions --silent --output-dataset

```

## MCP server setup

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

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/f5K3uhhbyZpal6La0/builds/CerJWKUfEYR6CWXRW/openapi.json
