# Amazon Autocomplete Keyword Scraper (`coder_zoro/amazon-autocomplete-keyword-scraper`) Actor

This Actor collects public search autocomplete suggestions from Amazon based on seed keywords. It extracts suggested search phrases, seed terms, marketplace regions, and ranking positions to support e-commerce keyword research, product listing optimization, PPC planning, and trend analysis.

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

## Pricing

from $2.99 / 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

### Amazon Autocomplete Keyword Scraper — Amazon Search Suggestions and Keyword Research

![Amazon Autocomplete Keyword Scraper cover](https://images.bigibyte.com/cdn-cgi/image/width=1260,height=540,fit=cover,format=webp/apify-actors-covers/amazon-autocomplete-keyword-scraper-cover.png)

### Overview

Collect Amazon autocomplete search suggestions for product research and keyword discovery. Enter seed keywords, select an Amazon marketplace, choose a collection mode, and save structured keyword data to an Apify dataset.

The Actor provides suggested queries, their positions, marketplace information, and additional keyword analysis to help organize short-tail and long-tail keyword ideas.

### Features

- Collect autocomplete suggestions for multiple seed keywords.
- Select an Amazon marketplace, including US and UK.
- Choose standard keyword suggestions or alphabet expansion.
- Expand searches using letters and digits.
- Set a maximum number of collected items.
- Analyze keyword length, word count, and structure.
- Identify seed keyword matches and search intent signals.
- Detect question keywords, numbers, hyphens, and brand separators.
- Automatically organize results into structured dataset records.
- Export results in JSON, CSV, Excel, and other supported Apify dataset formats.
- Schedule recurring runs to refresh keyword research.

### Collection Modes

#### Keyword Suggestions

Collects autocomplete suggestions for each supplied seed keyword until the configured item limit is reached.

#### Alphabet Expansion

Expands each seed keyword using letters from `a` to `z` and digits from `0` to `9` to discover additional keyword variations.

#### Expand Alphabet Toggle

When enabled in keyword suggestions mode, adds alphabet-based queries to the standard seed keyword searches.

### Input Parameters

| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| `mode` | String | Yes | `suggest` | Collection mode: `suggest` or the supported alphabet expansion mode. |
| `keywords` | Array | Yes | — | Seed keywords to search for. |
| `marketplace` | String | No | `US` | Amazon marketplace to collect suggestions from, such as `US` or `UK`. |
| `maxItems` | Integer | No | `50` | Maximum number of results to collect. |
| `requestDelaySecs` | Number | No | `1` | Delay between collection requests, in seconds. |
| Expand Alphabet | Boolean | No | — | Adds alphabet-based queries when using keyword suggestions mode. |

### Example Input

```json
{
    "mode": "suggest",
    "keywords": [
        "python"
    ],
    "marketplace": "US",
    "maxItems": 50,
    "requestDelaySecs": 1
}
```

### Extracted Data

Each dataset record includes the original suggestion, query metadata, Amazon suggestion metadata, and keyword analysis.

| Category | Fields |
|---|---|
| Core | `seed`, `suggestion`, `position` |
| Query metadata | `query_used`, `query_type`, `expansion_suffix`, `marketplace` |
| Amazon metadata | `suggestion_type`, `sugg_type` |
| Keyword metrics | `keyword_length`, `keyword_length_no_spaces`, `word_count`, `unique_word_count`, `average_word_length` |
| Keyword structure | `first_word`, `last_word`, `keyword_type` |
| Seed analysis | `contains_seed`, `seed_match_type`, `starts_with_seed`, `ends_with_seed`, `contains_seed_as_first_word` |
| Intent analysis | `search_intent`, `intent_signal`, `commercial_modifiers` |
| Question analysis | `question_keyword`, `question_type` |
| Other analysis | `has_number`, `has_special_character`, `is_uppercase`, `is_lowercase`, `contains_hyphen`, `contains_brand_separator` |
| Timestamp | `scraped_at` |

### Example Output

```json
{
    "seed": "python",
    "suggestion": "python",
    "position": 2,
    "query_used": "python",
    "query_type": "suggest",
    "expansion_suffix": "",
    "marketplace": "US",
    "suggestion_type": null,
    "sugg_type": null,
    "keyword_length": 6,
    "keyword_length_no_spaces": 6,
    "word_count": 1,
    "unique_word_count": 1,
    "average_word_length": 6,
    "first_word": "python",
    "last_word": "python",
    "keyword_type": null,
    "contains_seed": true,
    "seed_match_type": null,
    "starts_with_seed": true,
    "ends_with_seed": true,
    "contains_seed_as_first_word": true,
    "search_intent": null,
    "intent_signal": null,
    "commercial_modifiers": [],
    "question_keyword": false,
    "question_type": null,
    "has_number": false,
    "has_special_character": false,
    "is_uppercase": false,
    "is_lowercase": true,
    "contains_hyphen": false,
    "contains_brand_separator": false,
    "scraped_at": "2026-10-26T00:00:00+00:00"
}
```

*The example illustrates the dataset structure. Analysis values and Amazon suggestion metadata depend on the collected suggestion.*

### Use Cases

- **Product research:** Discover autocomplete phrases related to products and shopping searches.
- **Long-tail keyword research:** Expand seed keywords across letters and digits to find more specific search phrases.
- **Marketplace comparison:** Research the same keywords across different Amazon marketplaces.
- **ASIN and product niche research:** Explore keyword ideas related to product categories and shopping interests.
- **Search intent analysis:** Organize suggestions using estimated intent and commercial signals.
- **Scheduled keyword monitoring:** Refresh keyword datasets regularly using Apify schedules.

### Working with Your Dataset

After the Actor finishes:

1. Open the Actor's **Dataset** tab.
2. Review the collected suggestions and keyword analysis fields.
3. Export the dataset in JSON, CSV, Excel, or another supported format.

### FAQ

#### Who is this Actor for?

It is designed for product researchers, marketers, SEO specialists, and developers who need structured Amazon autocomplete keyword data.

#### Can I collect keywords from multiple marketplaces?

Yes. Select a supported marketplace using the `marketplace` input.

#### What is the difference between keyword suggestions and alphabet expansion?

Keyword suggestions collects suggestions for the supplied seed keywords. Alphabet expansion also explores additional queries using letters and digits to discover more variations.

#### Can I run the Actor on a schedule?

Yes. Use Apify schedules to run the Actor at your preferred interval and refresh your keyword dataset.

### Is Web Scraping Legal?

Collecting information that is already public is generally legal. There is no single law that bans all forms of web scraping. The limits are the usual ones: do not break into accounts, do not take private or confidential data, and be careful with personal data and copyrighted works. A site's terms can also restrict how you access it. Facts such as a public name, price, or rating are not the same as republishing someone's article or photo.

This actor collects information from public pages. It does not log in and it does not bypass access controls.

For a longer explanation, see Apify's article [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/).

# Actor input Schema

## `mode` (type: `string`):

Expand mode queries the original keyword, a-z, and 0-9 prefixes.

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

Enter one or more seed keywords.

## `expandAlphabet` (type: `boolean`):

In suggest mode, also query seed a through seed z. Expand mode already includes alphabet and number expansion.

## `marketplace` (type: `string`):

Select the Amazon marketplace.

## `maxItems` (type: `integer`):

Maximum number of unique successful keyword suggestions.

## `requestDelaySecs` (type: `number`):

Seconds to wait between requests.

## `userAgent` (type: `string`):

User-Agent header sent with each request.

## `timeoutSecs` (type: `integer`):

Overall run time budget in seconds.

## `requestTimeoutSecs` (type: `integer`):

Maximum time allowed for an individual request.

## `proxyConfiguration` (type: `object`):

Optional Apify Proxy configuration. Leave disabled unless needed.

## Actor input object example

```json
{
  "mode": "expand",
  "keywords": [
    "python"
  ],
  "expandAlphabet": false,
  "marketplace": "US",
  "maxItems": 100,
  "requestDelaySecs": 1,
  "userAgent": "ActorResearch/1.0",
  "timeoutSecs": 300,
  "requestTimeoutSecs": 30,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Dataset rows in the overview table.

## `dataset` (type: `string`):

Full dataset for this run.

## `items` (type: `string`):

Dataset items as JSON.

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

// Run the Actor and wait for it to finish
const run = await client.actor("coder_zoro/amazon-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": ["python"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coder_zoro/amazon-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/EiAchju6DO2dWimMI/builds/5ZX9O5q8x3PRzmFEE/openapi.json
