# Amazon Best Sellers Scraper & Rank Tracker (`api_creators/amazon-bestsellers-tracker`) Actor

Track Amazon Best Sellers and New Releases by ASIN. Export the top 100 ranks per category, plus new entries, price changes, and drops between runs.

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

## Pricing

from $0.65 / 1,000 ranked 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 Tracker

Track the ASINs at the top of public Amazon category charts and see what changed between runs. Use it to watch competitors, spot new products entering a category, or flag rank and asking-price changes for a sourcing team.

### How do I track Amazon Best Sellers over time?

Paste a chart URL into `categoryUrls`. Use the same `trackingKey`, chart, rank window, and language for your scheduled runs. The first run exports a baseline. Later runs add the previous rank, the number of places gained or lost, and a status for each result. Enable `changesOnly` to export only entries, movements, chart-price changes, and drops after the baseline.

```json
{
  "categoryUrls": ["https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"],
  "maxItemsPerStartUrl": 100,
  "trackingKey": "us-electronics",
  "changesOnly": true
}
```

Use `depthOfCrawl` to include child categories. Set `maxCharts` to control how many charts the Actor follows. For a one-off export, omit the tracking key.

### What data do I get?

| Field | Meaning |
| --- | --- |
| `asin`, `url`, `marketplace` | Product identifier, Amazon link, and marketplace |
| `chart`, `categoryUrl`, `categoryName` | Category chart and type |
| `position`, `previousPosition`, `rankChange` | Current rank, prior rank, and places gained. Negative numbers indicate a fall. |
| `status` | `snapshot`, `new`, `moved`, `price-changed`, `unchanged`, or `dropped` |
| `chartPrice`, `chartPriceType`, `previousPrice`, `priceChange` | Current and prior chart price and a comparable price change. `offers-from` is the lowest offer shown on the chart. |
| `name`, `thumbnail`, `stars`, `reviewsCount`, `numberOfOffers` | Fields visible on the chart card, when available |
| `price`, `priceType`, `brand` | Product-page fields when enrichment succeeds. Otherwise the row retains available chart fields. |
| `observedAt`, `previousObservedAt` | UTC snapshot timestamps |

Example fields from a live US Electronics capture on November 18, 2026.

```json
{
  "asin": "B08JHCVHTY",
  "position": 1,
  "previousPosition": null,
  "rankChange": null,
  "status": "snapshot",
  "name": "blink plus plan with monthly auto-renewal",
  "chartPrice": 11.99,
  "chartPriceType": "listed",
  "currency": "$",
  "marketplace": "amazon.com",
  "categoryUrl": "https://www.amazon.com/gp/bestsellers/electronics",
  "url": "https://www.amazon.com/dp/B08JHCVHTY"
}
```

### What does a run cost?

Prices in USD per 1,000 output rows. A row uses the enrichment rate only when its product page was successfully parsed. Rows with unavailable details and dropped rows use the chart rate. Error rows and unchanged rows omitted in changes-only mode are free. There is no start fee.

| Mode | Free | Bronze | Silver | Gold, Platinum, Diamond |
| --- | ---: | ---: | ---: | ---: |
| Chart only | $1.50 | $1.20 | $0.90 | $0.65 |
| Product enrichment | $3.25 | $2.75 | $2.10 | $1.60 |

### Can I call the Actor from my API?

Call the synchronous runs endpoint with the Actor identifier and an API token held in the environment. For scheduled runs, use the JSON dataset URL from the run output.

```bash
curl --fail-with-body \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"categoryUrls":["https://www.amazon.com/gp/bestsellers/electronics"],"maxItemsPerStartUrl":20}' \
  "https://api.apify.com/v2/acts/api_creators~amazon-bestsellers-tracker/run-sync-get-dataset-items"
```

### Which charts and fields are available?

- Live coverage has been verified for US and German Best Sellers and US New Releases. Other marketplaces and chart types can return availability errors.
- Amazon can expose up to 100 positions while embedding card details for fewer products. An ASIN and rank can be present when the name, image, or price is missing. Enable `detailedInformation` to fetch product pages for emitted ranked rows. Enrichment can still be unavailable for some products.
- Charts track rank and the public prices displayed at capture time. A dropped row means the ASIN left the comparable rank window.
- An incomplete chart or a budget-truncated export cannot replace the tracking baseline. The run summary reports coverage, errors, traffic, and results per minute.
- For full product, seller, offer, and delivery fields, use the [Amazon Product Scraper](https://apify.com/api_creators/amazon-product-scraper).

Amazon Best Sellers categories and prices can change between runs. This is an independent tracker.

### Local development

Run `npm ci` and `npm test`. For a local live capture, put the example input in `storage/key_value_stores/default/INPUT.json` and run `npm start`. Local runs use a direct connection when no Webshare URL is configured. The Store deployment configuration references the existing Apify proxy secrets.

# Actor input Schema

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

Amazon Best Sellers, New Releases, Movers & Shakers, Most Wished For, or Most Gifted chart URLs. Paste category URLs to monitor specific lists.

## `maxItemsPerStartUrl` (type: `integer`):

Maximum ranks to fetch per chart, including each discovered subcategory. Use 0 for all ranks available, up to 100.

## `depthOfCrawl` (type: `integer`):

1 loads the requested charts. Increase to follow child categories, up to the chart limit below.

## `maxCharts` (type: `integer`):

Maximum number of charts, including your supplied charts and discovered subcategories.

## `language` (type: `string`):

Optional language tag such as en, de, or fr. Amazon may use the marketplace default if it does not support the requested language.

## `detailedInformation` (type: `boolean`):

Fetch public product pages for title, brand, price, rating and image when available. The higher price applies only to successfully enriched rows.

## `trackingKey` (type: `string`):

Optional label such as us-electronics. Use the same key and chart settings in scheduled runs to compare snapshots.

## `changesOnly` (type: `boolean`):

With a tracking key, exports new, moved, price-changed, and dropped rows. The first capture exports the starting snapshot.

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

Maximum number of product enrichment requests at a time. Charts are processed in order.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
  ],
  "maxItemsPerStartUrl": 100,
  "depthOfCrawl": 1,
  "maxCharts": 20,
  "detailedInformation": false,
  "changesOnly": false,
  "maxConcurrency": 4
}
```

# Actor output Schema

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

JSON dataset. Includes free error rows.

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

Rank and change columns.

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

Chart coverage, elapsed time and network traffic.

# 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": [
        "https://www.amazon.com/Best-Sellers-Electronics/zgbs/electronics"
    ]
};

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

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

```

## MCP server setup

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

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/H6RCFVEWMyaTcCqhs/builds/vFr76r0s2Xbpq6mEg/openapi.json
