# Amazon Product Scraper (`practical_leopard/amazon-product-scraper`) Actor

Scrape Amazon products by keyword, URL or ASIN. Extract price, rating, reviews, brand, seller, images, specs and Best Sellers Rank. No Amazon API needed. 12 marketplaces.

- **URL**: https://apify.com/practical_leopard/amazon-product-scraper.md
- **Developed by:** [Maria Souza](https://apify.com/practical_leopard) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

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

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Amazon Product Scraper

Extract product data from **Amazon** at scale: search by keyword, paste search/category URLs, or scrape individual product pages (`/dp/ASIN`). Works on 12 Amazon marketplaces.

### What data can you get?

| Field | Example |
|---|---|
| `asin` | B0FQFB8FMG |
| `title` | Apple AirPods Pro 3 Wireless Earbuds… |
| `price` / `listPrice` | 199 / 249 |
| `stars` / `reviewsCount` | 4.4 / 17580 |
| `brand`, `seller`, `availability` | Apple, Amazon.com, In Stock |
| `isSponsored`, `isPrime` | false, true |
| `features` | bullet points |
| `images`, `mainImage` | hi-res image URLs |
| `details` | dimensions, weight, model, first available date… |
| `breadcrumbs`, `bestSellersRank` | category path and BSR |

### Use cases

- **Price monitoring** and competitor tracking
- **Product research** for Amazon FBA / dropshipping
- **Market analysis**: ratings, reviews and pricing across a niche
- Feeding catalogs, dashboards or AI pipelines with fresh product data

### How to use

1. Add one or more **Search keywords** (e.g. `wireless earbuds`) and/or **Start URLs**.
2. Pick the **Amazon domain** for keyword searches.
3. Set **Max products** and **Max search pages**.
4. Turn off **Scrape full product details** if you only need search-level data (faster and cheaper).
5. Click **Start** and download results as JSON, CSV, Excel or via API.

#### Example input

```json
{
  "searchKeywords": ["wireless earbuds", "mechanical keyboard"],
  "startUrls": [{ "url": "https://www.amazon.com/dp/B0FQFB8FMG" }],
  "domain": "amazon.com",
  "maxItems": 100,
  "maxPagesPerSearch": 3,
  "scrapeProductDetails": true
}
```

#### Example output

```json
{
  "asin": "B0FQFB8FMG",
  "title": "Apple AirPods Pro 3 Wireless Earbuds with Active Noise Cancellation",
  "url": "https://www.amazon.com/dp/B0FQFB8FMG",
  "price": 199,
  "listPrice": 249,
  "currency": "$",
  "stars": 4.4,
  "reviewsCount": 17580,
  "brand": "Apple",
  "availability": "In Stock",
  "seller": "Amazon.com",
  "mainImage": "https://m.media-amazon.com/images/I/61solmQSSlL._AC_SL1500_.jpg"
}
```

### Tips

- **Residential proxies** (default) give the best success rate on Amazon.
- Duplicate ASINs across keywords are saved only once.
- Blocked requests are automatically retried with a fresh session.

### Is it legal to scrape Amazon?

This actor only extracts publicly available product information. You are responsible for complying with Amazon's terms and applicable laws in your jurisdiction, and you should not collect personal data.

### Feedback

Found a bug or need an extra field? Open an issue in the **Issues** tab, it's usually fixed quickly.

# Actor input Schema

## `searchKeywords` (type: `array`):

Keywords to search on Amazon (e.g. "wireless earbuds").

## `startUrls` (type: `array`):

Amazon search, category or product (/dp/ASIN) URLs.

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

Marketplace used for keyword searches.

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

Maximum number of products to save.

## `maxPagesPerSearch` (type: `integer`):

How many result pages to paginate through.

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

Open each product page for brand, seller, images, features, specs and BSR. Disable for faster, cheaper search-only results.

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

Residential proxies are strongly recommended for Amazon.

## Actor input object example

```json
{
  "searchKeywords": [
    "wireless earbuds"
  ],
  "domain": "amazon.com",
  "maxItems": 50,
  "maxPagesPerSearch": 3,
  "scrapeProductDetails": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchKeywords": [
        "wireless earbuds"
    ]
};

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

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

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

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

```

## CLI example

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,practical_leopard/amazon-product-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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