# 🏆 Amazon Best Sellers Scraper | Category Ranks & ASINs (`misterkhan/amazon-bestsellers-scraper`) Actor

Extract Amazon Best Sellers leaderboard rankings (#1-#100) across any department with rank numbers, ASINs, brands, active prices, star ratings, review counts, and product images.

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

## Pricing

from $0.60 / 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/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

### What does Amazon Best Sellers Scraper do?

Amazon Best Sellers Scraper is a category leaderboard intelligence tool that extracts ranked top-selling products from **any Amazon Best Sellers (/zgbs/) department or subcategory page**—capturing exact leaderboard `rank` (#1–#100), 10-character `asin`, `title`, inferred `brand`, `categoryName`, active `price` (`price_numeric`), `currency`, customer `rating`, `reviewCount`, and high-resolution `imageUrl`.

Ideal for private-label product research, wholesale sourcing, and DTC competitive benchmarking, it turns hourly Amazon Best Seller charts into clean time-series datasets ready for rank-movement tracking.

> 🛡️ **Zero Proxy Configuration Required:** Anti-blocking, browser session routing, and regional IP selection are **handled automatically out of the box** — just paste your target URLs and click **Start**.

### What data can you extract with Amazon Best Sellers Scraper?

**🏆 Leaderboard Rank & Category** — `rank`, `categoryName`, `id`, `asin`, `listing_id`, and `property_id` <br>
**🏷️ Product & Brand Details** — `title`, `brand`, `url`, and `sourceUrl` <br>
**💵 Active Pricing & Currency** — `price`, `price_numeric`, and `currency` <br>
**⭐ Social Proof & Media** — `rating`, `reviewCount`, `imageUrl`, `publishedAt`, and `scrapedAt` <br>

### Why use Amazon Best Sellers Scraper?

**🏆 Monitor #1–#100 category rank shifts over time** — schedule daily or hourly runs across target /zgbs/ subcategories to spot breakout ASINs early <br>
**🔍 Identify underserved private-label opportunities** — filter top-ranked products with high `rank` velocity and moderate `reviewCount` <br>
**💵 Benchmark category price bands** — analyze `price_numeric` distributions across top-selling electronics, home, beauty, and kitchen subcategories <br>
**📚 Batch multiple departments in a single run** — pass dozens of /zgbs/ URLs in `startUrls` to capture cross-category leaderboards at once <br>
**📩 Export directly to BI dashboards and spreadsheets** — connect scheduled Best Seller snapshots to Google Sheets, Airtable, BigQuery, or Make <br>

### How do I use Amazon Best Sellers Scraper?

Amazon Best Sellers Scraper is designed for fast, zero-configuration runs in Apify Console:

1. Click **Try for free** on the Actor page to open Apify Console.
2. Paste one or more target URLs into **Start URLs (`startUrls`)** (or fill in optional search parameters where supported).
3. Set **Max Results (`maxItems`)** to control how many records to collect.
4. Click **Start** to stream verified records in real time.
5. Export your dataset from the **Dataset** tab in JSON, CSV, Excel, or HTML table format.

### Input

Amazon Best Sellers Scraper accepts a clean JSON configuration. Click on the [Input tab](https://apify.com/misterkhan/amazon-bestsellers-scraper/input-schema) for the interactive Console form.

```json
{
  "startUrls": [
    {
      "url": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
    }
  ],
  "maxItems": 40
}
```

**🔗 `startUrls`** — one or more public target HTTPS URLs to extract (default: `https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics`) <br>
**🔢 `maxItems`** — maximum number of records to collect per run (default: 40; Free plan runs collect up to 40 results per run, while paid Apify plans support high-volume extraction) <br>

### Output sample

Results stream in real time to your default Apify Dataset. Below is an authentic live record verified from `https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics`:

```json
[
  {
    "asin": "B08JHCVHTY",
    "brand": "blink",
    "categoryName": "Electronics",
    "currency": "USD",
    "id": "B08JHCVHTY",
    "imageUrl": "https://images-na.ssl-images-amazon.com/images/I/31YHGbJsldL._AC_UL300_SR300,200_.png",
    "listing_id": "B08JHCVHTY",
    "price": "$11.99",
    "price_numeric": 11.99,
    "property_id": "B08JHCVHTY",
    "publishedAt": null,
    "rank": 1,
    "rating": 4.4,
    "reviewCount": 281959,
    "scrapedAt": "2026-11-12T18:41:32.155Z",
    "sourceUrl": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics",
    "title": "blink plus plan with monthly auto-renewal",
    "url": "https://www.amazon.com/dp/B08JHCVHTY"
  }
]
```

### How much does it cost to run Amazon Best Sellers Scraper?

Amazon Best Sellers Scraper uses **Pay-Per-Event (PPE)** pricing (apify-default-dataset-item) with a `$0.00` run startup fee—you only pay for clean records delivered to your dataset:

**🆓 Free plan** — `$0.005` per result ($5.00 / 1,000 results, up to 40 results/run) <br>
**🥉 Starter (Bronze) plan** — `$0.00135` per result ($1.35 / 1,000 results) <br>
**🥈 Scale (Silver) plan** — `$0.00095` per result ($0.95 / 1,000 results) <br>
**🥇 Business+ (Gold) plan** — `$0.0006` per result ($0.60 / 1,000 results) <br>

With the monthly free credit on the Apify Free plan, you can test and extract **up to 1,000 records per month for free**.

> 💡 **Predictable, All-Inclusive Pay-Per-Event Pricing:** There is a **`$0.00` run start fee** and **no separate proxy cost**. You only pay the flat per-result rate above for data delivered to your dataset — works out of the box on both **Free** and **Paid** Apify plans.

### How many results can you scrape with Amazon Best Sellers Scraper?

Amazon Best Sellers Scraper streams **hundreds to thousands of records per run** on paid Apify plans (up to 40 results per run on the Free plan). For best throughput:

- **Scope searches by category, price band, or geography** — narrower category or city URLs yield deeper coverage across large marketplaces and directories.
- **Batch multiple URLs in `startUrls`** — queue dozens of search, category, or profile URLs in a single run with automatic in-memory deduplication.
- **Schedule recurring delta runs** — combine Apify Schedules with `scrapedAt` timestamps to monitor new listings, rank shifts, or fresh customer reviews daily.

### Want to combine this data with companion intelligence Actors?

Pair Amazon Best Sellers Scraper with our published companion Actors for end-to-end market, catalog, and B2B enrichment workflows:

🛍️ **[Shopify Store Products Scraper](https://apify.com/misterkhan/shopify-products-scraper)** — extract full DTC product catalogs, variant option matrices, SKUs, and markdown percentages from any Shopify store <br>
📢 **[Facebook Ads Library Scraper](https://apify.com/misterkhan/facebook-ads-library-scraper)** — monitor competitor Meta Ads, video creatives, landing page URLs, and ad longevity <br>
⭐ **[Trustpilot Reviews Scraper](https://apify.com/misterkhan/trustpilot-reviews-scraper)** — analyze verified e-commerce customer reviews, star ratings, and company responses <br>
🛠️ **[Website Tech Stack, Contacts & AI Markdown Scanner](https://apify.com/misterkhan/website-tech-stack-scanner)** — detect e-commerce platforms, analytics pixels, and public business contacts on any brand domain <br>

### Integrations and Amazon Best Sellers Scraper

Amazon Best Sellers Scraper connects directly to your spreadsheets, data warehouses, and automation pipelines via [Apify integrations](https://apify.com/integrations):

- **No-Code Automation** — trigger workflows and alerts via Make, Zapier, n8n, Clay, or Airbyte.
- **Spreadsheets & Warehouses** — sync structured records directly into Google Sheets, Airtable, BigQuery, Snowflake, or PostgreSQL.
- **Webhooks** — fire instant HTTP webhooks to your backend as soon as a scraping run succeeds.

### Using Amazon Best Sellers Scraper with the Apify API

You can launch runs programmatically with the official `apify-client` SDKs for **Python** and **Node.js**, or expose Amazon Best Sellers Scraper directly to AI research and RevOps agents via the **Apify MCP Server** (`https://mcp.apify.com`).

Visit the [API tab](https://apify.com/misterkhan/amazon-bestsellers-scraper/api) for ready-to-run Python, Node.js, and cURL snippets.

### Frequently asked questions about Amazon Best Sellers Scraper

**🏆 Which Amazon Best Sellers URLs are supported? <br>**
Any public Amazon Best Sellers department or leaf subcategory URL containing /zgbs/ or /gp/bestsellers/ (for example, `https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics`).

**📊 Can I track rank changes over time? <br>**
Yes. Each record includes integer `rank` and ISO `scrapedAt` timestamp so you can schedule recurring runs and chart ASIN rank trajectories in Sheets or SQL.

**🛡️ Do I need proxies or an Amazon Seller account? <br>**
**No — everything works out of the box with zero setup.** Paste your /zgbs/ category URLs and run immediately.

### Is it legal to scrape public data with Amazon Best Sellers Scraper?

Our scrapers are ethical and strictly extract publicly accessible web information displayed to unauthenticated visitors—they never access private accounts, gated logins, or non-public personal data. Always review your downstream use case when handling personal identifiers or user-generated content. To learn more, read Apify's guide on [is web scraping legal](https://blog.apify.com/is-web-scraping-legal/).

### Your feedback

We keep Amazon Best Sellers Scraper under active monitoring and maintenance. If a run returns fewer items than expected or Upstream layout changes affect a field, please **open an Issue before leaving a public review** so we can ship a fix fast.

**🛠️ How to report** — Open the Actor's [Issues tab](https://apify.com/misterkhan/amazon-bestsellers-scraper/issues/open) in Apify Console with your run ID and input JSON. <br>
**⏱️ Response time** — We respond within 24 hours on business days. <br>
**⭐ Reviews** — Happy with the data quality? Leaving a quick positive review helps other builders discover reliable Actors! <br>

# Actor input Schema

## `startUrls` (type: `array`):

Paste one or more public target URLs (for example, `https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics`).

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

Maximum number of records to collect per run (Free plan runs collect up to 40 results per run; paid plans support unlimited results).

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
    }
  ],
  "maxItems": 40
}
```

# Actor output Schema

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

All extracted records from Amazon Best Sellers (amazon.com).

## `usage_summary` (type: `string`):

Execution telemetry and extraction summary stored in the default key-value store.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
        }
    ],
    "maxItems": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("misterkhan/amazon-bestsellers-scraper").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 = {
    "startUrls": [{ "url": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics" }],
    "maxItems": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("misterkhan/amazon-bestsellers-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
    }
  ],
  "maxItems": 40
}' |
apify call misterkhan/amazon-bestsellers-scraper --silent --output-dataset

```

## MCP server setup

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

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/k0n3qkL2QKaxYRTd7/builds/H5pXEEh4jR3QQlNHf/openapi.json
