# Amazon Reviews + Stats Scraper (`wibuild.in/amazon-review-stats-scraper`) Actor

Amazon Reviews + Stats Scraper collects reviews, ratings breakdown, review counts, and helpful-vote stats from Amazon product pages by ASIN. Export clean data to JSON/CSV for analysis, dashboards, or sentiment tracking.

- **URL**: https://apify.com/wibuild.in/amazon-review-stats-scraper.md
- **Developed by:** [Wibuild](https://apify.com/wibuild.in) (community)
- **Categories:** Automation, AI, Agents
- **Features:** Full permissions
- **Stats:** 749 total users, 15 monthly users, 100.0% runs succeeded, 18 bookmarks
- **User rating**: 4.14 out of 5 stars

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Reviews Scraper | Product Reviews + Rating Stats by ASIN

#### Related: [Amazon Link Collection Scraper](https://console.apify.com/actors/sdzY3Wba3K9NqKWW8/source)

**Amazon reviews scraper** for structured **customer reviews**, **star ratings**, and **review statistics** by product **ASIN** across major Amazon marketplaces. Export clean JSON/CSV for sentiment analysis, reputation monitoring, competitor research, and BI dashboards.

Supported Amazon domains:

- `amazon.com`
- `amazon.ca`
- `amazon.co.jp`
- `amazon.co.uk`
- `amazon.in`
- `amazon.de`
- `amazon.ae`
- `amazon.nl`
- `amazon.fr`
- `amazon.it`
- `amazon.es`
- `amazon.com.mx`

Collect reviews with filters for star rating, verified purchase, sort order, product format, and media (text / image / video reviews). Page limits follow Amazon’s available review pages for the selected filters.

***

### Why use this Amazon review scraper?

- **Multi-marketplace** — scrape Amazon reviews from US, UK, Canada, EU, India, Japan, UAE, Mexico, and more from one actor.
- **Reviews + stats in one run** — get individual review text and aggregate rating distribution (5★–1★), average rating, and rating counts.
- **Filterable** — verified purchases only, star filters, recent vs helpful sort, current format vs all formats, image/video-only reviews.
- **Analysis-ready output** — consistent field names for CSV, Excel, Google Sheets, Power BI, Looker, and custom pipelines.
- **ASIN-based** — point at any product ASIN; no manual copy-paste from Amazon review pages.

Ideal keywords this actor covers: Amazon product reviews scraper, Amazon ASIN reviews export, Amazon rating histogram, verified purchase reviews, marketplace review monitoring, e-commerce sentiment data.

***

### What this actor does

Given a product **ASIN** and an Amazon **domain**, the actor:

1. Opens the product’s customer reviews for that marketplace.
2. Applies your filters (stars, verified purchase, sort, format, media).
3. Collects matching reviews up to your `maxPages` setting (or until no more reviews are available).
4. Returns:
   - A **list of reviews** with title, body, rating, date, reviewer, badges, and more.
   - **Aggregate stats** (average rating, global/total rating counts, 5-star–1-star percentages).

***

### Typical use cases

- Monitor **product reputation** and rating trends over time.
- Analyze **customer sentiment**, complaints, and feature requests.
- Compare **review patterns across regions** (e.g. `.com` vs `.co.uk` vs `.de`).
- Track **competitors’ ASINs** and star-distribution shifts.
- Export Amazon reviews to CSV/JSON for **BI tools**, NLP, and data science.
- Build dashboards for **rating distribution**, Vine reviews, and verified-purchase mix.
- Research **marketplace localization** (language, country labels, variant feedback).

***

### Input

The actor accepts a JSON object with the following fields:

| Field          | Type    | Required | Default            | Description |
|----------------|---------|----------|--------------------|-------------|
| `asin`         | string  | **Yes**  | –                  | Amazon Standard Identification Number, e.g. `"B08N5WRWNW"`. |
| `domain`       | string  | **Yes**  | `"ca"`             | Marketplace **without** the `amazon.` prefix. One of: `com`, `ca`, `co.jp`, `co.uk`, `in`, `de`, `ae`, `nl`, `fr`, `it`, `es`, `com.mx`. |
| `maxPages`     | integer | No       | `10`               | Maximum number of review pages to collect. Stops earlier if fewer pages exist for the filter. |
| `sortBy`       | string  | No       | `"recent"`         | `"recent"` or `"helpful"` (Top Rated). |
| `filterByStar` | string  | No       | `"all_stars"`      | `"all_stars"`, `"five_star"`, `"four_star"`, `"three_star"`, `"two_star"`, `"one_star"`. |
| `reviewerType` | string  | No       | `"all_reviews"`    | `"all_reviews"` or `"avp_only_reviews"` (Verified Purchase only). |
| `formatType`   | string  | No       | `"all_formats"`    | `"all_formats"` or `"current_format"`. |
| `mediaType`    | string  | No       | `"all_contents"`   | `"all_contents"` (text, images, videos) or `"media_reviews_only"` (image/video reviews only). |

> Filter availability can vary slightly by marketplace. Unsupported combinations simply return fewer or no matching reviews.

#### Example input

```json
{
  "asin": "B08N5WRWNW",
  "domain": "com",
  "maxPages": 10,
  "sortBy": "recent",
  "filterByStar": "all_stars",
  "reviewerType": "avp_only_reviews",
  "formatType": "all_formats",
  "mediaType": "all_contents"
}
```

#### Example: five-star reviews with media only

```json
{
  "asin": "B08N5WRWNW",
  "domain": "de",
  "maxPages": 5,
  "filterByStar": "five_star",
  "mediaType": "media_reviews_only",
  "sortBy": "helpful"
}
```

***

### Output

Results are written to the default Apify dataset (download as JSON, CSV, Excel, or via API).

Each review item includes fields such as:

```json
{
  "Domain": "com",
  "Asin": "B0DF74L6N2",
  "Product Name": "Cordless Vacuum Cleaner, 600W 50KPA 70Mins Vacuum Cleaners for Home, Stick Vacuum with Charging Dock Station, Anti-tangle Wireless Vacumm, Rechargeable Cordless Vacuum for Pet Hair/Carpet/Hard Floor",
  "Review ID": "R123EXAMPLE",
  "Total Rating Count": "1,965",
  "Rating": 5,
  "Title": "Solid Vacuum!",
  "Review": "This vacuum works very well. The suction is good, the brush motor is strong enough to still spin even if pressure is applied to it, the battery is removable, and it’s lightweight. Even our 5 year old can maneuver it with ease.",
  "Badge": "Verified Purchase",
  "Helpful": "",
  "Username": "Amazon Customer",
  "Review Date": "2025-11-13",
  "Country Name": "United States",
  "Variants": "",
  "Vine Customer": "",
  "Global Rating Count": "2,629",
  "Average Rating": "4.6",
  "5 Star %": 81,
  "4 Star %": 10,
  "3 Star %": 3,
  "2 Star %": 2,
  "1 Star %": 4,
  "Date of Crawling": "2025-11-15"
}
```

> Some fields may be empty or missing depending on the marketplace and the review (for example, not every review has a variant or helpful vote count).
>
> When a product has no matching reviews for your filters, the dataset may contain a short status message instead of review rows.

***

### How limits work

- The actor paginates review results up to `maxPages`.
- If Amazon has fewer pages for your filters, it stops when results end.
- Star, verified-purchase, format, and media filters reduce the set before pagination.
- Global rating counts and star percentages reflect Amazon’s product-level stats where available; they may differ from the number of individual review rows returned under a tight filter.

***

### Tips for better results

- Use the correct **marketplace domain** for the ASIN’s listing country.
- Start with `maxPages: 1` to validate filters, then raise the page count.
- Prefer `avp_only_reviews` when you need higher-signal purchase feedback.
- Use `media_reviews_only` when you care about photo/video social proof.
- Schedule recurring runs on Apify to track rating and review changes over time.

***

### Notes & disclaimer

- This actor is **not affiliated with or endorsed by Amazon**.
- Use it responsibly and in accordance with Amazon’s Terms of Service and your local laws.
- Avoid excessive request volume; schedule runs thoughtfully for production monitoring.

***

# Actor input Schema

## `domain` (type: `string`):

Amazon domain to scrape

## `asin` (type: `string`):

The product's ASIN (e.g., 'B007HQYC86')

## `maxPages` (type: `integer`):

Maximum number of review pages to scrape.

## `sortBy` (type: `string`):

How to sort the reviews.

## `filterByStar` (type: `string`):

Filter reviews by a specific star rating.

## `reviewerType` (type: `string`):

Filter by all reviews or only verified purchases.

## `formatType` (type: `string`):

Filter by reviews for a specific format (e.g., 'current_format').

## Actor input object example

```json
{
  "domain": "ca",
  "asin": "B007HQYC86",
  "maxPages": 1,
  "sortBy": "recent",
  "filterByStar": "all_stars",
  "reviewerType": "all_reviews",
  "formatType": "all_formats"
}
```

# Actor output Schema

## `reviews` (type: `string`):

No description

# 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 = {
    "domain": "ca",
    "asin": "B007HQYC86",
    "maxPages": 1,
    "sortBy": "recent",
    "filterByStar": "all_stars",
    "reviewerType": "all_reviews",
    "formatType": "all_formats"
};

// Run the Actor and wait for it to finish
const run = await client.actor("wibuild.in/amazon-review-stats-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 = {
    "domain": "ca",
    "asin": "B007HQYC86",
    "maxPages": 1,
    "sortBy": "recent",
    "filterByStar": "all_stars",
    "reviewerType": "all_reviews",
    "formatType": "all_formats",
}

# Run the Actor and wait for it to finish
run = client.actor("wibuild.in/amazon-review-stats-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 '{
  "domain": "ca",
  "asin": "B007HQYC86",
  "maxPages": 1,
  "sortBy": "recent",
  "filterByStar": "all_stars",
  "reviewerType": "all_reviews",
  "formatType": "all_formats"
}' |
apify call wibuild.in/amazon-review-stats-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,wibuild.in/amazon-review-stats-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/WNG5tmUNEqbH18D3v/builds/vLyHisRSCkgcBbZVH/openapi.json
