# Amazon Product Scraper - ASIN, Price, Ratings & Best Sellers (`santhej/amazon-product-scraper`) Actor

Scrape Amazon search results at scale: title, ASIN, price, currency, rating, review count, Amazon's Choice & Best Seller flags, image and product URL. Any keyword, multiple marketplaces. Clean JSON/CSV for price tracking & research. No API keys.

- **URL**: https://apify.com/santhej/amazon-product-scraper.md
- **Developed by:** [Santhej Kallada](https://apify.com/santhej) (community)
- **Categories:** AI, E-commerce, MCP servers
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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 — Prices, ASIN, Ratings, Reviews & Best Sellers

**Scrape Amazon three ways: search results by keyword, full product detail by ASIN, and product reviews by ASIN. Clean structured data for price tracking, product research, and review analysis.**

Search any keyword on any Amazon marketplace and get every product as a row — or pull full detail and reviews for specific ASINs. No proxies, no captchas, no scraping to maintain.

---

### Three modes

Set **`mode`** to choose what to scrape:

- **`search`** — search results by keyword (default).
- **`product_detail`** — full detail for one or more ASINs.
- **`reviews`** — reviews for one or more ASINs.

### What you get — search mode (per product)

- 🆔 **ASIN & title** — the unique product ID and name.
- 💲 **Price & currency** — current listing price (and price range when shown).
- ⭐ **Rating & review count** — social proof at a glance.
- 🏆 **Amazon's Choice & Best Seller** — spot the winning listings.
- 🖼️ **Image & product URL** — link straight to the listing.

### What you get — product detail mode (per ASIN)

- 📋 **Title, brand/seller, description & bullet features**.
- 🧬 **Specifications** — technical details table as structured key/value pairs.
- 🏷️ **Price, currency, discount, availability, Amazon's Choice**.
- ⭐ **Rating, review count & top reviews**.
- 📊 **Bestseller rank** (when listed) and full image/video lists.

### What you get — reviews mode (per review)

- ⭐ **Rating, title & full text**.
- 👤 **Author, verified-purchase flag & date**.
- 👍 **Helpful votes** and the review URL.

### Perfect for

- **Price tracking & repricing** — monitor prices and undercut competitors.
- **Product & niche research** — find best sellers and gaps before you launch.
- **Brand & seller monitoring** — track your listings and competitors'.
- **Dropshipping & arbitrage** — source winning products fast.
- **AI agents** — feed structured product data into automated pipelines and MCP tools.

### How to use it

1. Enter your **search keywords**.
2. Pick the **marketplace** (and matching language locale).
3. Run it — export JSON/CSV or pull via the API.

#### Example input — search

```json
{ "mode": "search", "queries": ["wireless earbuds", "standing desk"], "resultsDepth": 30, "locationCode": "2840", "languageCode": "en_US" }
````

#### Example input — product detail

```json
{ "mode": "product_detail", "asins": ["B0BSHF7WHW"], "locationCode": "2840", "languageCode": "en_US" }
```

#### Example input — reviews

```json
{ "mode": "reviews", "asins": ["B0BSHF7WHW"], "reviewsDepth": 20, "locationCode": "2840", "languageCode": "en_US" }
```

#### Example output (one row per product)

```json
{
  "query": "wireless earbuds",
  "asin": "B0XXXXX",
  "title": "Wireless Earbuds, Bluetooth 5.3…",
  "price": 29.99,
  "currency": "USD",
  "rating": 4.5,
  "reviews_count": 18234,
  "is_amazon_choice": true,
  "is_best_seller": false,
  "url": "https://www.amazon.com/dp/B0XXXXX"
}
```

### Pricing

Pay per result returned — no monthly fee, no minimum. Search products, product-detail records, and reviews are each billed per result.

### FAQ

**Which marketplaces?** US, UK, Germany, France, Italy, Spain, Canada and more — set the marketplace + matching locale.

**Do I need proxies?** No — everything is handled. Just send keywords.

**Can I track prices over time?** Yes — schedule runs and diff the output.

**Good for AI agents?** Yes — clean JSON, ideal for MCP servers, n8n, Make, and LLM agents.

***

*Tags: amazon scraper, amazon product scraper, amazon price tracker, asin scraper, amazon data, ecommerce scraper, product research, amazon api, best sellers, price monitoring.*

# Actor input Schema

## `mode` (type: `string`):

What to scrape: search results by keyword, full product detail by ASIN, or reviews by ASIN.

## `queries` (type: `array`):

What to search on Amazon, e.g. ‘wireless earbuds’, ‘standing desk’. One per line. Up to 100 per run. Used in search mode only.

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

Amazon product ASINs, e.g. ‘B0BSHF7WHW’. One per line. Up to 100 per run. Used in product\_detail and reviews modes.

## `resultsDepth` (type: `integer`):

How many products to return per query (10–100).

## `reviewsDepth` (type: `integer`):

How many reviews to return per ASIN (10–100).

## `locationCode` (type: `string`):

Marketplace country. Default United States. Make sure the language matches the marketplace.

## `languageCode` (type: `string`):

Locale code matching the marketplace: en\_US, en\_GB, de\_DE, fr\_FR, it\_IT, es\_ES, en\_CA.

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "wireless earbuds",
    "standing desk"
  ],
  "asins": [
    "B0BSHF7WHW"
  ],
  "resultsDepth": 30,
  "reviewsDepth": 20,
  "locationCode": "2840",
  "languageCode": "en_US"
}
```

# Actor output Schema

## `dataset` (type: `string`):

All scraped Amazon products.

## `summary` (type: `string`):

Queries and product counts.

# 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 = {
    "queries": [
        "wireless earbuds",
        "standing desk"
    ],
    "asins": [
        "B0BSHF7WHW"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("santhej/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 = {
    "queries": [
        "wireless earbuds",
        "standing desk",
    ],
    "asins": ["B0BSHF7WHW"],
}

# Run the Actor and wait for it to finish
run = client.actor("santhej/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 '{
  "queries": [
    "wireless earbuds",
    "standing desk"
  ],
  "asins": [
    "B0BSHF7WHW"
  ]
}' |
apify call santhej/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Product Scraper - ASIN, Price, Ratings & Best Sellers",
        "description": "Scrape Amazon search results at scale: title, ASIN, price, currency, rating, review count, Amazon's Choice & Best Seller flags, image and product URL. Any keyword, multiple marketplaces. Clean JSON/CSV for price tracking & research. No API keys.",
        "version": "0.0",
        "x-build-id": "eqlNHCRiJfEJUHO3E"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/santhej~amazon-product-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-santhej-amazon-product-scraper",
                "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/santhej~amazon-product-scraper/runs": {
            "post": {
                "operationId": "runs-sync-santhej-amazon-product-scraper",
                "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/santhej~amazon-product-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-santhej-amazon-product-scraper",
                "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": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "search",
                            "product_detail",
                            "reviews"
                        ],
                        "type": "string",
                        "description": "What to scrape: search results by keyword, full product detail by ASIN, or reviews by ASIN.",
                        "default": "search"
                    },
                    "queries": {
                        "title": "Search keywords (search mode)",
                        "maxItems": 100,
                        "type": "array",
                        "description": "What to search on Amazon, e.g. ‘wireless earbuds’, ‘standing desk’. One per line. Up to 100 per run. Used in search mode only.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "asins": {
                        "title": "ASINs (product detail / reviews modes)",
                        "maxItems": 100,
                        "type": "array",
                        "description": "Amazon product ASINs, e.g. ‘B0BSHF7WHW’. One per line. Up to 100 per run. Used in product_detail and reviews modes.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "resultsDepth": {
                        "title": "Results per query (search mode)",
                        "minimum": 10,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many products to return per query (10–100).",
                        "default": 30
                    },
                    "reviewsDepth": {
                        "title": "Reviews per ASIN (reviews mode)",
                        "minimum": 10,
                        "maximum": 100,
                        "type": "integer",
                        "description": "How many reviews to return per ASIN (10–100).",
                        "default": 20
                    },
                    "locationCode": {
                        "title": "Amazon marketplace",
                        "enum": [
                            "2840",
                            "2826",
                            "2276",
                            "2250",
                            "2380",
                            "2724",
                            "2124"
                        ],
                        "type": "string",
                        "description": "Marketplace country. Default United States. Make sure the language matches the marketplace.",
                        "default": "2840"
                    },
                    "languageCode": {
                        "title": "Language (locale)",
                        "type": "string",
                        "description": "Locale code matching the marketplace: en_US, en_GB, de_DE, fr_FR, it_IT, es_ES, en_CA.",
                        "default": "en_US"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
