# Scrape Amazon Best Sellers

**Use case:** 

Best Sellers lists by category node: each list gives sixty ranked products over two pages, with the rank, the price and the rating. Feed it several nodes and one run covers the whole shelf you care about.

## Input

```json
{
  "searchTerms": [
    "wireless earbuds"
  ],
  "startUrls": [],
  "bestsellerCategories": [
    "electronics",
    "kitchen",
    "toys-and-games",
    "beauty"
  ],
  "department": "",
  "minPrice": 0,
  "maxPrice": 0,
  "sortBy": "",
  "deepScan": false,
  "maxPagesPerSearch": 3,
  "maxItems": 240,
  "fetchProductDetails": false,
  "minRating": 0,
  "minReviews": 0,
  "onlyDiscounted": false,
  "onlyInStock": false,
  "titleContains": "",
  "brandIs": "",
  "onlyChanged": false,
  "emitUnchanged": false,
  "compactOutput": false,
  "dropEmptyFields": false,
  "requestDelaySeconds": 0,
  "requestTimeoutSeconds": 45,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "asin": {
    "label": "Asin",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "price": {
    "label": "Price",
    "format": "integer"
  },
  "listPrice": {
    "label": "List Price",
    "format": "integer"
  },
  "discountPercent": {
    "label": "Discount Percent",
    "format": "integer"
  },
  "rating": {
    "label": "Rating",
    "format": "integer"
  },
  "reviewsCount": {
    "label": "Reviews Count",
    "format": "integer"
  },
  "inStock": {
    "label": "In Stock",
    "format": "boolean"
  },
  "bestsellerRank": {
    "label": "Bestseller Rank",
    "format": "integer"
  },
  "boughtInPastMonth": {
    "label": "Bought In Past Month",
    "format": "string"
  },
  "badge": {
    "label": "Badge",
    "format": "string"
  },
  "keyword": {
    "label": "Keyword",
    "format": "string"
  },
  "url": {
    "label": "Url",
    "format": "string"
  },
  "change_type": {
    "label": "Change type",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Amazon Bestseller Rank Scraper - Prices, ASIN, Product Data](https://apify.com/snow_leo_data/amazon-product-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/snow_leo_data/amazon-product-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/snow_leo_data/amazon-product-scraper.md

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`).
