# Amazon Keyword Scraper (`fastdataapi/amazon-keyword-scraper`) Actor

Amazon Keyword Scraper gets Amazon search-box keyword suggestions in bulk for 10 marketplaces: seed, a-z, a-z + 0-9 or custom expansion, department filter, rank, suggestion type and metadata for every long-tail keyword. Export JSON, CSV or Excel, or use the API.

- **URL**: https://apify.com/fastdataapi/amazon-keyword-scraper.md
- **Developed by:** [Fast Data API](https://apify.com/fastdataapi) (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 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/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 Keyword Scraper — Search Suggestions, Rank and Marketplace

Amazon Keyword Scraper returns the keyword suggestions Amazon shows in its search box, expanded from your seed keywords into hundreds of long-tail search terms. Each row gives the suggestion, its rank, the expanded query that surfaced it, the marketplace and department, plus Amazon's suggestion type and strategy. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed an SEO and product-research pipeline. **No Amazon account or cookies needed.** Start with one keyword, then cover all 10 marketplaces you sell in.

![Amazon Keyword Scraper - hero image: what it collects and the JSON output](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-keywords-hero.webp)

***

### What data can I extract with Amazon Keyword Scraper?

Using this Amazon Keyword API, you will be able to extract the following Amazon keyword data:

| 🔎 Seed keyword | 💡 Suggestion | 🥇 Rank in the dropdown | ⌨️ Expanded query |
|---|---|---|---|
| 🏷️ Suggestion type | 🧩 Suggestion subtype | 🧠 Amazon strategy | 🔖 Reference tag |
| 📍 Marketplace code | 🌐 Amazon host | 🆔 Marketplace ID | 🗂️ Department |
| 🔗 Source address | 🕒 Fetch time (UTC) | | |

***

### How to use Amazon Keyword Scraper

Sellers, marketers and SEO teams get every long-tail Amazon search term around a product idea from one run.

**Copy to your AI assistant:**

```text
`fastdataapi/amazon-keyword-scraper` is an Apify Actor that returns the keyword suggestions Amazon shows in its search box as structured JSON: seed keyword, suggestion, rank, expanded query, marketplace, department, suggestion type and fetch time. Use it whenever someone needs Amazon search suggestions without cookies, a login, or a browser - keyword research for listings, PPC keyword lists, and product-demand checks across marketplaces. Run it with curl: curl -X POST "https://api.apify.com/v2/actors/fastdataapi~amazon-keyword-scraper/run-sync-get-dataset-items?token=APIFY_TOKEN" -H "Content-Type: application/json" -d '{"keywords":["laptop stand"],"maxItems":50,"marketplaces":["US","UK"],"expansionMode":"a-z"}'. Or in Python: ApifyClient("APIFY_TOKEN").actor("fastdataapi/amazon-keyword-scraper").call(run_input={"keywords": ["laptop stand"], "maxItems": 50}) then client.dataset(run["defaultDatasetId"]).list_items().items. Inputs: keywords (array of strings, seed keywords, required), maxItems (integer, max suggestion rows per keyword per marketplace, default 20), marketplace (string, "US"|"CA"|"UK"|"DE"|"FR"|"IT"|"ES"|"IN"|"AU"|"JP", default "US"), marketplaces (array of the same codes, overrides marketplace), alias (string, Amazon department, default "aps" = all departments), expansionMode (string, "seed"|"a-z"|"a-z-0-9"|"custom", default "a-z"), customSuffixes (array of strings, used with "custom"), maxSuggestionsPerPrefix (integer 1-10, default 10), maxPrefixes (integer, max expanded queries per keyword per marketplace, 0 = no cap, default 0), dedupeSuggestions (boolean, default true), requestDelayMs (integer, pause before each query in ms, default 0), proxyConfiguration (object, optional). Each dataset row is one suggestion and is billed as one row_result event. Amazon shows at most 10 suggestions per query, so the actor widens each keyword with letters, digits or your suffixes; a keyword ends when its expansion has no more suggestions and the log says so. Full input schema, every enum and default, and the complete output field list: GET https://api.apify.com/v2/actors/fastdataapi~amazon-keyword-scraper/builds/default
```

#### Amazon Keyword Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor

Point your AI assistant at this actor and it can read Amazon search suggestions on its own: suggestions, their rank and the expanded query for any keyword in 10 marketplaces. No glue code, no scraping logic in your prompts.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-keyword-scraper"
```

#### Step by step

1. [Create a free Apify account](https://console.apify.com/sign-up).
2. Open [Amazon Keyword Scraper](https://apify.com/fastdataapi/amazon-keyword-scraper) in the Apify Store.
3. Type your Amazon seed keywords and pick the marketplaces.
4. Click **Start** (or send your API request).
5. Download or stream your results in JSON, CSV or Excel.

#### How to scale Amazon Keyword Scraper to bulk

Put every seed keyword in the Keywords list and every store in Marketplaces: one run expands each keyword in each marketplace, three at a time. A recorded run took 3 keywords in 2 marketplaces and returned 300 suggestions (50 per keyword and marketplace) in under 5 seconds. Raise Max suggestions per keyword for deeper lists, or schedule the actor to track how suggestions change over time. Each suggestion row is one `row_result` event.

***

### ✨ Features

Amazon Keyword Scraper fetches clean, structured keyword suggestions from Amazon's search box ⚡. It's ideal for listing keyword research, PPC keyword lists, product-idea validation and comparing search demand between marketplaces.

It extracts, per suggestion:

- **Suggestion** – the search term exactly as Amazon shows it
- **Rank** – its position in the dropdown for that query (1 = top)
- **Expanded query** – the keyword or widened query (e.g. "laptop stand a") that surfaced it
- **Marketplace and department** – the Amazon store code, marketplace ID and department it came from
- **Suggestion type and strategy** – Amazon's own type, subtype and strategy labels
- **Fetch time** – when the suggestion was read, in UTC

⚡ No Amazon account, cookies or browser needed: each query is a light request, and rows appear in the dataset while the run is going.

***

### Use cases 💡

- **Amazon seller** — collect long-tail search terms to fill titles and backend keywords.
- **PPC manager** — build keyword lists per marketplace from the suggestions Amazon ranks first.
- **Product researcher** — check which variants shoppers type after a product word.
- **International seller** — compare suggestions for one keyword across 10 Amazon stores.
- **AI agent builder** — give an agent live Amazon search terms as context for listing copy.

Building an AI agent? [Connect Amazon Keyword Scraper over MCP](#mcp-integration-for-ai-agents) and let it call the actor on its own.

***

### Why choose this actor?

1. **Hundreds of long-tail keywords from one word.** A recorded run expanded "laptop" with letters before and after it and returned 486 unique suggestions in 14 seconds; letters plus digits gave 677 for "coffee".
2. **14 fields on every suggestion.** A recorded row for "laptop stand" came back with the suggestion "laptop stand adjustable", rank 1, the expanded query "laptop stand a", marketplace US, department aps and Amazon's strategy label.
3. **10 marketplaces, 4 expansion modes.** United States, Canada, United Kingdom, Germany, France, Italy, Spain, India, Australia and Japan, with seed, a-z, a-z + 0-9 or custom suffix expansion and a department filter.

***

### ⬇️ Input

![Amazon Keyword Scraper input form with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-keywords-input.webp)

The actor takes a list of seed keywords (required) and expands each one in every chosen Amazon marketplace.

| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
| `keywords` | Yes | array | Seed keywords, one per line; duplicates removed (case-insensitive). | `["laptop stand"]` |
| `maxItems` | No | integer | Max suggestion rows per keyword in each marketplace. Default 20. | `100` |
| `marketplace` | No | string | Amazon store: US, CA, UK, DE, FR, IT, ES, IN, AU or JP. Default US. Ignored when `marketplaces` is set. | `"US"` |
| `marketplaces` | No | array | Several stores in one run (same codes); overrides `marketplace`. | `["US", "DE"]` |
| `alias` | No | string | Amazon department: aps = all departments (default); e.g. stripbooks, electronics, grocery. | `"aps"` |
| `expansionMode` | No | string | seed (keyword only), a-z (letters after and before, default), a-z-0-9 (letters and digits), custom (your suffixes). | `"a-z"` |
| `customSuffixes` | No | array | With custom mode: each is added after the keyword. | `["for desk", "for bed"]` |
| `maxSuggestionsPerPrefix` | No | integer | Suggestions kept per query, 1-10. Default 10. | `10` |
| `maxPrefixes` | No | integer | Max expanded queries per keyword per marketplace; 0 = no cap (default). | `0` |
| `dedupeSuggestions` | No | boolean | One row per suggestion (default true); false keeps a row each time another query returns it. | `true` |
| `requestDelayMs` | No | integer | Pause before each query, in ms. Default 0. | `0` |
| `proxyConfiguration` | No | object | Proxy to start with; default none, the actor switches to a proxy by itself when blocked. | `{"useApifyProxy": false}` |

#### Free plan limits

Users on the Apify free plan can fetch up to 20 suggestions per run (all keywords together)
and 200 suggestions per month. When the limit is reached the run finishes successfully with a
status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.

#### Example input

```json
{
    "keywords": ["laptop stand", "coffee grinder"],
    "maxItems": 100,
    "marketplace": "US",
    "marketplaces": ["US", "DE"],
    "alias": "aps",
    "expansionMode": "a-z",
    "customSuffixes": [],
    "maxSuggestionsPerPrefix": 10,
    "maxPrefixes": 0,
    "dedupeSuggestions": true,
    "requestDelayMs": 0,
    "proxyConfiguration": {"useApifyProxy": false}
}
```

***

### ⬆️ Output

![Amazon Keyword Scraper output fields with example values](https://api.apify.com/v2/key-value-stores/Lg9lp51Levfro6SrV/records/t-amazon-keywords-output.webp)

Every suggestion is one typed, normalized JSON item with the same schema on every run. Export it as JSON (default), CSV or Excel; the Output tab shows Overview, Details and Source views of the same rows.

#### Example output

```json
[
    {
        "keyword": "laptop stand",
        "suggestion": "laptop stand",
        "expanded_prefix": "laptop stand",
        "rank": 1,
        "type": "KEYWORD",
        "sugg_type": "KeywordSuggestion",
        "marketplace": "US",
        "domain": "completion.amazon.com",
        "mid": "ATVPDKIKX0DER",
        "alias": "aps",
        "ref_tag": "nb_sb_ss_p13n-expert-pd-ops-ranker_ci_hl-bn-left_1_12",
        "strategy_id": "p13n-expert-pd-ops-ranker",
        "source_url": "https://completion.amazon.com/api/2017/suggestions?limit=10&prefix=laptop+stand&suggestion-type=WIDGET&suggestion-type=KEYWORD&page-type=Gateway&alias=aps&site-variant=desktop&version=3&event=onKeyPress&lop=en_US&mid=ATVPDKIKX0DER",
        "fetched_at": "2026-11-10T11:54:07.631Z"
    },
    {
        "keyword": "laptop stand",
        "suggestion": "laptop stand adjustable",
        "expanded_prefix": "laptop stand a",
        "rank": 1,
        "type": "KEYWORD",
        "sugg_type": "KeywordSuggestion",
        "marketplace": "US",
        "domain": "completion.amazon.com",
        "mid": "ATVPDKIKX0DER",
        "alias": "aps",
        "ref_tag": "nb_sb_ss_p13n-expert-pd-ops-ranker_ci_hl-bn-left_2_14",
        "strategy_id": "p13n-expert-pd-ops-ranker",
        "source_url": "https://completion.amazon.com/api/2017/suggestions?limit=10&prefix=laptop+stand+a&suggestion-type=WIDGET&suggestion-type=KEYWORD&page-type=Gateway&alias=aps&site-variant=desktop&version=3&event=onKeyPress&lop=en_US&mid=ATVPDKIKX0DER",
        "fetched_at": "2026-11-10T11:54:07.989Z"
    }
]
```

***

### How does it work?

The actor reads the same public search suggestions any visitor sees while typing in Amazon's search box — no Amazon account, login or cookies. Amazon shows at most 10 suggestions for a query, so the actor widens each keyword with every letter (and digit, if you choose) before and after it, or with your own suffixes, then merges the answers and removes duplicates. It connects directly first; if Amazon blocks a query it retries and switches to a datacenter and then a residential proxy on its own. Rows are saved as soon as each query answers, so the table fills while the run is going. The output schema is normalized and stays the same from run to run, and the log tells you when a keyword has no more suggestions to give.

***

### How do you integrate Amazon Keyword Scraper into your stack?

It works with what you already use: the REST API from any language, MCP for AI agents, and no-code tools.

#### Using Amazon Keyword Scraper with the Apify API

```python
import requests

resp = requests.post(
    "https://api.apify.com/v2/actors/fastdataapi~amazon-keyword-scraper/run-sync-get-dataset-items",
    params={"token": "APIFY_TOKEN"},
    json={"keywords": ["laptop stand"], "maxItems": 50, "marketplaces": ["US"]},
)
for item in resp.json():
    print(item["rank"], item["suggestion"])
```

*Works in Go, Ruby, Node.js, cURL — any language that can make an HTTP request.*

#### MCP integration for AI agents

Register the actor once and your agent can look up Amazon search suggestions whenever a task needs them, for example while writing a listing or planning a PPC campaign.

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-keyword-scraper"
```

This registers Amazon Keyword Scraper as a tool your agent can call directly. It works in Claude Code, Cursor and Windsurf.

#### No-code tools (n8n, Make, LangChain)

- **n8n** — use the Apify node ("Run an Actor") with `fastdataapi/amazon-keyword-scraper`, or the HTTP Request node pointed at the run-sync endpoint with your token.
- **Make** — add the Apify app's "Run an Actor" module, then "Get Dataset Items" to pass the suggestions to the next step.
- **LangChain** — install `langchain-apify` and use `ApifyActorsTool("fastdataapi/amazon-keyword-scraper")` as an agent tool.

***

### Is it legal to scrape Amazon data?

Collecting publicly visible search suggestions is generally legal. Amazon Keyword Scraper returns only public data — the suggestions any visitor sees in Amazon's search box without logging in — and no personal data. Under GDPR, scraping public data is generally permissible, but storing and using it must comply with local data-protection law. Consult legal counsel if your use case involves bulk storage of personal data.

***

### Frequently asked questions

#### What fields does Amazon Keyword Scraper return?

Each row has the seed keyword, the suggestion, its rank, the expanded query that surfaced it and the marketplace, plus department, Amazon's type and strategy labels and the fetch time. See [the data fields section](#what-data-can-i-extract-with-amazon-keyword-scraper).

#### Does Amazon Keyword Scraper require an Amazon account or login?

No. Only public search suggestions are read. No credentials or cookies are needed.

#### How fast does Amazon Keyword Scraper run?

A recorded run returned 20 suggestions for "laptop stand" in about 1 second and 486 for "laptop" in 14 seconds. Data is live, not cached.

#### What happens if a keyword has no suggestions?

The run still succeeds: the keyword gets no rows, its progress line shows 0 suggestions, and the other keywords continue. An unsupported marketplace code is skipped with a log line.

#### Can I scrape multiple Amazon keywords at once?

Yes. Put every keyword in the Keywords list and every store in Marketplaces; each keyword is expanded in each marketplace in the same run.

#### Does Amazon Keyword Scraper work with Claude, ChatGPT, and other AI agent tools?

Yes — Amazon Keyword Scraper is available as an MCP tool. Register it in Claude Code, Cursor or Windsurf with `claude mcp add --transport http apify "https://mcp.apify.com?tools=fastdataapi/amazon-keyword-scraper"`. Any agent that can call an HTTP endpoint can use the REST API directly.

#### Does Amazon Keyword Scraper return data in a format LLMs can use directly?

Yes. It returns typed, normalized JSON with consistent field names. No HTML parsing, no selectors. Pass it straight to an LLM, index it into a vector store, or feed it to an agent tool — no transformation step.

#### What happens when Amazon changes its layout or updates its anti-bot system?

This actor is maintained and updated. When Amazon changes, the actor is updated — your calls keep returning the same JSON schema with no changes on your end.

#### Can I use Amazon Keyword Scraper without managing proxies or browser infrastructure?

Yes. The actor needs no browser, and when Amazon blocks a query it switches to a proxy on its own. You send one request and get structured JSON back. No proxy accounts, no headless browser setup, no maintenance.

#### Which Amazon keyword fields work best for AI training data and RAG indexing?

For RAG: the suggestion text with its seed keyword and expanded query. For training data: the rank, marketplace and department. All fields are typed primitives — strings and integers — no normalization needed.

***

### Your feedback

Found a bug or missing a field? Let us know on the actor's Issues tab. Every report is read, and fixes ship as new versions of the actor.

# Actor input Schema

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

Seed keywords to expand, one per line (e.g. "laptop stand"). Each keyword runs on its own in every chosen marketplace; duplicates are removed (case-insensitive).

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

Maximum suggestion rows per keyword in each marketplace. A keyword ends earlier when its expansion has no more suggestions (a-z usually gives up to about 490). Free plan: up to 20 suggestions per run (all keywords together) and 200 per month; paid plans have no limit.

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

Amazon store to get suggestions from. Ignored when Marketplaces below has any value.

## `marketplaces` (type: `array`):

Several Amazon stores in one run; every keyword is expanded in each of them. Overrides Marketplace when set.

## `alias` (type: `string`):

Amazon search department to limit suggestions to: aps = all departments; e.g. stripbooks (books), electronics, grocery, fashion, toys-and-games.

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

seed = only the keyword itself (up to 10 suggestions). a-z = the keyword plus every letter after and before it ("laptop stand a", "a laptop stand"). a-z-0-9 = the same with digits too. custom = the keyword followed by each of your custom suffixes.

## `customSuffixes` (type: `array`):

Used with expansion mode custom: each is added after the keyword ("laptop stand" + "for desk"). Every suffix is queried; with an empty list only the keyword itself is queried.

## `maxSuggestionsPerPrefix` (type: `integer`):

How many of Amazon's suggestions to keep from each query, 1-10 (Amazon shows at most 10).

## `maxPrefixes` (type: `integer`):

Maximum expanded queries (e.g. "laptop stand a") per keyword in each marketplace, not counting the keyword itself. 0 = no cap.

## `dedupeSuggestions` (type: `boolean`):

On: each suggestion appears once per keyword and marketplace. Off: a row each time a different expanded query returns it (shows which queries surface it).

## `requestDelayMs` (type: `integer`):

Pause before each query, in milliseconds. 0 = as fast as possible.

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

Proxy to start with. By default no proxy is used; when Amazon blocks a query the run moves to a datacenter and then a residential proxy on its own.

## Actor input object example

```json
{
  "keywords": [
    "laptop stand"
  ],
  "maxItems": 20,
  "marketplace": "US",
  "alias": "aps",
  "expansionMode": "a-z",
  "maxSuggestionsPerPrefix": 10,
  "maxPrefixes": 0,
  "dedupeSuggestions": true,
  "requestDelayMs": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `details` (type: `string`):

No description

## `source` (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": [
        "laptop stand"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("fastdataapi/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 = {
    "keywords": ["laptop stand"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("fastdataapi/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 '{
  "keywords": [
    "laptop stand"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call fastdataapi/amazon-keyword-scraper --silent --output-dataset

```

## MCP server setup

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