# Amazon Bestsellers Scraper (7 marketplaces) (`usestring/amazon-bestsellers`) Actor

Collect Amazon Best Sellers rankings across US, UK, DE, FR, ES, JP and AU marketplaces.

- **URL**: https://apify.com/usestring/amazon-bestsellers.md
- **Developed by:** [String](https://apify.com/usestring) (community)
- **Categories:** E-commerce, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.75 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Amazon Bestsellers Scraper — Amazon Best Sellers ranks in 7 marketplaces

This Actor scrapes Amazon Best Sellers ranking pages and returns the ranked products with `rank`,
`asin`, `title`, `price`, a numeric `rating` and a numeric `reviewCount`. It covers **seven Amazon
marketplaces in one run** — US, UK, Germany, France, Spain, Japan and Australia — and every
marketplace can be crossed with every category slug you give it.

No Amazon account, API key or cookies are used — the Amazon Bestsellers Scraper reads the public
Best Sellers page a logged-out visitor sees. **30 products per category page**, in about 2.7 seconds
per page at the measured median.

### What it returns

| Field | Type | Notes |
| --- | --- | --- |
| `marketplace` | string | `us`, `uk`, `de`, `fr`, `es`, `jp`, `au` |
| `category` | string | The category slug requested |
| `rank` | number | Bestseller position, 1-based |
| `asin` | string | Amazon's product ID — stable, use it to join or de-duplicate |
| `title` | string | |
| `price` | string | As displayed, in the marketplace's own currency |
| `rating` | number | Stars out of 5. Locale decimals are handled — `"4,4"` on `.de` is `4.4` |
| `reviewCount` | number | `278974`, not `"278,974"` |
| `productUrl` | string | Direct `/dp/` link on the right marketplace |
| `sourceUrl`, `collectedAt` | string | Provenance for every row |

### Input

```json
{ "marketplaces": ["us", "uk", "de"], "categories": ["books"], "maxItems": 1000 }
```

| Field | Description |
| --- | --- |
| `marketplaces` | Any of `us`, `uk`, `de`, `fr`, `es`, `jp`, `au`. Required, at least one. |
| `categories` | Bestseller category slugs, e.g. `books`, `electronics`, `software`. Required, 1–50. |
| `maxItems` | Cap on dataset items. Default 1000. Free plans stop at 250 requests and 250 results — see below. |
| `concurrency` | Pages fetched in parallel. Default 3, maximum 10. |

Marketplaces are crossed with categories, so 3 marketplaces × 2 categories is 6 pages and about 180
rows.

**Category slugs are marketplace-specific.** `books` resolves on all seven; `electronics` is valid on
amazon.com but not on amazon.de, where `computers` is. An unknown slug fails that one target with a
message saying so, and the other targets still return.

### Use cases

- Tracking category rank and price movement over time
- Competitor and brand monitoring across several countries at once
- Product and niche research before sourcing
- Comparing what sells in the US against Europe and Japan
- Feeding a pricing or merchandising dashboard on a schedule

### Reliability

Measured across 21 marketplace × category combinations in one run: **20/21 succeeded, 600 products
collected**, every schema field populated. The single failure was an invalid slug for that
marketplace, reported as such.

Rankings are read from the Best Sellers grid itself, so ranks, prices, ratings and counts are the
page's own values rather than a model's reading of them.

### Frequently asked questions

**Do I need an Amazon account or API key to scrape Amazon Best Sellers?** No. The Amazon Bestsellers
Scraper reads only the public Best Sellers pages a logged-out visitor sees.

**Which Amazon marketplaces are supported?** Seven: US, UK, Germany, France, Spain, Japan and
Australia — all available in a single run, with `marketplace` on every row.

**How many products does one category return?** 30 — one Amazon Best Sellers page. This Actor does
not paginate past the first ranking page.

**Why is `electronics` empty on amazon.de?** Category slugs differ per marketplace. Use `computers`
there, or `books`, which resolves on all seven.

**Is the review count a number?** Yes, `reviewCount` is numeric, and `rating` handles locale decimal
commas correctly — `"4,4"` on amazon.de is parsed as `4.4`, not `44`.

**Does it scrape Amazon product detail pages or search results?** No, Best Sellers rankings only.
Use the Amazon Product Scraper for detail pages and the Amazon Search Scraper for keyword results.

### Limitations

Bestseller listing pages only: no product-detail fields (description, images, variants, seller), no
review text, and no search. `price` is the displayed string in local currency rather than a
normalised number, because currency and formatting vary by marketplace. Marketplaces outside the
seven listed above, including amazon.in, are not supported.

### Free plan limit

Runs started from an Apify **free plan** stop at **250 requests and 250 results**, and the run
reports that it reached the limit. Any paid plan runs the full input and `maxItems` you set.

The limit exists because this Actor fetches through our own infrastructure, which Apify does not
cover for free-plan runs. It binds on requests as well as results so that a large input list cannot
spend those fetches for rows the run will not return.

# Actor input Schema

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

Amazon marketplaces to collect from.

## `categories` (type: `array`):

Bestseller category slugs, e.g. electronics, books, toys-and-games.

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

Global cap on dataset items. Runs started from an Apify free plan stop at 250 requests and 250 results; any paid plan runs the full amount.

## `concurrency` (type: `integer`):

Targets fetched in parallel.

## Actor input object example

```json
{
  "marketplaces": [
    "us",
    "uk",
    "de"
  ],
  "categories": [
    "electronics"
  ],
  "maxItems": 1000,
  "concurrency": 3
}
```

# Actor output Schema

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

Collect Amazon Best Sellers rankings across US, UK, DE, FR, ES, JP and AU marketplaces.

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

Item count, failure count and every target that failed, with its error.

# 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 = {
    "marketplaces": [
        "us",
        "uk",
        "de"
    ],
    "categories": [
        "electronics"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("usestring/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 = {
    "marketplaces": [
        "us",
        "uk",
        "de",
    ],
    "categories": ["electronics"],
}

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

```

## MCP server setup

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