# Google, YouTube & Amazon Autocomplete Scraper (`opaque_ideal/google-autocomplete-keyword-scraper`) Actor

Fast bulk keyword autocomplete extractor across Google Search, YouTube, Amazon, and Bing Suggest APIs with A-Z & question modifiers, country/language localization, and deduplicated CSV/JSON output. Pay-Per-Event & MCP ready.

- **URL**: https://apify.com/opaque_ideal/google-autocomplete-keyword-scraper.md
- **Developed by:** [Naren Krishna.M](https://apify.com/opaque_ideal) (community)
- **Categories:** SEO tools, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 keywords suggested

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/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 Autocomplete Scraper

Fast, zero-proxy bulk keyword discovery across **Google Search**, **YouTube**, **Amazon**, and **Bing** autocomplete APIs — with automatic `A–Z` and question-word expansion, localization (`country` / `language`), and deduplicated dataset output.

### Why Use This Actor?

Instead of paying monthly SaaS fees for keyword tools or getting blocked scraping full SERPs, this Actor hits direct Suggest JSON endpoints over async HTTP on 256 MB RAM. Every run returns clean, ranked autocomplete keywords ready for SEO briefs, YouTube video ideas, Amazon product research, and AI content pipelines.

- **4 Platforms in One Run:** Google Search, YouTube Search, Amazon Marketplace, and Bing Suggest.
- **Built-In A–Z & Question Expansion:** Automatically expands seeds with `a–z` suffixes and question modifiers (`how`, `what`, `why`, `best`, `vs`, `near me`, `pricing`, `alternatives`).
- **Low Compute & Zero Greedy Start Fees:** Runs cleanly without residential proxies at `$0.00005` actor start + cheap per-keyword pricing.

### Data Extracted Per Keyword

- `platform` (`google`, `youtube`, `amazon`, `bing`)
- `seedKeyword`, `modifier` (`exact`, `+a`, `how+`, `+vs`, etc.), `querySent`
- `suggestion` (exact autocomplete phrase)
- `rankPosition`, `wordCount`, `isQuestion` boolean flag
- `country`, `language`, `scrapedAt`

### Use Cases

- **SEO & Content Marketing:** Generate hundreds of zero-guesswork long-tail blog titles and PAA questions.
- **YouTube Creators:** Mine exact autocomplete video topics people type into YouTube Search today.
- **Amazon FBA / E-commerce:** Discover real buyer search phrases on Amazon Marketplace (`us`, `uk`, `in`, `de`, `ca`, `au`).
- **n8n, Make & MCP AI Agents:** Pipe live search demand directly into LLM outline generators via `mcp.apify.com`.

### Pricing (Pay-Per-Event)

- **`keyword-suggested` ($0.0008 / unique keyword — ~50% lower on Gold tier):** Charged only for deduplicated suggestions pushed to the dataset.
- **`apify-actor-start` ($0.00005):** Minimal actor start event.

### Example Input

```json
{
  "keywords": ["ai automation"],
  "platforms": ["google", "youtube"],
  "expansionMode": "questions",
  "country": "us",
  "language": "en"
}
```

### Example Output JSON

```json
{
  "platform": "google",
  "seedKeyword": "ai automation",
  "modifier": "exact",
  "querySent": "ai automation",
  "suggestion": "ai automation agency",
  "rankPosition": 1,
  "wordCount": 3,
  "isQuestion": false,
  "country": "us",
  "language": "en"
}
```

### FAQ

**Does this work for India (`in`), UK (`gb`), Germany (`de`), etc.?**\
Yes — set `"country"` and `"language"` to any ISO 2-letter codes.

**How are duplicates handled across modifiers?**\
Suggestions are automatically deduplicated per `(platform, seedKeyword)` so you never pay twice for the same keyword.

### More Tools by `opaque_ideal`

- [Sitemap Extractor & Broken Link Checker](https://apify.com/opaque_ideal/sitemap-broken-link-seo-checker)
- [`llms.txt`, AI Readiness & SaaS Pricing Scraper](https://apify.com/opaque_ideal/ai-readiness-pricing-llms-auditor)
- [Apple App Store Scraper & Reviews API](https://apify.com/opaque_ideal/apple-app-store-reviews-scraper)
- [Podcast Directory, RSS & Host Email Scraper](https://apify.com/opaque_ideal/podcast-rss-host-email-scraper)

# Actor input Schema

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

List of seed search phrases to expand via autocomplete suggestions.

## `platforms` (type: `array`):

Choose which autocomplete APIs to query: google, youtube, amazon, bing.

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

Whether to query exact seeds only ('none'), append A-Z ('az'), prepend/append questions ('questions'), or both ('az_and_questions').

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

Two-letter country code for localized suggestions (e.g. us, gb, in, ca, au).

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

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

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

Number of concurrent autocomplete requests.

## Actor input object example

```json
{
  "keywords": [
    "ai automation"
  ],
  "platforms": [
    "google"
  ],
  "expansionMode": "none",
  "country": "us",
  "language": "en",
  "maxConcurrency": 8
}
```

# 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": [
        "ai automation"
    ],
    "platforms": [
        "google"
    ],
    "expansionMode": "none",
    "country": "us",
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("opaque_ideal/google-autocomplete-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 = {
    "keywords": ["ai automation"],
    "platforms": ["google"],
    "expansionMode": "none",
    "country": "us",
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("opaque_ideal/google-autocomplete-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 '{
  "keywords": [
    "ai automation"
  ],
  "platforms": [
    "google"
  ],
  "expansionMode": "none",
  "country": "us",
  "language": "en"
}' |
apify call opaque_ideal/google-autocomplete-keyword-scraper --silent --output-dataset

```

## MCP server setup

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