# 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:** 2 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Product Scraper",
        "description": "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.",
        "version": "0.0",
        "x-build-id": "cbrv6h2HyCpqZKPpv"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/compx_pro~amazon-product-actor/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-compx_pro-amazon-product-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/compx_pro~amazon-product-actor/runs": {
            "post": {
                "operationId": "runs-sync-compx_pro-amazon-product-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/compx_pro~amazon-product-actor/run-sync": {
            "post": {
                "operationId": "run-sync-compx_pro-amazon-product-actor",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "productUrls": {
                        "title": "Product URLs",
                        "type": "array",
                        "description": "List of Amazon product URLs to scrape (any marketplace)",
                        "items": {
                            "type": "string"
                        }
                    },
                    "asins": {
                        "title": "ASINs",
                        "type": "array",
                        "description": "List of Amazon ASINs to scrape",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQueries": {
                        "title": "Search Queries",
                        "type": "array",
                        "description": "Search keywords to find products on Amazon",
                        "items": {
                            "type": "string"
                        }
                    },
                    "marketplace": {
                        "title": "Marketplace",
                        "enum": [
                            "amazon.com",
                            "amazon.co.uk",
                            "amazon.de",
                            "amazon.in",
                            "amazon.ca",
                            "amazon.fr",
                            "amazon.it",
                            "amazon.es"
                        ],
                        "type": "string",
                        "description": "Amazon marketplace to use for ASIN/search lookups",
                        "default": "amazon.com"
                    },
                    "maxProductsPerSearch": {
                        "title": "Max Products Per Search",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Maximum number of products to scrape per search query",
                        "default": 20
                    },
                    "scrapeReviews": {
                        "title": "Scrape Reviews",
                        "type": "boolean",
                        "description": "Extract customer reviews (top reviews)",
                        "default": true
                    },
                    "maxReviews": {
                        "title": "Max Reviews Per Product",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Maximum number of reviews to extract per product",
                        "default": 10
                    },
                    "scrapeQA": {
                        "title": "Scrape Q&A",
                        "type": "boolean",
                        "description": "Extract customer questions and answers",
                        "default": true
                    },
                    "scrapeSimilarProducts": {
                        "title": "Scrape Similar Products",
                        "type": "boolean",
                        "description": "Extract similar/related product listings",
                        "default": true
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings (recommended for Amazon)"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
