# Amazon Search Scraper & Keyword Rank Tracker (`siteacs/amazon-search`) Actor

Amazon search scraper and keyword rank tracker: scrape search results for keywords or search URLs with position, organic rank, sponsored flag, ASIN, price, rating, review count, badges and delivery text, on 12 Amazon marketplaces. Sort, price and department filters.

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

## Pricing

$1.00 / 1,000 search results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 Search Scraper & Keyword Rank Tracker

**For agents and scripts:** pass `keywords` (or `searchUrls`) and a `marketplace` code (US, UK, DE, FR, ES, IT, BR, JP,
IN, CA, MX or AU); read the dataset rows with `type: "result"`. Each row is one product on an Amazon search page, with
`position`, `organicPosition` (the keyword rank, null for ads), `sponsored`, `asin`, `title`, `price` and `rating`.
One `type: "summary"` row per keyword (free) says whether the search worked.

Get Amazon search results for your keywords as data: every product on the results pages with its **position**, its
**organic rank** (ads not counted), the page it was on, a **sponsored** flag, and the ASIN, title, price, list price,
star rating, number of ratings, badges ("Best Seller", "Amazon's Choice"), "bought in past month" and delivery text.
Give it keywords or search URLs copied from your browser, with Amazon's own sort, price and department filters. Works
on 12 Amazon marketplaces: amazon.com, .co.uk, .de, .fr, .es, .it, .com.br, .co.jp, .in, .ca, .com.mx and .com.au.

Use it as an Amazon keyword rank tracker (where does your ASIN or your competitor's rank for each keyword, organic and
sponsored), to see who buys ads on a keyword, to research a niche before you launch a product, or to collect product
search results for price monitoring.

**You pay only for result rows: $1.00 per 1,000.** The summary row per keyword is free. No start fee.

- **Em português:** extrator da busca da Amazon (amazon.com.br e outras): posição de cada produto, posição orgânica,
  patrocinado ou não, ASIN, título, preço, avaliação e número de avaliações, para cada palavra-chave.
- **En español:** scraper de búsqueda de Amazon (amazon.es, amazon.com.mx y otras): posición de cada producto,
  posición orgánica, patrocinado o no, ASIN, título, precio, valoración y número de valoraciones, por palabra clave.
- **Auf Deutsch:** Amazon-Such-Scraper (amazon.de und weitere): Position jedes Produkts, organischer Rang, gesponsert
  oder nicht, ASIN, Titel, Preis, Bewertung und Anzahl der Bewertungen, für jedes Keyword.

### Input

```json
{
  "keywords": ["usb c cable", "phone charger"],
  "marketplace": "US",
  "maxPages": 2,
  "sort": "featured"
}
```

- **Keywords**: one search per keyword, on the marketplace you pick, typed as a shopper types it ("usb c cable").
- **Search URLs**: or paste Amazon search URLs (`https://www.amazon.de/s?k=...`), with any filters you set on the
  site (brand, rating, Prime...). Each URL is searched on its own marketplace. Tracking parameters are dropped.
- **Pages per search**: 1 to 20. Amazon shows 16 or 48 organic results per page (list or grid layout, its choice
  per keyword), plus sponsored ones. The search stops early when Amazon shows no next page.
- **Sort**: Featured (Amazon's default), price low to high, price high to low, average customer review, newest
  arrivals, best sellers.
- **Min price / Max price**: in the marketplace's currency.
- **Department**: Amazon's search alias, the `i=` value in a search URL (`electronics`, `kitchen`, `stripbooks`...).
- **4 stars & up only**: Amazon's own rating filter (the only one it offers). For keywords on .com, .co.uk, .de,
  .fr, .es, .com.br, .co.jp and .in; elsewhere set it on the site and paste the URL. Amazon shows no Prime filter to
  visitors who are not signed in.
- **Max results per search**: stop each search after this many rows; it replaces **Pages per search**.
- **Delivery postcode**: search as a shopper at this postcode on the marketplace you picked, instead of the central
  one listed below.
- **Include sponsored results**: on by default; off leaves ads out of the rows (and the bill). Positions still count
  the ads, so they match the page either way.

### Output

One row per result, in page order. This one is from a test run on amazon.com:

```json
{
  "type": "result",
  "keyword": "usb c cable",
  "position": 3,
  "organicPosition": 1,
  "page": 1,
  "positionOnPage": 3,
  "asin": "B088NRLMPV",
  "title": "Anker USB C to USB C Cable, 60W Fast Charging Cable (2-Pack, 6 ft, Black)",
  "brand": null,
  "price": 9.99,
  "listPrice": null,
  "currency": "USD",
  "priceText": "$9.99",
  "rating": 4.7,
  "reviewCount": 91340,
  "sponsored": false,
  "prime": true,
  "badges": ["Best Seller"],
  "boughtPastMonth": "10K+ bought in past month",
  "deliveryText": "Join Prime Tomorrow 3 PM - 7 PM Or Non-members get FREE delivery Mon, Nov 16 on $35 of items shipped by Amazon",
  "image": "https://m.media-amazon.com/images/I/71k0d1eTetL._AC_UY218_.jpg",
  "url": "https://www.amazon.com/dp/B088NRLMPV",
  "searchUrl": "https://www.amazon.com/s?k=usb+c+cable",
  "marketplace": "US",
  "scrapedAt": "2026-11-12T01:09:21+00:00"
}
```

- `position` counts every result across pages, ads included; `organicPosition` counts organic results only (null for
  an ad); `positionOnPage` is the place on its page.
- `sponsored` is true for results Amazon labels "Sponsored" ("Gesponsert", "Sponsorisé", "Patrocinado", "スポンサー").
  See "Sponsored results" below for how many ads to expect.
- `price` is the price shown, `listPrice` the struck-through one when there is a discount. `brand` is set when the
  result shows a brand line (fashion, some grids); otherwise the brand is usually the start of the title.
- `prime` is the Prime mark, which Amazon shows to visitors who are not signed in on amazon.com only.
- A product shown both as an ad and as an organic result gives two rows. A result Amazon repeats on a later page in
  the same role (ad or organic) is saved once, at its first place.

After the results of each keyword comes one free summary row (`type: "summary"`) with `status`, `pagesRead`,
`resultCount`, `organicCount`, `sponsoredCount`, Amazon's own result-bar text (`resultsText`, for example "1-48 of
over 30,000 results") and `deliverTo`, the delivery location the results are for. Status values: `ok`, `partial`
(a later page failed after its retries; rows saved so far are kept), `no_results`, `blocked`, `timeout`, `error`,
`capped` and `not_started` (stopped at your maximum cost per run). The dataset has two views: **Results** and
**Searches**.

### Sponsored results

Amazon shows far fewer ads to datacenter IPs. So page 1 of each search is read through residential proxy (included in
the price): in our test on 32 keywords across 8 marketplaces, 27 of 32 first pages carried ads, 8.4 per page on
average, 19% of the rows. Over datacenter alone it was 6 of 32 pages and 4.5% of rows. Pages 2 and later are read
over datacenter and carry few ads; for ad tracking beyond page 1, pick residential in **Proxy configuration**. Ads
still change on every load, so one run is a sample, not the full list of advertisers.

### Ranks change between visits

Amazon does not show every visitor the same order. In our test on 10 keywords and 7 marketplaces, two logged-out
browser visits a minute apart, from the same IP and delivery postcode, had the same organic order on 1 keyword of 10,
and shared 9 of their top 10 organic results on average; the ads change on every load. This scraper agreed with the
browser just as closely (9 of the top 10), and it reports the page it was shown exactly. For rank tracking, compare
ranks over several runs or keep the median, rather than reading one change of one or two places as a move.

### Prices and delivery location

Amazon places a visitor who is not signed in by IP address, which changes prices, delivery promises and even which
products show. This scraper searches as a shopper in that country: each session sets a central delivery postcode
through Amazon's own "Deliver to" box (10001 New York, SW1A 1AA London, 10115 Berlin, 75001 Paris, 28001 Madrid,
00185 Rome, 01310-100 São Paulo, 100-0001 Tokyo, 110001 New Delhi, M5V 3L9 Toronto, 06000 Mexico City, 2000 Sydney)
and the marketplace's own currency. The summary row's `deliverTo` shows the location Amazon confirmed.

### Cost

$1.00 per 1,000 result rows (one `search-result` event each). One page is 16 to 60 rows: one keyword, first page
only, costs 2 to 6 cents. Apify's platform usage for compute and proxy is included in the price.

### How it works

The scraper reads Amazon's public search pages, logged out, like a browser. A page Amazon refuses (a CAPTCHA, a
"something went wrong" page, a rate limit) is never solved: the page is tried again from another IP, up to 6
datacenter IPs and then up to 3 residential ones. A page with fewer organic results than its own result bar says
("1-48 of ...") is loaded again. No seller or reviewer data is collected: result rows only.

### FAQ

**Is it legal to scrape Amazon search results?** The scraper reads only public pages that anyone can open without an
account, and collects product facts, no personal data. Amazon's Conditions of Use restrict automated access; whether
and how you use the data is your responsibility.

**How do I track my product's rank?** Schedule the actor with your keywords (daily, for example) and filter the rows
by your `asin`. `organicPosition` is the organic rank; a sponsored row shows where your ad appeared.

**Why do I get odd results for a made-up keyword?** Amazon rarely says "no results": for a keyword it cannot match it
shows loosely related products and unrelated ads, and they come back as rows (status `ok`). The summary row's
`resultsText` shows Amazon's own count ("1-16 of 34 results") to judge them by. Only when Amazon shows no organic
result at all is the status `no_results`.

**Why are some prices missing?** Results without a buy box (other sellers only, "See options", out of stock) show no
price, and `price` is null. Pages narrowed by filters (price range, department, 4 stars) can have more of them.

**Why do I see different results in my browser?** You may be signed in, Amazon may place you elsewhere (check
`deliverTo`), or the order changed between visits (see above).

**Can I get more than 20 pages?** No; narrow the search with filters, a price range or a department to reach more
products.

**Do you scrape product pages?** No. Rows hold what the results page shows. For Amazon's ranked charts, see our
[Amazon Best Sellers Scraper](https://apify.com/siteacs/amazon-bestsellers).

### Related actors

- [Amazon Best Sellers Scraper](https://apify.com/siteacs/amazon-bestsellers): Amazon's Best Sellers and New
  Releases charts, rank by category. Use it with this actor to compare a keyword's search rank with the category chart.
- [Amazon Product Details Scraper](https://apify.com/siteacs/amazon-product-details): the full product page for each
  ASIN in the results (price, Best Sellers Rank, bullets, specs, images, variations).

# Changelog

This Actor's version history is a separate document: https://apify.com/siteacs/amazon-search/changelog.md

# Actor input Schema

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

Search terms, one per line, typed as a shopper types them into Amazon's search box. Each keyword is searched on the marketplace below. Use Bulk edit to paste a long list. Duplicates are searched once.

## `searchUrls` (type: `array`):

Optional. Amazon search result pages copied from the browser (https://www.amazon.de/s?k=...), with any filters you set there (brand, department, rating, Prime). Each URL keeps its own marketplace and filters; the sort and price filters below are added only where the URL has none.

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

Where the keywords are searched. Results are read for a delivery address in that country (a central postcode, such as 10001 New York or 10115 Berlin), so prices and delivery texts are the ones local shoppers see.

## `deliveryPostcode` (type: `string`):

Optional: the postcode to search from, as typed in Amazon's "Deliver to" box (for example 94105 on amazon.com, 80331 on amazon.de). It changes prices, delivery promises and sometimes which products show. Applies to the marketplace above. Empty: a central postcode (New York 10001, London SW1A 1AA, Berlin 10115...). The summary row's deliverTo shows the location Amazon confirmed.

## `maxPages` (type: `integer`):

How many result pages to read for each search, in order. A page holds 16 results (list layout) or 48 (grid layout), plus sponsored ones. A search stops earlier when Amazon has no further page (most keywords end after 7 grid or 20 list pages).

## `maxResultsPerKeyword` (type: `integer`):

Optional: stop each search after this many result rows (ads included when they are kept). When set, it replaces "Pages per search": pages are read until the limit or Amazon's last page (up to 20 pages). 0 or empty: no limit.

## `sort` (type: `string`):

Amazon's own Sort by menu. Keep Featured for keyword rank tracking: it is the order shoppers see.

## `minPrice` (type: `integer`):

Optional. Amazon's price filter, in the marketplace's currency (whole units: 20 means $20 on amazon.com, 20 € on amazon.de).

## `maxPrice` (type: `integer`):

Optional. Amazon's price filter, in the marketplace's currency.

## `department` (type: `string`):

Optional. Amazon's search department code (the i= value of a search URL), for example electronics, kitchen, beauty, toys-and-games, books or fashion. For other filters, copy a search URL instead.

## `fourStarsAndUp` (type: `boolean`):

Amazon's own "4 Stars & Up" filter, the only rating filter it offers. Available for keywords on amazon.com, .co.uk, .de, .fr, .es, .com.br, .co.jp and .in; on other marketplaces set it on the site and paste the search URL. Amazon shows no Prime filter to visitors who are not signed in, so there is none here.

## `includeSponsored` (type: `boolean`):

On: sponsored products are saved too, with sponsored: true, in the place they hold on the page. Off: only organic results are saved (and charged); positions still count the sponsored places, and organicPosition counts organic results only.

## `maxConcurrency` (type: `integer`):

How many searches run in parallel. The pages of one search are always read in order.

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

Apify datacenter proxy (the default) works for search pages; a page Amazon refuses is retried on another IP.

## `residentialFallback` (type: `boolean`):

On (default): page 1 of each search is read through Apify residential proxy, because Amazon leaves most ads out for datacenter IPs (in our test, ads on 27 of 32 first pages over residential, 6 of 32 over datacenter), and a page Amazon still refuses after 6 datacenter IPs is tried through residential. No extra charge to you. Off: datacenter only; sponsored results will be mostly missing.

## Actor input object example

```json
{
  "keywords": [
    "usb c cable",
    "coffee grinder"
  ],
  "marketplace": "US",
  "maxPages": 1,
  "sort": "featured",
  "fourStarsAndUp": false,
  "includeSponsored": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "residentialFallback": true
}
```

# Actor output Schema

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

One item per search result in Amazon's order: keyword, position, organic rank, page, ASIN, title, price, list price, rating, ratings count, sponsored, Prime, badges, delivery and link, plus one summary item per search.

## `searches` (type: `string`):

Status, pages read, organic and sponsored counts and delivery location of each search (the summary items).

# 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": [
        "usb c cable",
        "coffee grinder"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("siteacs/amazon-search").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": [
        "usb c cable",
        "coffee grinder",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("siteacs/amazon-search").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": [
    "usb c cable",
    "coffee grinder"
  ]
}' |
apify call siteacs/amazon-search --silent --output-dataset

```

## MCP server setup

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

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/iEOq1NDzkbfSnGB6c/builds/sCGgqfcXzn8JSGh2G/openapi.json
