# Amazon Product Scraper (`compx_pro/amazon-product-actor`) Actor

Extract product titles, prices, ratings, reviews, Q\&A, and images from Amazon. Supports product URLs, ASINs, and search queries. Works with amazon.com, amazon.co.uk, amazon.de, and more. No coding required — just paste your URLs and get clean JSON or CSV data instantly.

- **URL**: https://apify.com/compx\_pro/amazon-product-actor.md
- **Developed by:** [Sonjoy Bairagee](https://apify.com/compx_pro) (community)
- **Categories:** E-commerce, Lead generation
- **Stats:** 3 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## 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

Extract detailed product data from Amazon — including prices, ratings, reviews, Q\&A, and more — without any coding required.

### 🚀 What Does This Actor Do?

Amazon Product Scraper lets you collect structured data from Amazon product pages at scale. Simply provide product URLs, ASINs, or search queries, and the actor will return clean, ready-to-use data in JSON or CSV format.

***

### ✅ What Data You Get

| Field | Description |
|-------|-------------|
| `title` | Full product title |
| `price` | Current price |
| `currency` | Currency code (GBP, USD, EUR…) |
| `rating` | Average star rating |
| `reviewCount` | Total number of reviews |
| `asin` | Amazon Standard ID |
| `brand` | Product brand |
| `images` | All product images |
| `description` | Full product description |
| `features` | Bullet point features |
| `reviews` | Top customer reviews |
| `qa` | Customer Q\&A |
| `similarProducts` | Related products |
| `availability` | In stock / Out of stock |
| `url` | Source product URL |

***

### 📥 Input Options

You can provide input in **3 ways**:

#### 1. Product URLs

Paste direct Amazon product links:

```
https://www.amazon.com/dp/B08N5WRWNW
https://www.amazon.co.uk/dp/1405965436
```

#### 2. ASINs

Just the product ID is enough:

```
B08N5WRWNW
1405965436
```

#### 3. Search Queries

Search Amazon like a customer:

```
wireless earbuds
gaming laptop under 1000
```

***

### 🌍 Supported Marketplaces

- 🇺🇸 amazon.com
- 🇬🇧 amazon.co.uk
- 🇩🇪 amazon.de
- 🇫🇷 amazon.fr
- 🇮🇳 amazon.in
- 🇨🇦 amazon.ca
- 🇮🇹 amazon.it
- 🇪🇸 amazon.es

***

### ⚙️ Advanced Settings

| Setting | Default | Description |
|---------|---------|-------------|
| `maxProductsPerSearch` | 20 | Max products per search query |
| `scrapeReviews` | true | Collect customer reviews |
| `maxReviews` | 10 | Number of reviews per product |
| `scrapeQA` | true | Collect Q\&A section |
| `scrapeSimilarProducts` | true | Collect related products |

***

### 📤 Output Example

```json
{
  "title": "One Golden Summer",
  "asin": "1405965436",
  "price": 8.99,
  "currency": "GBP",
  "rating": 4.6,
  "reviewCount": 1284,
  "brand": "Penguin Books",
  "availability": "In Stock",
  "images": ["https://..."],
  "features": ["Bestselling novel", "..."],
  "reviews": [
    {
      "author": "John D.",
      "rating": 5,
      "title": "Absolutely loved it",
      "body": "One of the best books I've read this year..."
    }
  ],
  "qa": [
    {
      "question": "Is this a standalone novel?",
      "answer": "Yes, it can be read independently."
    }
  ]
}
```

***

### 💡 Use Cases

- 📊 **Price Monitoring** — Track price changes daily
- 🔍 **Competitor Research** — Analyze competitor products
- 🛍️ **E-commerce** — Build product catalogs
- 📈 **Market Research** — Discover trends and demand
- ⭐ **Review Analysis** — Understand customer sentiment

***

### ⚡ Getting Started

1. Click **Try for free**
2. Add your Amazon product URLs or search queries
3. Click **Start**
4. Download results as **JSON or CSV**

***

### 📊 Performance

- Scrapes **1 product in ~30-60 seconds**
- Handles **bot detection** automatically
- Retries failed requests up to **5 times**
- Supports **proxy rotation** for reliability

***

### 🆓 Free to Use

This actor is **completely free** to use. You only pay for the Apify platform usage (compute units).

Typical cost: **~$0.01–0.05 per product**

***

### 🛠️ Built With

- [Apify SDK](https://docs.apify.com/sdk/js/)
- [Crawlee](https://crawlee.dev/)
- [Playwright](https://playwright.dev/)

***

### 📬 Support

Having issues? Found a bug? Please create an issue or contact us through the Apify platform.

We typically respond within **24 hours**.

# Actor input Schema

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

List of Amazon product URLs to scrape (any marketplace)

## `asins` (type: `array`):

List of Amazon ASINs to scrape

## `searchQueries` (type: `array`):

Search keywords to find products on Amazon

## `marketplace` (type: `string`):

Amazon marketplace to use for ASIN/search lookups

## `maxProductsPerSearch` (type: `integer`):

Maximum number of products to scrape per search query

## `scrapeReviews` (type: `boolean`):

Extract customer reviews (top reviews)

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per product

## `scrapeQA` (type: `boolean`):

Extract customer questions and answers

## `scrapeSimilarProducts` (type: `boolean`):

Extract similar/related product listings

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

Proxy settings (recommended for Amazon)

## Actor input object example

```json
{
  "productUrls": [
    "https://www.amazon.com/dp/B08N5WRWNW"
  ],
  "asins": [],
  "searchQueries": [],
  "marketplace": "amazon.com",
  "maxProductsPerSearch": 20,
  "scrapeReviews": true,
  "maxReviews": 10,
  "scrapeQA": true,
  "scrapeSimilarProducts": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "productUrls": [
        "https://www.amazon.com/dp/B08N5WRWNW"
    ],
    "asins": [],
    "searchQueries": [],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("compx_pro/amazon-product-actor").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 = {
    "productUrls": ["https://www.amazon.com/dp/B08N5WRWNW"],
    "asins": [],
    "searchQueries": [],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("compx_pro/amazon-product-actor").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 '{
  "productUrls": [
    "https://www.amazon.com/dp/B08N5WRWNW"
  ],
  "asins": [],
  "searchQueries": [],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call compx_pro/amazon-product-actor --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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