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

Long-tail keyword research from Google, YouTube, Google Shopping, Amazon, Bing and DuckDuckGo autocomplete. A-Z, question and preposition expansion, 30+ countries. $0.50 per 1,000 keywords.

- **URL**: https://apify.com/coiled\_magistrate/keyword-suggestions.md
- **Developed by:** [TrendsData](https://apify.com/coiled_magistrate) (community)
- **Categories:** SEO tools, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.50 / 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 - Google, YouTube, Amazon, Bing Autocomplete

Turn one seed keyword into **hundreds of long-tail keywords** that real people type into **Google, YouTube, Google Shopping, Google News, Amazon, Bing and DuckDuckGo**.

**$0.50 per 1,000 unique keywords.** No start fee, no subscription.

### Features

- **7 sources** in one Actor - compare what people search on Google vs YouTube vs Amazon
- **Expansions**: alphabet (`seed a` … `seed z`, `seed 0` … `seed 9`), **question words** (`how`, `what`, `why`, `can`…), **prepositions & modifiers** (`for`, `with`, `vs`, `best`, `cheap`…)
- **Depth 2** - every found suggestion is queried again for even more long-tail ideas
- **Any country and language** (e.g. `us/en`, `de/de`, `cz/cs`), Amazon marketplaces US, UK, DE, FR, IT, ES, CA, JP, IN, AU
- Deduplicated output with **rank** in the autocomplete list, **modifier** used and **word count**

### Use cases

- **SEO** - long-tail keyword research and content ideas
- **YouTube creators** - video topics people actually search for
- **Amazon sellers (ASO/SEO)** - listing keywords and backend search terms
- **PPC** - keyword lists and negative keyword discovery
- **Market research** - what customers ask about a product or brand (question expansion)

### Input example

```json
{
  "keywords": ["running shoes"],
  "sources": ["google", "youtube", "amazon"],
  "expansions": ["alphabet", "questions"],
  "country": "us",
  "language": "en"
}
```

### Output example

```json
{"keyword": "running shoes for flat feet", "seed": "running shoes", "source": "google", "query": "running shoes f", "modifier": "f", "rank": 1, "level": 1, "wordCount": 5, "country": "us", "language": "en"}
```

### Tip

Combine with **Google Trends Scraper - Reliable, Pay Only For Results** (same author) to see how interest in your best keywords changes over time.

### More tools from this author

- [Google Ads Transparency Scraper - every ad your competitors run](https://apify.com/coiled_magistrate/google-ads-transparency-fast)
- [Google Trends Scraper - interest over time, by region, related queries](https://apify.com/coiled_magistrate/google-trends-reliable)
- [Google Trends Trending Now - real-time trending searches for any country](https://apify.com/coiled_magistrate/google-trending-now)
- [Tech Stack Detector - Wappalyzer & BuiltWith alternative](https://apify.com/coiled_magistrate/tech-stack-detector)
- [Company Jobs Scraper - Workday, Greenhouse, Lever, Ashby & more](https://apify.com/coiled_magistrate/company-jobs-scraper)
- [YouTube Scraper - videos, channels, search results ($1/1K)](https://apify.com/coiled_magistrate/youtube-scraper-fast)
- [YouTube Transcript Scraper - subtitles for videos, channels, playlists](https://apify.com/coiled_magistrate/youtube-transcript-fast)
- [YouTube Shorts Scraper - search, hashtags, channels](https://apify.com/coiled_magistrate/youtube-shorts-fast)
- [YouTube Channel Scraper - subscribers, stats, links, latest videos](https://apify.com/coiled_magistrate/youtube-channel-fast)

# Actor input Schema

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

Keywords to expand into long-tail suggestions.

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

Autocomplete sources to query. Each source returns its own suggestions.

## `expansions` (type: `array`):

How to expand each seed: alphabet (seed a, seed b ... seed 9), questions (how seed, what seed ...), prepositions (seed for, seed vs ...).

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

1 = expand the seed. 2 = also query every found suggestion again (many more keywords).

## `maxKeywordsPerSeed` (type: `integer`):

Stop after this many unique keywords for each seed/source pair.

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

Two-letter country code, e.g. us, gb, de, cz. Amazon supports us, uk, de, fr, it, es, ca, jp, in, au.

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

Language code, e.g. en, de, cs, es.

## Actor input object example

```json
{
  "keywords": [
    "running shoes",
    "project management software"
  ],
  "sources": [
    "google"
  ],
  "expansions": [
    "alphabet"
  ],
  "depth": 1,
  "maxKeywordsPerSeed": 500,
  "country": "us",
  "language": "en"
}
```

# Actor output Schema

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

All keyword suggestions.

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

Compact 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": [
        "running shoes",
        "project management software"
    ]
};

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

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

```

## MCP server setup

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