# Scrape The Highest Rated Products On Amazon

**Use case:** 

Amazon's review-rank order, narrowed further to products with at least a four-star average and a thousand ratings. Products with no rating at all are kept, because missing data is not a mismatch.

## Input

```json
{
  "searchTerms": [
    "air fryer"
  ],
  "startUrls": [],
  "bestsellerCategories": [],
  "department": "",
  "minPrice": 0,
  "maxPrice": 0,
  "sortBy": "review-rank",
  "deepScan": false,
  "maxPagesPerSearch": 10,
  "maxItems": 200,
  "fetchProductDetails": false,
  "minRating": 4,
  "minReviews": 1000,
  "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`).
