# Amazon Best Sellers Scraper (Rank, Price, Reviews) (`locaihost/amazon-bestsellers`) Actor

Amazon best sellers, new releases, movers and shakers, most wished for and most gifted lists across 12 marketplaces. Every product's rank, title, price, rating and review count, plus the rank change since your last run. $3 per 1,000 products.

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

## Pricing

from $1.65 / 1,000 products

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 Best Sellers Scraper (Rank, Price, Reviews)

Read Amazon's ranked lists the way a shopper sees them: Best Sellers, New Releases, Movers & Shakers, Most Wished For and Most Gifted, for 12 marketplaces (US, UK, DE, FR, IT, ES, CA, JP, IN, AU, MX, BR). One row per product with its rank, title, price, star rating and review count. Every run also tells you how each product moved since your last run of the same list: previous rank, places climbed, and what is new on the list. The prefill (US Electronics best sellers, 50 products) finishes in well under a minute.

### How do I start?

Paste this into the input (JSON tab) and press Start:

```json
{
    "categoryUrls": ["electronics"]
}
```

That reads the current US Electronics best sellers, ranks 1 to 50. Want the top 100, plus New Releases?

```json
{
    "categoryUrls": ["electronics", "https://www.amazon.com/gp/new-releases/electronics/"],
    "maxItemsPerList": 100
}
```

A pasted link carries its own marketplace and list type, so German or Japanese lists work in the same run as US ones.

### What data can I get?

Each list holds 100 products (ranks 1 to 100; above 50 the second page is read too). One row per product per list:

| Field | What it holds |
|---|---|
| `marketplace`, `listType`, `category`, `node` | Which list the row came from: marketplace (US, UK, DE, ...), list type, category name and Amazon's node id when the URL names one |
| `rank` | Position on the list, 1 to 100 |
| `asin`, `title`, `url`, `image` | Product id, title, product page link, image |
| `price`, `currency` | Price shown on the list and its currency (USD, GBP, EUR, JPY, ...) |
| `priceFrom`, `priceTo` | When Amazon shows a price range, its bounds |
| `rating`, `reviewCount` | Star rating and number of ratings |
| `salesRank`, `salesRank24hAgo`, `salesRankChangePercent` | Movers & Shakers: the product's overall sales rank now, 24 hours ago, and the change in percent |
| `previousRank`, `rankChange`, `newOnList` | This product on this list at your last run: its rank then, how many places it climbed (positive is up), and whether it is new on the list |
| `detail` | `full` when the list page renders the card (title, price, rating), `rank-only` (free) on the rare page where Amazon leaves a card off; those rows carry rank, ASIN and link |

Example product row:

```json
{
    "type": "product",
    "marketplace": "US",
    "listType": "best-sellers",
    "category": "Electronics",
    "rank": 1,
    "asin": "B08JHCVHTY",
    "title": "blink plus plan with monthly auto-renewal",
    "url": "https://www.amazon.com/dp/B08JHCVHTY",
    "price": 11.99,
    "currency": "USD",
    "rating": 4.4,
    "reviewCount": 281970,
    "previousRank": 2,
    "rankChange": 1,
    "newOnList": false,
    "detail": "full",
    "scrapedAt": "2026-11-14T15:00:00.000Z"
}
```

### Free rows, never charged

Every run adds free summary rows: one for each list that could not be read (Amazon showed its check page, or the list came back empty, with a plain reason), and one run summary listing lists read, products returned, what is new on the lists, and the biggest climbers since your last run. An empty list is real information, not a failure, and costs nothing.

### What makes it different?

- **Rank change since your last run.** The Actor remembers each list's ranks between runs, so every product row carries `previousRank`, `rankChange` (places climbed) and `newOnList`. A daily schedule turns the lists into a rank tracker with no spreadsheet.
- **Only changed rows.** Turn on **Only changed rows** and each run returns just the products that are new on a list or whose rank moved. Everything else is skipped and not charged.
- **One schema across every list and marketplace.** Best sellers, new releases, movers, most wished for and most gifted from 12 marketplaces, all in one dataset with one shape, so mixed-marketplace runs sort and filter cleanly.
- **The whole category tree.** Paste a category and turn on **Include subcategories** to walk its subcategories one level down (up to 10 per category), or paste a marketplace root and get its departments.
- **Prices in every format Amazon uses.** `$1,299.00`, `€1.234,56`, `3,99 €`, `¥2,580` and `R$1.899,00` all become numbers with the right currency.
- **Blocked lists never sink a run.** When Amazon shows its check page, the list is retried on a fresh session and then reported in a free blocked row; the other lists carry on.

### What does it cost?

$3.00 per 1,000 products ($2.25 on Apify's Scale plan, $1.65 on Business). Summary rows are free, rows Amazon sent without details (`rank-only`) are free, and lists that could not be read or came back empty cost nothing.

**Free Apify plan:** up to 100 product rows and 10 Amazon pages per run. Any paid Apify plan removes both limits.

### Which inputs can I use?

| Input | What it does |
|---|---|
| `categoryUrls` | List links from any of the 12 marketplaces, or plain category slugs (`electronics`, `toys-and-games`). A slug uses the marketplace and list type you pick. |
| `listType` | For slugs: `best-sellers` (default), `new-releases`, `movers-and-shakers`, `most-wished-for` or `most-gifted`. Links name their own list. |
| `marketplace` | For slugs: US (default), UK, DE, FR, IT, ES, CA, JP, IN, AU, MX or BR. |
| `maxItemsPerList` | Products per list, 1 to 100. Default 50. Above 50 the second page is read. |
| `includeSubcategories` | Also read each category's subcategories, one level down (up to 10 per category). |
| `onlyChanged` | Return only rows that are new on a list or whose rank moved since the last run. |

API callers can also pass `categories` instead of `categoryUrls`; it means the same thing.

### How do I track a category over time?

1. Save your input as a task with your categories.
2. Add a schedule to the task (daily is enough; Movers & Shakers updates hourly).
3. Each run compares against the last run of the same list: `previousRank`, `rankChange` and `newOnList` do the tracking, and the run summary names the biggest climbers.

### What happens when something goes wrong?

- Bad input (no categories, an unknown list type or marketplace, a link that is not a list page) ends the run with a message and charges nothing.
- A list Amazon refuses gets a free blocked row; the run carries on and the status message says what happened.
- An empty list gets a free empty row. Most often that is Movers & Shakers: on 14 Nov 2026 Amazon showed "no movers and shakers available" for every category we checked on the US, UK and German sites, and the run reports exactly that, free.
- Every page normally carries all 50 cards. When Amazon sends a page with some cards missing, those ranks come back as free `rank-only` rows (rank, ASIN, link), and the run message says how many.
- If the run's time limit is near, it stops early, saves everything and says which lists were not finished.

### Can I call it from an agent or my own code?

Yes. It works through the Apify API, the Apify MCP server and the Apify client libraries, with the same input as above. The default prefill returns in well under a minute. People also run it from their own AI agents that way, which works the same as any other caller.

### Is it legal to collect Amazon best-seller data?

The Actor reads the ranked list pages anyone can see in a browser without signing in, one marketplace at a time, and only product data: no reviews text and no reviewer names. You are responsible for how you use the data, including Amazon's own terms and the laws that apply to you.

### Questions or problems?

Open an issue on the Issues tab and we will answer within a day. If the Actor helped, a rating on the Store helps other people find it.

# Changelog

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

# Actor input Schema

## `categoryUrls` (type: `array`):

Best-seller, new-release, mover, most-wished-for or most-gifted list links from any of the 12 supported Amazon marketplaces, or plain category slugs such as electronics, toys-and-games, kitchen. A slug uses the marketplace and list type picked below.

## `listType` (type: `string`):

Which list to read when you give category slugs. Links name their own list and ignore this.

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

Which Amazon site to read when you give category slugs. Links carry their own marketplace and ignore this.

## `maxItemsPerList` (type: `integer`):

Each list holds 100 products (ranks 1 to 100). Above 50, the second page is read too.

## `includeSubcategories` (type: `boolean`):

Also read each category's subcategories from the list page's own category tree, one level down (up to 10 per category).

## `onlyChanged` (type: `boolean`):

Return a product row only when it is new on the list or its rank moved since the last run. Everything else is skipped and not charged. Rank history works even with this off.

## Actor input object example

```json
{
  "categoryUrls": [
    "electronics",
    "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics/541966",
    "https://www.amazon.de/gp/new-releases/computer"
  ],
  "listType": "best-sellers",
  "marketplace": "US",
  "maxItemsPerList": 50,
  "includeSubcategories": false,
  "onlyChanged": false
}
```

# Actor output Schema

## `products` (type: `string`):

Rank, title, price, rating, reviews, rank change since the last run and (on Movers & Shakers) the 24-hour sales-rank move.

## `movers` (type: `string`):

The same rows with the 24-hour sales-rank change columns in front.

## `summaries` (type: `string`):

One free row per list that could not be read (blocked or empty) and one free run summary.

## `summary` (type: `string`):

Lists read, products returned, new on list, biggest climbers and cost.

# 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 = {
    "categoryUrls": [
        "electronics"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("locaihost/amazon-bestsellers").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 '{
  "categoryUrls": [
    "electronics"
  ]
}' |
apify call locaihost/amazon-bestsellers --silent --output-dataset

```

## MCP server setup

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

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/PS0NTCcj4fGZrOQPg/builds/ILEpxr0wgHtZ9wGCf/openapi.json
