# Google, YouTube & Amazon Keyword Autocomplete Scraper (MCP) (`cetus/google-youtube-amazon-keyword-scraper`) Actor

Bulk keyword research, autocomplete & buyer-intent question expander across Google, YouTube, Amazon, Bing & DuckDuckGo. Alphabet a-z & commercial prefix fanout ('best', 'vs', 'pricing'), Google relevance scores & intent classification in <2s ($1.50/1k in Rust 128 MB).

- **URL**: https://apify.com/cetus/google-youtube-amazon-keyword-scraper.md
- **Developed by:** [Cetus Lab](https://apify.com/cetus) (community)
- **Categories:** Lead generation, E-commerce, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 1,000 deduplicated multi-engine keywords

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/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

## Google, YouTube & Amazon Keyword Autocomplete Scraper (MCP)

Ultra-fast multi-engine keyword expander, buyer-intent classifier, and **Model Context Protocol (MCP)** server built in native Rust (`128 MB` RAM, sub-2-second fanout, **zero proxies or API keys required**).

Expand seed topics simultaneously across **Google**, **YouTube**, **Amazon**, **Bing**, and **DuckDuckGo** autocomplete APIs with commercial buyer-intent prefixes (`best`, `vs`, `alternative`, `pricing`, `how to`), question modifiers (`how`, `what`, `why`, `which`, `where`), and full `a–z` alphabet soup fanout.

***

### Key Capabilities

- **5 Real-Time Search & E-Commerce Engines in One Run**:
  - **Google Search** (`suggestqueries.google.com` Chrome JSON with integer `google:suggestrelevance` scores)
  - **YouTube Search** (`ds=yt` video autocomplete with Chrome relevance scores)
  - **Amazon Marketplace Autocomplete** (`US`, `GB`/`UK`, `DE`, `IT`, `FR`, `ES`, `CA`, `JP`)
  - **Bing OpenSearch** (`market={lang}-{country}`)
  - **DuckDuckGo Autocomplete** (`ac.duckduckgo.com`)
- **Cross-Engine Consensus Deduplication**: Automatically merges identical normalized keywords across engines into a single enriched record showing `foundInEngines`, `engineCount`, `rankBestPosition`, and maximum `googleRelevanceScore`.
- **Automated Search Intent Classification**: Categorizes every keyword into:
  - `transactional` (`pricing`, `buy`, `cost`, `discount`, `free trial`, `demo`, `for sale`)
  - `commercial_investigation` (`best`, `top`, `reviews`, `for small business`, `worth it`)
  - `comparison` (`vs`, `versus`, `alternative`, `alternatives`, `competitors`, `instead of`)
  - `question_informational` (`how`, `what`, `why`, `which`, `where`, `guide`, `tutorial`)
  - `navigational_general`
- **Deterministic Consensus Ranking**: Results are automatically sorted by `engineCount DESC`, `isBuyerIntent DESC`, and `googleRelevanceScore DESC` so the highest-intent multi-platform keywords always appear first.
- **Native Apify Standby MCP Server (`cetus-keyword-autocomplete-mcp`)**: Connect directly from Claude Desktop, Cursor, n8n, or Make over HTTP/SSE.

***

### Transparent Pay-Per-Event Pricing

| Event Name | Price per Keyword | Price per 1,000 Keywords | Proxy / Compute Surcharges |
| :--- | :--- | :--- | :--- |
| `keyword-scraped` | **$0.0015** | **$1.50 / 1,000** | **$0.00** proxies · runs on minimal **128 MB** container |

Billing follows strict `charge_only_on_success` semantics: events are charged only after validated records are written to the Dataset, and optional `maxTotalChargeUsd` caps are enforced with exact fixed-point arithmetic.

***

### Input Example

```json
{
  "seeds": ["crm software", "matcha tea"],
  "engines": ["google", "youtube", "amazon", "bing", "duckduckgo"],
  "expansionMode": "buyer_intent",
  "country": "US",
  "language": "en",
  "deduplicateAcrossEngines": true,
  "maxKeywords": 150,
  "concurrency": 16,
  "maxTotalChargeUsd": "0.50"
}
```

#### Expansion Modes (`expansionMode`)

1. `standard` — Queries exact base seeds only.
2. `buyer_intent` *(default)* — Queries base seed + `"best {seed}"`, `"{seed} vs"`, `"{seed} alternative"`, `"{seed} pricing"`, `"how to {seed}"`.
3. `questions` — Queries base seed + `"how to"`, `"how"`, `"what"`, `"why"`, `"which"`, `"where"`.
4. `alphabet_az` — Appends `"a"` through `"z"` (`27` queries per seed).
5. `full` — Combines `buyer_intent` modifiers + full `a..z` alphabet fanout (`32` queries per seed).

***

### Output Dataset Example

```json
{
  "seedKeyword": "crm software",
  "keyword": "crm software for small business",
  "wordCount": 5,
  "charLength": 31,
  "searchIntent": "commercial_investigation",
  "isBuyerIntent": true,
  "isQuestion": false,
  "foundInEngines": ["google", "youtube", "bing", "duckduckgo"],
  "engineCount": 4,
  "googleRelevanceScore": 1250,
  "rankBestPosition": 1,
  "country": "US",
  "language": "en",
  "expansionModifier": "base",
  "scrapedAtUnix": 1764800000
}
```

***

### Standby MCP Tools (`cetus-keyword-autocomplete-mcp`)

When invoked in Apify **Standby Mode**, this Actor exposes two MCP tools for AI SEO, content strategy, and PPC agents:

1. `expand_keywords_multi_engine` — Runs multi-engine autocomplete expansion (`standard`, `buyer_intent`, `questions`, `alphabet_az`, or `full`) with cross-engine deduplication and relevance scoring.
2. `find_buyer_intent_keywords` — Extracts and filters strictly for high-converting commercial, comparison, transactional, and optional buyer-question keywords.

# Actor input Schema

## `seeds` (type: `array`):

Base keywords, SaaS categories, or product niches to expand (API callers may also pass 'keywords' or 'queries', which are merged automatically).

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

Public autocomplete engines to query concurrently: 'google', 'youtube', 'amazon', 'bing', 'duckduckgo'.

## `expansionMode` (type: `string`):

Controls query modifier fanout per seed: 'buyer_intent' queries base seed + 'best {seed}', '{seed} vs', '{seed} alternative', '{seed} pricing', 'how to {seed}'; 'questions' adds how/what/why/which/where; 'alphabet_az' appends a..z; 'full' combines buyer_intent + a..z.

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

2-letter country code for geo-localized suggestions & Amazon marketplace routing (US, GB/UK, DE, IT, FR, ES, CA, JP).

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

2-letter language code for localized autocomplete suggestions (e.g. en, de, it, fr, es, ja).

## `deduplicateAcrossEngines` (type: `boolean`):

Merges identical normalized keywords discovered across multiple engines into one enriched record with foundInEngines, engineCount, best rank position, and max Google relevance score.

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

Maximum number of ranked keywords to return and bill in this run (1 to 5,000).

## `concurrency` (type: `integer`):

Maximum concurrent HTTP autocomplete requests (1 to 32).

## `maxTotalChargeUsd` (type: `string`):

Optional hard spending cap in USD for this run (e.g. '0.50'). Billing stops cleanly before exceeding this ceiling.

## Actor input object example

```json
{
  "seeds": [
    "crm software",
    "matcha tea"
  ],
  "engines": [
    "google",
    "youtube",
    "amazon",
    "bing"
  ],
  "expansionMode": "buyer_intent",
  "country": "US",
  "language": "en",
  "deduplicateAcrossEngines": true,
  "maxKeywords": 150,
  "concurrency": 16
}
```

# Actor output Schema

## `keywords` (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 = {
    "seeds": [
        "crm software",
        "matcha tea"
    ],
    "engines": [
        "google",
        "youtube",
        "amazon",
        "bing"
    ],
    "country": "US",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("cetus/google-youtube-amazon-keyword-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 = {
    "seeds": [
        "crm software",
        "matcha tea",
    ],
    "engines": [
        "google",
        "youtube",
        "amazon",
        "bing",
    ],
    "country": "US",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("cetus/google-youtube-amazon-keyword-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 '{
  "seeds": [
    "crm software",
    "matcha tea"
  ],
  "engines": [
    "google",
    "youtube",
    "amazon",
    "bing"
  ],
  "country": "US",
  "language": "en"
}' |
apify call cetus/google-youtube-amazon-keyword-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cetus/google-youtube-amazon-keyword-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/NS0RoQa1fSl6Y1otY/builds/UFOh441ZJ9gUKIHIu/openapi.json
