# Amazon Product Scraper - Prices, Reviews & ASIN (`flash_scraper/amazon-product-scraper`) Actor

Amazon product scraper by keyword or URL — title, ASIN, brand, numeric price + currency, list price, discount %, rating, reviews, in-stock, category, seller & image, with a 0-100 deal score. Dedup, filters & clean flat rows. Track prices & monitor

- **URL**: https://apify.com/flash\_scraper/amazon-product-scraper.md
- **Developed by:** [Flash Scrape](https://apify.com/flash_scraper) (community)
- **Categories:** E-commerce, SEO tools, Automation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.004 / product result

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Amazon Product Scraper - Prices, Reviews & ASIN

**This Amazon product scraper turns any keyword or URL into a clean product spreadsheet** — one flat row per product with the title, ASIN, brand, a numeric price + currency, list price, computed discount %, star rating, review count, in-stock status, category, seller, image, and a 0–100 deal score. Search Amazon by keyword (or paste product/search URLs), filter to what matters, and export to CSV, JSON, or Excel.

Built for **e-commerce sellers, price trackers, dropshippers, and market researchers** who want structured product data — not a nested scrape. It reads only **public** product pages: no login, no API key.

***

### How to scrape Amazon products

1. Enter **search keywords** (e.g. `wireless earbuds`, `standing desk`) and pick the **marketplace** (US, UK, DE, …). Or paste product / search URLs into `productUrls`.
2. The scraper pulls matching products via the proven [`junglee/amazon-crawler`](https://apify.com/junglee/amazon-crawler) engine.
3. Each product is cleaned: the price object is flattened to a number + currency, the discount % is computed from the list price, the breadcrumb is split into a category array, and the seller object is flattened.
4. Duplicates (same ASIN) are removed, your filters applied, and every product gets a **0–100 deal score** (rating + review volume + discount + availability).
5. You get a clean table to download as CSV, JSON, or Excel — or pull via API.

***

### What data you get

Every row is one product, best deals first:

- **Title, ASIN, and brand.**
- **Price and currency** — flattened to a clean number, plus `listPrice` and a computed `discountPct`.
- **Rating and review count** — social-proof signals.
- **In-stock flag** — `inStock` true/false.
- **Category** — the breadcrumb trail as an array.
- **Seller** — seller name (enable seller scraping for rating/details).
- **Image and product URL.**
- **Features** — bullet-point list (when full details are scraped).
- **A 0–100 deal score** — blends rating, log-scaled review volume, discount %, and availability.

***

### Filters & options

- **Minimum rating** — keep only well-rated products.
- **Minimum reviews** — drop products without social proof.
- **Maximum price** — stay within budget.
- **In-stock only** — drop unavailable items.
- **Brands** — keep only specific brands.
- **Scrape full details** — visit each product page for description + features.
- **Scrape sellers** — collect seller name and rating.

#### Input

| Field | Type | Description |
|---|---|---|
| `searchTerms` | array | Product keywords, one per line. |
| `productUrls` | array | Amazon product / category / search URLs (advanced). |
| `country` | string | Amazon marketplace (US, GB, DE, …). |
| `maxItems` | integer | Max products per keyword. Default `50`. |
| `maxPages` | integer | Search pages per keyword. Default `1`. |
| `scrapeProductDetails` | boolean | Visit product pages for description/features. Default `true`. |
| `scrapeSellers` | boolean | Collect seller info. Default `false`. |
| `minRating` | number | Keep products ≥ this rating (`0` = no filter). |
| `minReviews` | integer | Keep products ≥ this many reviews. |
| `maxPrice` | number | Keep products ≤ this price. |
| `inStockOnly` | boolean | Drop out-of-stock products. |
| `brands` | array | Keep only these brands. |

**Example input:**

```json
{
  "searchTerms": ["wireless earbuds"],
  "country": "US",
  "maxItems": 50,
  "scrapeProductDetails": true,
  "minRating": 4,
  "minReviews": 100,
  "maxPrice": 80,
  "inStockOnly": true
}
```

#### JSON output sample

```json
{
  "deal_score": 91,
  "title": "Acme Wireless Earbuds, ANC, 40h Battery",
  "asin": "B09XYZ1234",
  "brand": "Acme",
  "price": 49.99,
  "currency": "USD",
  "listPrice": 79.99,
  "discountPct": 38,
  "rating": 4.5,
  "reviewsCount": 12840,
  "inStock": true,
  "category": ["Electronics", "Headphones", "Earbud Headphones"],
  "seller": "Acme Official Store",
  "bestsellerRank": 14,
  "image": "https://m.media-amazon.com/images/...jpg",
  "url": "https://www.amazon.com/dp/B09XYZ1234"
}
```

Results render as a clean, sortable table on the Output tab and export to CSV, JSON, or Excel.

***

### Use cases

- **Price tracking & monitoring** — re-run on a schedule to watch prices and discounts.
- **Competitor & market research** — pull a whole category to compare prices, ratings, and brands.
- **Dropshipping / product research** — find high-rating, high-review, discounted products fast.
- **Catalog enrichment** — pull ASIN, brand, images, and categories into your own store.

***

### Use with AI agents & automation

Run this from the Apify **MCP** server so AI agents (Claude, ChatGPT, Cursor) can pull product data as a tool call, schedule runs through **Make**, **n8n**, or **Zapier** to track price drops, or sync the dataset to **Google Sheets** for a live price dashboard. Clean flat JSON drops into pricing pipelines with no glue code.

***

### Pricing

**Pay-per-result — you're charged only for the products delivered after your filters.** Set `maxItems` and use filters to keep cost predictable. See the Apify Store page for the current per-result price.

***

### FAQ

**Do I need an Amazon account or API key?** No. It reads public product pages with no login and no key.

**Can I scrape by ASIN?** Yes — paste the product URL (`https://www.amazon.com/dp/ASIN`) into `productUrls`, or search by keyword.

**Why is a price sometimes missing?** Amazon hides prices on some listings, or shows variant-level pricing. Enable full product details for the most complete data.

**Which marketplaces are supported?** US, UK, Germany, France, Canada, Italy, Spain, India, Japan, Mexico, Brazil, Australia, Netherlands, UAE, and Sweden.

**Is scraping Amazon legal?** This collects **public** product data only. Amazon's terms restrict automated access and Amazon uses anti-bot defenses, so expect occasional partial runs. Use the data for research/monitoring and follow Amazon's terms and local law.

**Can I export to CSV or Google Sheets?** Yes — CSV, JSON, or Excel from the Output tab, or sync to Google Sheets via Make, n8n, or Zapier.

***

### Other Flash Scrape scrapers

- [Indeed Jobs Scraper](https://apify.com/flash_scraper/indeed-jobs-scraper) — Indeed job listings
- [Google Search Results Scraper](https://apify.com/flash_scraper/google-serp-scraper) — Google SERP & rankings
- [Google Maps Leads Scraper](https://apify.com/flash_scraper/google-maps-leads-opener) — Google Maps business leads
- [Yelp Leads Scraper](https://apify.com/flash_scraper/yelp-leads-scraper) — Yelp business leads
- [Instagram Leads Scraper](https://apify.com/flash_scraper/instagram-leads-scraper) — Instagram profile leads
- [TikTok Leads Scraper](https://apify.com/flash_scraper/tiktok-leads-scraper) — TikTok creator leads

# Actor input Schema

## `searchTerms` (type: `array`):

Product keywords to search on Amazon — one per line. e.g. 'wireless earbuds', 'standing desk'.

## `productUrls` (type: `array`):

Amazon product, category, or search-result URLs to scrape directly.

## `country` (type: `string`):

Which Amazon marketplace to scrape.

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

Maximum number of products to scrape per keyword / start URL.

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

How many search-result pages to paginate through per keyword.

## `scrapeProductDetails` (type: `boolean`):

Visit each product page for description, features, and richer fields (slower, higher cost).

## `scrapeSellers` (type: `boolean`):

Also collect the seller name and rating for each product.

## `minRating` (type: `number`):

Keep only products at or above this star rating, 0-5 (0 = no filter).

## `minReviews` (type: `integer`):

Keep only products with at least this many reviews (0 = no filter).

## `maxPrice` (type: `number`):

Keep only products at or below this price (0 = no filter).

## `inStockOnly` (type: `boolean`):

Drop products that are out of stock.

## `brands` (type: `array`):

Keep only these brands (leave empty for all).

## Actor input object example

```json
{
  "searchTerms": [
    "standing desk",
    "yoga mat"
  ],
  "productUrls": [],
  "country": "US",
  "maxItems": 50,
  "maxPages": 1,
  "scrapeProductDetails": true,
  "scrapeSellers": false,
  "minRating": 0,
  "minReviews": 0,
  "maxPrice": 0,
  "inStockOnly": false,
  "brands": []
}
```

# Actor output Schema

## `results` (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 = {
    "searchTerms": [
        "wireless earbuds"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("flash_scraper/amazon-product-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 = { "searchTerms": ["wireless earbuds"] }

# Run the Actor and wait for it to finish
run = client.actor("flash_scraper/amazon-product-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": [
    "wireless earbuds"
  ]
}' |
apify call flash_scraper/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=flash_scraper/amazon-product-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/c8pLPPo8X3Jf7eSgF/builds/Jpq38pOXOJve2f705/openapi.json
