# Amazon Keyword Suggestions Scraper - Autocomplete, Long Tail (`ai-lead-gen-tools/amazon-keywords`) Actor

\[💰$0.05/1K] Amazon keyword suggestions scraper for Amazon SEO and PPC: expand one seed keyword into long-tail autocomplete phrases on 11 marketplaces. Returns phrase, seed, prefix, position, prefixCount, score and request URL. No proxy, no API key, no login.

- **URL**: https://apify.com/ai-lead-gen-tools/amazon-keywords.md
- **Developed by:** [Vladimir Che](https://apify.com/ai-lead-gen-tools) (community)
- **Categories:** E-commerce, Marketing, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.05 / 1,000 suggestion-scrapeds

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 Keyword Suggestions Scraper - Autocomplete, Long Tail

This actor reads the keyword suggestions that Amazon shows in its own search bar and turns one seed phrase into the long tail around it. Type `usb cable` and you get back the phrases shoppers actually type next, `usb cable tester`, `usb cable organizer`, `usb cable 10 ft`, instead of a list you have to invent yourself. Expansion runs the seed and then the seed plus every letter, which is how a single keyword produces a couple of hundred rows when one request answers with at most ten.

Use it for Amazon SEO and PPC work: backend search terms, listing titles, bullet points, and long-tail exact or phrase match keywords for Sponsored Products campaigns. Every row keeps the phrase, the seed it came from, the prefix that returned it, its position in the answer, how many prefixes returned it, a relative score, the marketplace and the request URL, so any keyword list can be traced back to the request that produced it. Eleven storefronts are supported, the endpoint is public, and nothing here needs a login, an API key or a browser.

### What you get

One row per unique phrase for the whole run. A phrase that several prefixes return appears once, with a count of how many prefixes returned it.

| Group | Fields |
|---|---|
| Phrase | `value`, `seed`, `prefix`, `position` |
| Amazon metadata | `refTag`, `candidateSources`, `strategyId` |
| Popularity signal | `prefixCount`, `allPrefixes`, `score` |
| Context | `marketplace`, `alias`, `marketplaceDomain`, `requestUrl` |
| Meta | `status`, `reason`, `scrapedAt` |

A real row from a run on the US storefront, seed `usb cable`, mode `a-z`:

```json
{
  "value": "usb cable tester",
  "seed": "usb cable",
  "prefix": "usb cable",
  "position": 3,
  "refTag": "nb_sb_ss_i_3_9",
  "candidateSources": "local",
  "strategyId": "organic",
  "prefixCount": 2,
  "allPrefixes": ["usb cable", "usb cable t"],
  "score": 1,
  "marketplace": "US",
  "alias": "aps",
  "marketplaceDomain": "amazon.com",
  "requestUrl": "https://completion.amazon.com/api/2017/suggestions?mid=ATVPDKIKX0DER&alias=aps&prefix=usb+cable",
  "scrapedAt": "2026-11-16T11:15:22.739Z",
  "status": "ok",
  "reason": null
}
```

Missing values are `null`, never an empty string, so a null `score` means the run had deduplication turned off rather than a broken row.

### How to use it

1. Put the starting phrases into `seeds`. One seed with `a-z` expansion returns 240 to 250 unique phrases; the same seed queried alone returns 10.
2. Pick `marketplace`. Every storefront answers separately, so a seed popular in Germany returns little on amazon.com.
3. Leave `expansionMode` at `a-z` unless you know you want a narrower cut.
4. Leave `alias` at `aps`. It is the whole store and it is what Amazon itself uses on its own search bar.
5. Run it. Read `SUMMARY` in the key-value store for `requests`, `emptyResponses`, `failedRequests`, `rowsCollected` and `budgetExhausted`.

A minimal input:

```json
{
  "seeds": ["usb cable", "laptop stand"],
  "marketplace": "US",
  "expansionMode": "a-z",
  "dedupeSuggestions": true,
  "requestDelayMs": 100
}
```

Every input field, with what it does:

| Field | What it does |
|---|---|
| `seeds` | Seed phrases to expand. Each seed is queried on its own, so rows from two seeds never mix and `score` is computed per seed. |
| `marketplace` | Storefront to query, one of US, UK, DE, FR, IT, ES, CA, MX, BR, JP, AU. The code picks both the host and the marketplace id. |
| `alias` | Department slice such as `aps`, `electronics`, `stripbooks`. A wrong alias narrows the answer to one suggestion instead of failing. |
| `expansionMode` | How far to expand: `seed`, `a-z`, `a-z-0-9` or `custom`. |
| `customSuffixes` | Your own suffixes, appended as a space plus the suffix. Used only when the mode is `custom`. |
| `maxPrefixes` | Hard cap on requests per seed, counted after expansion. Set 0 for no cap. |
| `maxSuggestionsPerPrefix` | Cap on rows taken from one response. Amazon returns at most ten. |
| `dedupeSuggestions` | On by default: one row per phrase with the number of prefixes that returned it. Off: one row per phrase and prefix pair, and `score` becomes null. |
| `requestDelayMs` | Pause in milliseconds before each request. Politeness, not a rate limit. |
| `requestTimeoutSecs` | Timeout of one HTTP request. |
| `runBudgetSecs` | Soft time budget for the whole run. The run stops before the platform timeout, keeps the rows it has and reports `budgetExhausted`. |

### Modes

| Mode | Requests per seed | What it does |
|---|---|---|
| `seed` | 1 | Queries the seed exactly as typed. |
| `a-z` | 27 | The seed, then the seed plus each letter. |
| `a-z-0-9` | 37 | The seed, then the seed plus each letter and digit. |
| `custom` | 1 + suffixes | The seed, then the seed plus each suffix you listed. |

One response carries at most ten suggestions, so expansion is the only way to get past ten phrases per seed. A measured run on `usb cable` in `a-z` mode sent 27 requests, got one empty response back and kept 235 unique phrases.

#### Ready-made tasks

| Task | Input | What it answers |
|---|---|---|
| [Amazon Keyword Suggestions: Long Tail for One Seed](https://apify.com/ai-lead-gen-tools/amazon-keywords/examples/amazon-keyword-suggestions) | `seeds`, `expansionMode: a-z`, `marketplace` | the whole long tail around one seed, 235 phrases in a measured run |
| [Amazon Autocomplete Keywords: Top Suggestions](https://apify.com/ai-lead-gen-tools/amazon-keywords/examples/amazon-autocomplete-keywords) | `seeds`, `expansionMode: seed` | the ten phrases Amazon shows first, one request per seed |
| [Amazon SEO Keywords: Backend Search Terms Long Tail](https://apify.com/ai-lead-gen-tools/amazon-keywords/examples/amazon-seo-keywords) | `seeds`, `expansionMode: a-z-0-9` | letters and digits too, for listing titles and backend search terms |
| [Amazon Keyword Tool Germany: amazon.de Long Tail](https://apify.com/ai-lead-gen-tools/amazon-keywords/examples/amazon-keyword-tool-germany) | `seeds`, `marketplace: DE` | what German shoppers see, separate from the amazon.com answer |
| [Amazon PPC Keywords: Buyer Modifiers for Sponsored Products](https://apify.com/ai-lead-gen-tools/amazon-keywords/examples/amazon-ppc-keywords) | `seeds`, `expansionMode: custom`, `customSuffixes` | only the phrases your own modifiers return, ready for campaigns |

### Use cases

- Amazon listing and PPC research - turn one product word into the two hundred phrases Amazon puts in front of shoppers, then check which of them you already cover in your listing title and backend keywords.
- Keyword gap analysis - run your own seed and a competitor's seed on the same storefront and compare `prefixCount` to see which phrases Amazon associates with both.
- Storefront comparison - the same seed on US, DE and JP shows which phrases are local to a marketplace instead of guessing from translation.
- Autocomplete monitoring - keep a weekly snapshot of `value` per seed and see which new phrases Amazon started suggesting, before the search volume tools catch up.

### Cost

**$0.05 per 1 000 rows** on the highest volume tier, $0.06 on silver and $0.07 on bronze. The Store adds a 20 percent Apify margin on top, and the buyer sees that margin in the invoice, not in this number.

You pay per row the actor pushed into the default dataset:

- `suggestion-scraped` - one phrase with a non-empty value.
- `apify-actor-start` - once per run. The first five seconds of compute are not billed.

Nothing else is charged. A seed that returned nothing writes a `no-results` row with a null value, and a failed request writes a `fetch-failed` row with the error in `reason`. Neither of those is charged, so a wrong seed costs you the compute but not a row. An empty response on an odd prefix is normal Amazon behaviour and is not a failure: `SUMMARY` keeps `emptyResponses` and `failedRequests` apart for that reason.

### Honest limits

- Amazon's completion endpoint does not expose search volume at any point. This actor does not invent one. `prefixCount` is breadth of appearance in autocomplete, nothing more.
- `score` is derived, not read: it is `prefixCount` divided by the highest `prefixCount` inside the same seed, so it runs from 0 to 1 within one seed and seeds are not comparable to each other by it.
- Amazon returns at most ten suggestions per prefix. There is no paging and no deeper request that returns more.
- The endpoint answers per storefront. A phrase that is common on amazon.com can return zero suggestions on amazon.de, and that is a property of the source, not an error in the run.
- No search volume, no reverse ASIN, no rank tracking and no product data. Those need Amazon search and product pages, which is a different actor.
- Each row is a snapshot at `scrapedAt`. Autocomplete changes, and the same prefix a month later can return a different list.

### FAQ

**Do I need a proxy or an Amazon account?**
No. The completion endpoint answers plain HTTP with no cookies, no API key and no login, and the actor sends the requests itself.

**Why did my seed return fewer phrases than another seed in the same run?**
Because Amazon has fewer suggestions for it. The number of rows follows the popularity of the phrase on that storefront, not the size of the input.

**Why is `score` null on some runs?**
Because `dedupeSuggestions` was off. Without deduplication a row belongs to one prefix, so a relative count across prefixes would mislead. Turn deduplication on to get `score`.

**Can I go past ten phrases for one prefix?**
No. Ten is what the endpoint returns. Expansion is the way around it, because a longer prefix is a different request with its own ten.

**Is one request per prefix, or can it be batched?**
One request per prefix, sent one at a time with `requestDelayMs` between them. In testing the endpoint answered 180 back-to-back requests without a single failure.

**What happens if the run hits its time limit?**
It stops taking new prefixes, keeps the rows already collected and sets `budgetExhausted` to true in `SUMMARY`. The rows it kept are charged, because they are real rows.

**Does `alias` change the language of the suggestions?**
No. It changes the department the suggestions come from. The language follows `marketplace`, and a phrase written in the language of that storefront works best.

**Can I get the same phrase twice from two different seeds?**
Yes, and you should expect it. Deduplication is per seed, so `usb cable tester` can appear under the seed `usb cable` and again under `usb cable test`, with its own `score` in each.

### Related actors

- [Tokopedia Scraper](/tokopedia-scraper) - product listings, prices, shops and reviews from the Tokopedia marketplace.

### Changelog

- 2026-11-16: five ready-made tasks published, each with its own input and its own buyer question.
- 2026-11-16: title and README opening rebuilt around the phrases buyers search for, categories set to ecommerce plus SEO tools.
- 2026-11-16: card rewritten to the publishing standard, price set to $0.05 per 1 000 rows on the top tier.
- 2026-11-09: 18 tests over recorded Amazon responses, one local run of a single prefix verified end to end.

# Actor input Schema

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

Seed phrases to expand. Each seed is queried on its own and its suggestions are kept apart, so rows from different seeds never mix.

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

Amazon storefront to query. The storefront decides both the domain and the marketplace id, and the two are not interchangeable: the same prefix returns different suggestions per storefront. How many suggestions come back depends on the seed phrase, not only on its language: a phrase popular on this storefront fills the response, a phrase unknown there returns few or none. That is not an error — the run returns fewer rows and the summary shows the counts.

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

Department the suggestions are taken from, as Amazon names it. `aps` is the whole store and is what you almost always want. Other values such as electronics, fashion, grocery, kitchen or computers narrow the response: on a test prefix `aps` returned ten suggestions where those returned one, and music returned none. Leave it as aps unless you specifically need a department.

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

How far to expand each seed. `seed` queries the seed alone, one request. `a-z` adds 26 letters, 27 requests. `a-z-0-9` adds digits too, 37 requests. `custom` uses the suffixes you list below. One request returns at most ten suggestions, so expansion is the only way to get past ten phrases per seed.

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

Suffixes appended to every seed as a space plus the suffix, one per request. Used only when expansion mode is custom. The bare seed is always queried first, so there is no need to list an empty string. Duplicates and blanks are dropped. Example: \["for men", "for women", "cheap"].

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

Hard cap on requests per seed, counted after expansion. Set 0 for no cap. Useful for keeping a custom suffix list or a large seed list inside a time budget.

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

Cap on rows taken from one response. Amazon returns at most ten, so the default changes nothing; raise it only if you know a storefront returns more.

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

On by default: one row per unique phrase per seed, with the number of distinct prefixes that returned it as a relative popularity signal. Turn it off to get one row per phrase and prefix pair, which keeps every position but loses the score.

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

Pause in milliseconds before each request. The endpoint answered 180 back-to-back requests without a single failure in testing, so this is politeness rather than a limit. Raising it slows the run proportionally.

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

Timeout of one HTTP request in seconds.

## `runBudgetSecs` (type: `integer`):

Soft time budget for the whole run, in seconds. The run stops requesting new prefixes before the platform timeout, keeps the rows it already has and reports the budget as exhausted in the summary. Leave empty to use the whole platform allowance.

## Actor input object example

```json
{
  "seeds": [
    "usb cable",
    "laptop stand"
  ],
  "marketplace": "US",
  "alias": "aps",
  "expansionMode": "a-z",
  "customSuffixes": [],
  "maxPrefixes": 52,
  "maxSuggestionsPerPrefix": 10,
  "dedupeSuggestions": true,
  "requestDelayMs": 100,
  "requestTimeoutSecs": 30,
  "runBudgetSecs": 60
}
```

# Actor output Schema

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

No description

## `summary` (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": [
        "usb cable",
        "laptop stand"
    ],
    "runBudgetSecs": 60
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai-lead-gen-tools/amazon-keywords").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": [
        "usb cable",
        "laptop stand",
    ],
    "runBudgetSecs": 60,
}

# Run the Actor and wait for it to finish
run = client.actor("ai-lead-gen-tools/amazon-keywords").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": [
    "usb cable",
    "laptop stand"
  ],
  "runBudgetSecs": 60
}' |
apify call ai-lead-gen-tools/amazon-keywords --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai-lead-gen-tools/amazon-keywords"
        }
    }
}
```

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/UG62dKLcaZvW0NhSc/builds/r37HQXeK19ZCCqLDM/openapi.json
