# Find Amazon Keywords With the Autocomplete API

*Originally published at [scrapingrabbit.com](https://scrapingrabbit.com/blog/amazon-autocomplete-keyword-research). I built ScrapingRabbit.*


When someone types into Amazon's search box, the list that drops down is a live view of what shoppers look for. Sellers use it to name products and write listings, and marketers use it to find phrases to target. This guide shows how to read those suggestions with a single GET request, and how to turn one seed phrase into a list of longer, more specific ideas.

## Request suggestions

Send the start of a search. Every call needs an API key. New accounts get 100 free credits and a first key is created automatically on sign-up (it is shown once on the dashboard). Sign in at [scrapingrabbit.com/login](https://scrapingrabbit.com/login), then send the key in the `x-api-key` header (a Bearer token also works). The code below reads it from the `SCRAPINGRABBIT_API_KEY` environment variable, so no key is ever written into your code.

```bash
curl -H "x-api-key: $SCRAPINGRABBIT_API_KEY" "https://api.scrapingrabbit.com/v1/amazon/autocomplete?query=standing%20desk"
```

A successful call costs 1 credit, as the OpenAPI file lists it. In our two test calls the API answered in under 0.2 seconds.

A shortened real answer, read on 3 December 2026 (four of the suggestions):

```json
{
  "success": true,
  "data": {
    "suggestions": [
      { "type": "KEYWORD", "value": "standing desk" },
      { "type": "KEYWORD", "value": "standing desk converter" },
      { "type": "KEYWORD", "value": "standing desk with drawers" },
      { "type": "KEYWORD", "value": "standing desk legs" }
    ],
    "metadata": {
      "query": "standing desk",
      "domain": "amazon.com",
      "language": "en_US"
    }
  }
}
```

Each suggestion also carries a `refTag` and a `strategyId` that Amazon uses internally. Some have a `thumbnail` image address and some do not. In our read, two of the first eight suggestions had no thumbnail, so do not assume the field is always there.

## What the fields mean

| Field | Meaning |
| --- | --- |
| `suggestions[].value` | The suggested search phrase, the part you want |
| `suggestions[].type` | The kind of suggestion, `KEYWORD` in these examples |
| `suggestions[].thumbnail` | A small product image, present only on some suggestions |
| `metadata.query` | The text you sent |
| `metadata.domain` | The Amazon store the suggestions came from |
| `metadata.language` | The language of the suggestions |

## Grow one seed into long-tail ideas

A short seed returns the most general phrases. Add one letter and the box suggests more specific ones. Here is what a single extra letter returned for `standing desk f`:

```json
{
  "suggestions": [
    { "value": "standing desk frame" },
    { "value": "standing desk for walking pad" },
    { "value": "standing desk foot pad" },
    { "value": "standing desk flexispot" },
    { "value": "standing desk floor mat anti fatigue" }
  ]
}
```

Those are longer and more specific than the plain seed, which is where the less crowded phrases live. The loop below does this for a few letters:

```javascript
async function suggestions(text) {
  const url = `https://api.scrapingrabbit.com/v1/amazon/autocomplete?query=${encodeURIComponent(text)}`;
  const res = await fetch(url, { headers: { "x-api-key": process.env.SCRAPINGRABBIT_API_KEY } });
  const body = await res.json();
  if (!body.success) return [];
  return body.data.suggestions.map((s) => s.value);
}

async function expand(seed, letters) {
  const found = new Set(await suggestions(seed));
  for (const letter of letters) {
    for (const value of await suggestions(`${seed} ${letter}`)) found.add(value);
  }
  return [...found].sort();
}

const ideas = await expand("standing desk", ["a", "b", "c", "f"]);
console.log(ideas.length, "ideas");
```

The code keeps every phrase in a set so repeats are dropped, and it sorts the result. Four letters cost 5 credits in total, one for the seed and one for each letter, because every call is a separate request. Pick the letters on purpose instead of running the whole alphabet, and cache what you collect.

The same in Python:

```python
import os
import requests

def suggestions(text):
    res = requests.get(
        "https://api.scrapingrabbit.com/v1/amazon/autocomplete",
        params={"query": text},
        headers={"x-api-key": os.environ["SCRAPINGRABBIT_API_KEY"]},
        timeout=30,
    )
    body = res.json()
    if not body.get("success"):
        return []
    return [s["value"] for s in body["data"]["suggestions"]]

found = set(suggestions("standing desk"))
for letter in "abcf":
    found.update(suggestions(f"standing desk {letter}"))
print(sorted(found))
```

## Pair it with the best sellers

Suggestions tell you what shoppers type. The best sellers list tells you what sells. A simple workflow is to collect phrases here, then look at the matching category's best sellers to see which products already do well. The best sellers endpoint costs 1 credit per call too.

## Things to plan for

- **Popularity, not volume.** The suggestions do not say how many people search for a phrase.
- **Brand names appear.** Shoppers type brands, so suggestions can include them. Decide what to do with those before you reuse a phrase.
- **Results change.** They can differ by country and over time, so store the date you read them.
- **Optional fields can be missing.** Check for `thumbnail` before you use it.
- **One call per prefix.** Every letter you add is another credit, so choose them with care and cache the results.
- **Rate limits and credits.** Each key is limited per minute: 10 requests on the free plan, 60 on Starter, 120 on Pro and 300 on Scale. A loop over many prefixes can hit the limit on a small plan, so pause between batches.
- **Always check `success`.** A failed request returns `success: false`, a `code` such as `RATE_LIMITED` or `INVALID_API_KEY`, and a `message`. Failed calls are not charged.

## Try it without code

The free Amazon keyword tool works in the browser with no key and shows these suggestions for any phrase you type.
