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

Extract product titles, ASINs, prices, ratings, reviews, stock status, delivery estimates, features, specs, seller info, and bestseller ranks from any Amazon product URL.

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

## Pricing

Pay per event + usage

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 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 - Ultimate E-commerce Data Extraction Tool

**Extract comprehensive product data with our powerful **Amazon Product Scraper**! This Apify actor enables批量 scraping of product details including pricing, availability, specifications, ratings, and seller information with smart rate limiting.**

---

### 📋 Overview

Need to monitor competitors, track prices, or analyze product trends? This **Amazon Product Scraper** delivers:

- 💰 **Complete Pricing Data** - Current price, list price, shipping costs
- 📊 **Rich Product Details** - Titles, brands, ASINs, descriptions, features
- ⭐ **Engagement Metrics** - Star ratings, review counts, purchase velocity
- 🏷️ **Seller Intelligence** - Merchant info, stock status, delivery estimates
- 🎯 **Smart Scraping** - Adjustable delays (1.5-4 seconds) to avoid detection

Perfect for price monitoring 💹, market research 📈, competitor analysis 🔍, and dropshipping operations 🚚!

---

### ⭐ Core Capabilities of Amazon Product Scraper

#### 💵 Pricing Intelligence
- **Current Price** - Real-time product pricing with currency
- **List Price** - Original/Manufacturer suggested price
- **Shipping Costs** - FREE shipping detection
- **Price History Ready** - Track fluctuations over time

#### 📦 Product Information
- **Complete Titles** - Full product names with features
- **ASIN Extraction** - Amazon Standard Identification Number
- **Brand Recognition** - Manufacturer/brand identification
- **Stock Status** - Real-time inventory availability
- **Best Seller Ranks** - Category positioning data

#### ⭐ Engagement & Social Proof
- **Star Ratings** - Average customer ratings (0-5 scale)
- **Review Counts** - Total verified purchase reviews
- **Purchase Velocity** - "X bought last month" metrics
- **Bestseller Badges** - Category rank tracking

#### 🔧 Advanced Scraping Features
- **Concurrent Processing** - Adjustable threads (1-10)
- **Smart Rate Limiting** - Configurable delays (min/max ms)
- **URL Cleaner** - Works with any Amazon URL format
- **Proxy Ready** - Residential IP rotation support

---

### ⚙️ Input Configuration

Simply enter Amazon product URLs, set scraping speed, and let the **Amazon Product Scraper** work:

```json
{
  "productUrls": [
    "https://www.amazon.com/Samsung-Unlocked-Smartphone-Charging-Warranty/dp/B0G4SW3XXP",
    "https://www.amazon.com/BISSELL-Allergen-Lift-Off-Tangle-Free-39883/dp/B0DP5JNLQR"
  ],
  "maxConcurrency": 3,
  "minDelayMs": 1500,
  "maxDelayMs": 4000
}
````

#### 📝 Input Specifications

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `productUrls` | Array | ✅ Yes | - | Amazon product URLs to scrape |
| `maxConcurrency` | Integer | ❌ No | 3 | Parallel requests (1-10 recommended) |
| `minDelayMs` | Integer | ❌ No | 1500 | Minimum delay between requests (ms) |
| `maxDelayMs` | Integer | ❌ No | 4000 | Maximum delay between requests (ms) |

***

### 📤 Output Structure

Your **Amazon Product Scraper** produces comprehensive product data:

```json
[
  {
    "title": "Samsung Galaxy S26 Ultra, Unlocked Android Smartphone, 512GB...",
    "url": "https://www.amazon.com/dp/B0G4SW3XXP",
    "asin": "B0G4SW3XXP",
    "inStock": true,
    "inStockText": "In Stock",
    "brand": "Samsung",
    "price": {"value": 1215, "currency": "$"},
    "listPrice": {"value": 1499.99, "currency": "$"},
    "shippingPrice": "FREE",
    "stars": 4.7,
    "reviewsCount": 1416,
    "thumbnailImage": "https://...",
    "description": "Full product description text...",
    "features": ["Feature 1", "Feature 2", "Feature 3"],
    "delivery": "Friday, June 19",
    "boughtLastMonth": "1K+ bought",
    "bestSellerRank": ["#235 in Cell Phones", "#4 in Cell Phones"],
    "productDetails": {
      "Brand": "Samsung",
      "Operating System": "Android 16",
      "RAM": "12 GB",
      "Storage": "512 GB"
    },
    "colorsAvailable": [
      {"color": "Cobalt Violet", "asin": "B0G4SWN34T"}
    ],
    "sellerInfo": {"merchant_info": "Sold by Amazon Resale"}
  }
]
```

#### 📖 Output Field Documentation

**🔹 Product Identification**
| Field | Description |
|-------|-------------|
| `title` | Complete product title with specifications |
| `asin` | Amazon's unique product identifier |
| `url` | Original product URL (cleaned) |
| `brand` | Manufacturer/brand name |

**🔹 Pricing & Availability**
| Field | Description |
|-------|-------------|
| `price` | Current selling price with currency |
| `listPrice` | MSRP/original price (if discounted) |
| `shippingPrice` | Shipping cost ("FREE" or amount) |
| `inStock` | Boolean stock availability status |
| `delivery` | Estimated delivery date |

**🔹 Social Proof Metrics**
| Field | Description |
|-------|-------------|
| `stars` | Average customer rating (0-5) |
| `reviewsCount` | Total number of reviews |
| `boughtLastMonth` | Recent purchase velocity indicator |
| `bestSellerRank` | Category ranking positions |

**🔹 Product Content**
| Field | Description |
|-------|-------------|
| `description` | Full product description text |
| `features` | Array of bullet-point features |
| `thumbnailImage` | Primary product image URL |
| `productDetails` | Technical specifications table |
| `colorsAvailable` | Color variants with ASINs |
| `sellerInfo` | Merchant/seller information |

***

### 🎯 What Makes This Amazon Product Scraper Unique?

#### Intelligent Scraping Engine

- **Human-like Delays** - Random intervals between requests (1.5-4 seconds)
- **Concurrency Control** - Balance speed and safety
- **URL Normalization** - Handles any Amazon URL format
- **Session Management** - Maintains consistent browsing context

#### Complete Data Extraction

- **Full Description** - Captures all product text
- **Feature Bullets** - Structured benefit listings
- **Tech Specs** - Detailed product attributes
- **Variants** - Color/Size options with ASINs

#### E-commerce Intelligence

- **Price Monitoring** - Real-time competitive pricing
- **Stock Tracking** - Availability alerts
- **Seller Analysis** - Merchant performance data
- **Demand Signals** - Purchase velocity indicators

***

### 💡 Use Cases for Amazon Product Scraper

- **🛒 Price Monitoring** - Track competitors' pricing strategies
- **📊 Market Research** - Analyze product categories and trends
- **🚚 Dropshipping** - Find profitable products with stock data
- **🔍 SEO Research** - Discover high-ranking product titles
- **💼 Investment Analysis** - Evaluate brand performance metrics
- **📈 Sales Intelligence** - Track review velocity and demand
- **🏷️ Dynamic Pricing** - Power automated repricing tools

***

### ✨ Why Choose Our Amazon Product Scraper?

- **⚡ Production Ready** - Scraped 100K+ products reliably
- **🎯 Accurate Data** - Direct from Amazon's product pages
- **🛡️ Anti-Detection** - Smart delays and request patterns
- **📦 Complete Output** - Everything from prices to specifications
- **💰 Cost Efficient** - Optimized memory and CPU usage
- **🔄 Regular Updates** - Adapts to Amazon's page changes

***

### ⚠️ Limitations

- Respects Amazon's terms of service (non-commercial use)
- Requires valid product URLs (not search result pages)
- Some data may be unavailable for certain product types
- High concurrency may trigger rate limiting (use delays)
- Best for public product pages (not behind login)

***

### 📧 Need Custom Features for Your Amazon Product Scraper?

Want **historical price tracking**, **review sentiment analysis**, **competitor monitoring**, or **custom export formats**?

✉️ Email **<codenest2.0@gmail.com>** for tailored enterprise solutions!

***

# Actor input Schema

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

Enter one or more Amazon product page URLs to scrape. Each entry should be a full Amazon product URL (e.g. https://www.amazon.com/dp/B0XXXXXXXX). You can add multiple URLs.

## `maxConcurrency` (type: `integer`):

Maximum number of product pages to scrape in parallel. Lower values are safer against blocks. Default is 3.

## `minDelayMs` (type: `integer`):

Minimum random delay in milliseconds between requests to mimic human behaviour. Default is 1500ms.

## `maxDelayMs` (type: `integer`):

Maximum random delay in milliseconds between requests. Default is 4000ms.

## Actor input object example

```json
{
  "productUrls": [],
  "maxConcurrency": 3,
  "minDelayMs": 1500,
  "maxDelayMs": 4000
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("codenest/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 = {}

# Run the Actor and wait for it to finish
run = client.actor("codenest/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 '{}' |
apify call codenest/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Product Scraper",
        "description": "Extract product titles, ASINs, prices, ratings, reviews, stock status, delivery estimates, features, specs, seller info, and bestseller ranks from any Amazon product URL.",
        "version": "0.0",
        "x-build-id": "UMbhe6bervUkeST5A"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/codenest~amazon-product-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-codenest-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/codenest~amazon-product-scraper/runs": {
            "post": {
                "operationId": "runs-sync-codenest-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/codenest~amazon-product-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-codenest-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",
                "required": [
                    "productUrls"
                ],
                "properties": {
                    "productUrls": {
                        "title": "Product URLs",
                        "type": "array",
                        "description": "Enter one or more Amazon product page URLs to scrape. Each entry should be a full Amazon product URL (e.g. https://www.amazon.com/dp/B0XXXXXXXX). You can add multiple URLs.",
                        "items": {
                            "type": "string"
                        },
                        "default": []
                    },
                    "maxConcurrency": {
                        "title": "Max Concurrency",
                        "minimum": 1,
                        "maximum": 10,
                        "type": "integer",
                        "description": "Maximum number of product pages to scrape in parallel. Lower values are safer against blocks. Default is 3.",
                        "default": 3
                    },
                    "minDelayMs": {
                        "title": "Minimum Delay (ms)",
                        "minimum": 500,
                        "type": "integer",
                        "description": "Minimum random delay in milliseconds between requests to mimic human behaviour. Default is 1500ms.",
                        "default": 1500
                    },
                    "maxDelayMs": {
                        "title": "Maximum Delay (ms)",
                        "minimum": 500,
                        "type": "integer",
                        "description": "Maximum random delay in milliseconds between requests. Default is 4000ms.",
                        "default": 4000
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
