# Amazon Product Scraper — Price, Rating, Reviews & Images (`hichemdev/amazon-product-scraper`) Actor

Scrape Amazon products by search term or URL/ASIN: title, price, rating, review count, availability, brand, features, and images.

- **URL**: https://apify.com/hichemdev/amazon-product-scraper.md
- **Developed by:** [Hichem Ben Moussa](https://apify.com/hichemdev) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 products

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/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 — Price, Rating, Reviews & Images

**Scrape Amazon products by search term or product URL/ASIN — get title, price, rating, review count, availability, brand, features, and images as clean structured data.**

No Amazon account, no API keys. Search a keyword or paste product links and export to CSV, Excel, JSON, or Google Sheets.

***

### ✨ What you get for every product

| Field | Example |
|---|---|
| **asin** | B09B8V1LZ3 |
| **title** | Wireless Earbuds Bluetooth 5.3 Headphones |
| **brand** | SoundCore |
| **price / currency** | 39.99 · $ |
| **rating** | 4.5 |
| **reviewsCount** | 12,480 |
| **availability** | In Stock |
| **features** | bullet-point highlights |
| **images / thumbnail** | full-resolution image URLs |
| **url** | canonical product link |

***

### 🎯 Who it's for

- **E-commerce & retail** — track competitor pricing, ratings, and availability.
- **Dropshippers & sellers** — research products and niches at scale.
- **Price-monitoring tools** — schedule daily runs and diff the results.
- **Market researchers** — pull hundreds of products for a category in minutes.

***

### 🚀 How to use it

1. Enter **search terms** (e.g. `wireless earbuds`) **and/or** paste **product URLs or ASINs**.
2. Pick the **Amazon domain** (`amazon.com`, `amazon.co.uk`, `amazon.de`, …).
3. Set **max items** per search term.
4. Click **Start** and export.

Amazon blocks datacenter traffic, so the Actor uses **residential proxy** (included in your Apify plan) for reliable results.

***

### 📥 Example input

```json
{
  "searchTerms": ["wireless earbuds"],
  "domain": "amazon.com",
  "maxItems": 30
}
```

Scrape specific products:

```json
{
  "productUrls": ["B09B8V1LZ3", "https://www.amazon.com/dp/B0BDHWDR12"],
  "domain": "amazon.com"
}
```

***

### 📤 Example output

```json
{
  "asin": "B09B8V1LZ3",
  "title": "Wireless Earbuds Bluetooth 5.3 Headphones",
  "brand": "SoundCore",
  "price": 39.99,
  "currency": "$",
  "rating": 4.5,
  "reviewsCount": 12480,
  "availability": "In Stock",
  "features": ["50H playtime", "IPX7 waterproof", "USB-C fast charge"],
  "images": ["https://m.media-amazon.com/images/I/61abc....jpg"],
  "thumbnail": "https://m.media-amazon.com/images/I/61abc....jpg",
  "url": "https://www.amazon.com/dp/B09B8V1LZ3",
  "domain": "amazon.com",
  "searchTerm": "wireless earbuds"
}
```

Export to **CSV, Excel, JSON, XML, or Google Sheets**, or pull via the **Apify API**.

***

### 🔌 Integrations & scheduling

- **Schedule** daily/weekly runs to monitor price and stock changes.
- Push results into a **spreadsheet, BI dashboard, or your repricing tool**.
- Pair with a monitor to alert when a price drops or a product goes out of stock.

***

### ❓ FAQ

**Do I need a proxy?**
Yes — Amazon blocks datacenter IPs. The Actor defaults to **residential proxy**, included in your Apify plan. It automatically rotates sessions and retries when Amazon shows a robot check.

**Which marketplaces are supported?**
All major ones: `.com`, `.co.uk`, `.de`, `.fr`, `.es`, `.it`, `.ca`, `.com.au`, `.in`, `.co.jp`, `.com.mx`, `.com.br`, `.nl`.

**Will every field always be present?**
Amazon layouts vary by product and region; occasionally a field (e.g. price for an unavailable item) is `null`. Core fields — ASIN, title, rating, reviews, images — have strong coverage.

**Is scraping Amazon legal?**
It collects publicly visible product information. You're responsible for complying with Amazon's terms and applicable laws. Use it for research, monitoring, and analytics.

***

### 🗺️ Roadmap

- Full review scraping (per-review text, stars, dates)
- Seller & Buy Box info
- Variations (size/color) and per-variant pricing
- Best Seller Rank & category breadcrumbs

***

*Built and maintained by [hichemdev](https://apify.com/hichemdev). Found a bug or want a feature? Open an issue on the Actor's **Issues** tab.*

# Actor input Schema

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

Keywords to search on Amazon, e.g. "wireless earbuds". Each term's search results are scraped up to Max items.

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

Optional. Scrape specific products directly — full Amazon product URLs or bare ASINs (e.g. "B09B8V1LZ3").

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

Which Amazon marketplace to use.

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

Maximum number of products to scrape per search term.

## `proxyConfiguration` (type: `object`):

Amazon blocks datacenter traffic, so a proxy is required. Residential is recommended and included in your Apify plan.

## Actor input object example

```json
{
  "searchTerms": [
    "wireless earbuds"
  ],
  "productUrls": [],
  "domain": "amazon.com",
  "maxItems": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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"
    ],
    "productUrls": [],
    "domain": "amazon.com",
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("hichemdev/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"],
    "productUrls": [],
    "domain": "amazon.com",
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("hichemdev/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"
  ],
  "productUrls": [],
  "domain": "amazon.com",
  "maxItems": 5
}' |
apify call hichemdev/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/eswdeOJREsAJ08YP6/builds/FnDz4y92I0FUNsWcG/openapi.json
