# Keyword Research: Google, YouTube, Bing, Amazon Autocomplete (`apt_squirrel/keyword-research-autocomplete`) Actor

Every autocomplete suggestion from Google, YouTube, Bing and Amazon for your seed keywords, expanded A-Z with questions, comparisons and buying words. One ranked list with demand score, intent and an AnswerThePublic-style questions report. Any country and language.

- **URL**: https://apify.com/apt_squirrel/keyword-research-autocomplete.md
- **Developed by:** [YDidkivskiy](https://apify.com/apt_squirrel) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.67 / 1,000 results

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 Research: Google, YouTube, Bing and Amazon Autocomplete

Give it a few seed keywords. It returns **every autocomplete suggestion** that Google, YouTube, Bing and Amazon show
for them. Each seed is expanded A–Z and 0–9, with question words, prepositions, comparisons and buying words. Everything
is merged into **one ranked list with a demand score**. You also get an AnswerThePublic-style report of questions,
comparisons and long-tail phrases.

No API key, no login, no browser. A seed with every expansion on and four engines takes well under a minute.

### Why autocomplete

Autocomplete is built from what people actually type, ranked by how often they type it. A suggestion that sits at
the top in several engines and comes up for several expansions is in real demand. This actor turns that into a score
you can sort by, for free and in any country and language. It does not give monthly volumes. Use it to find what to
write, film or sell, then check volumes for your shortlist in a paid tool if you need them.

### What you get for every keyword

| Field | Meaning |
|---|---|
| `keyword` | The suggestion, lowercased and normalized |
| `seed` | The seed it came from |
| `score` | Demand score. Higher position, more engines and more expansions mean a higher score |
| `rank` | Position in the final list |
| `sources` / `sourceCount` | Which engines suggest it: google, youtube, bing, amazon |
| `bestPosition` | Best position in any suggestion list (1 = top) |
| `appearances` | How many suggestion lists it appeared in |
| `modifiers` | Which expansions surfaced it, for example `alphabet:s`, `question:how`, `comparison:vs` |
| `intent` | transactional, commercial, informational, navigational or unclassified |
| `isQuestion` / `questionWord` | Questions people ask, and the question word |
| `wordCount` / `isLongTail` | Length, and whether it has 4+ words |
| `country` / `language` | The market you searched |

### The SUMMARY report

Saved in the key-value store as `SUMMARY`:

- **questions**: grouped by how, what, why, where, when, who, which, can, is, are, does, will and should
- **comparisons**: "x vs y" and "alternative to" phrases
- **longTail**: phrases with 4+ words
- **top50**: the highest-scoring keywords
- **byIntent** and **bySource**: counts
- **connectingWords**: how often vs, or, and, with, without, for and near appear

### Input

| Field | Default | Notes |
|---|---|---|
| `keywords` | required | Seed keywords, one per line |
| `sources` | all four | google, youtube, bing, amazon |
| `expansions` | all | alphabet (a–z, 0–9), questions, prepositions, comparisons, commercial (best, cheap, review, price…) |
| `country` | us | Two-letter code. Sets Google `gl`, the Bing market and the Amazon storefront (16 storefronts) |
| `language` | en | Two-letter code |
| `expandTopResults` | 0 | Also run the N best suggestions as seeds of their own, for a second level |
| `mustContain` / `excludeWords` | empty | Keep only keywords containing, or drop keywords containing, any of these words |
| `maxKeywords` | 2000 | Up to 20,000 |
| `onlyNew` / `monitorId` | off | Scheduled runs return only keywords that were not suggested before. Use them as new-trend alerts |

### Ideas

- **SEO and blogs**: questions and long-tail phrases to write about, in any language.
- **YouTube**: what people search on YouTube itself, which is not what they search on Google.
- **Amazon sellers**: what shoppers type in the Amazon search box, for listings and PPC.
- **Trend alerts**: run weekly with `onlyNew` and get the new suggestions only.

### Notes

Engines return up to 8–10 suggestions per query, so a seed with every expansion on gives roughly 300–1500 unique
keywords. Amazon sometimes corrects the spelling of the query before suggesting. Suggestions are personalized only by
country and language: no cookies or history are sent.

# Actor input Schema

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

One or more seed keywords. Each one is expanded and sent to every engine.

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

Which autocompletes to ask.

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

How each seed is expanded. The plain seed is always asked too.

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

Two-letter country code, for example us, gb, de, ua. Sets the Google country, the Bing market and the Amazon storefront.

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

Two-letter language code, for example en, de, uk.

## `expandTopResults` (type: `integer`):

Also ask the engines about the N best suggestions of each seed. 0 turns it off.

## `mustContain` (type: `array`):

Keep only keywords that contain any of these words.

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

Drop keywords that contain any of these words, for example brand names.

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

Keep the best N keywords by score.

## `onlyNew` (type: `boolean`):

Return only keywords that earlier runs of this same search have not returned. Schedule it weekly for alerts on new searches. The first run returns everything.

## `monitorId` (type: `string`):

Optional. Runs with the same name share one memory of what was already returned.

## Actor input object example

```json
{
  "keywords": [
    "best crm"
  ],
  "sources": [
    "google",
    "youtube",
    "bing",
    "amazon"
  ],
  "expansions": [
    "alphabet",
    "questions",
    "prepositions",
    "comparisons",
    "commercial"
  ],
  "country": "us",
  "language": "en",
  "expandTopResults": 0,
  "maxKeywords": 2000,
  "onlyNew": false
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

Questions by question word, comparisons, long tail, top 50 and intent split.

# 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": [
        "best crm"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_squirrel/keyword-research-autocomplete").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": ["best crm"] }

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

```

## MCP server setup

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

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/tPnCaH6IzxELGIO72/builds/Kwtb3Hz98odmSRxsa/openapi.json
