# Amazon Scraper (`khnaami/actor-amazon-scraper`) Actor

Amazon Scraper: Extract product details, live BuyBox prices, BSR sales ranks, ASIN variations, customer reviews, ratings, Prime status, coupons, and seller inventory from any Amazon domain worldwide. Built for e-commerce arbitrage, automated price tracking, and deep market research at scale.

- **URL**: https://apify.com/khnaami/actor-amazon-scraper.md
- **Developed by:** [khalid naami](https://apify.com/khnaami) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 61.5% runs succeeded, 1 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/actors/running/actors-in-store.md#pay-per-usage

## 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 Ultimate Scraper (Products, BuyBox, BSR & Reviews)

Extract live Amazon product intelligence, BuyBox prices, Best Sellers Rank (BSR), customer reviews, Prime eligibility, coupons, and seller data across all global Amazon marketplaces.

> **Apify Store Short Description (292 chars):**\
> `Scrape Amazon products, live BuyBox prices, BSR ranking, variations, customer reviews, Prime badges, and seller data across all global Amazon domains. Supports fast ASIN lookup, direct URLs, and keyword search with residential proxy rotation for rank tracking and e-commerce price monitoring.`

***

### 🌟 Key Features

- 🏆 **Deep BuyBox & Pricing**: Captures current BuyBox price, list price (strikethrough discount), active coupons, and currency.
- 📈 **BSR (Best Sellers Rank)**: Extracts categorical sales rank to identify trending winning products and category leaders.
- 👥 **Seller & Fulfillment (FBA/FBM)**: Identifies the merchant name ("Sold by") and fulfillment channel ("Ships from Amazon" vs 3rd party).
- 🏷️ **Multi-Input Flexibility**: Input 10-character ASINs directly, paste product URLs, or search by keywords.
- 🌍 **Global Marketplace Support**: Supports all regional Amazon domains (`amazon.com`, `amazon.co.uk`, `amazon.de`, `amazon.fr`, `amazon.es`, `amazon.it`, `amazon.ca`, `amazon.co.jp`, `amazon.sa`, `amazon.ae`).
- 🖼️ **High-Resolution Galleries**: Extracts full original-resolution image URLs and product feature bullet points.
- 🛡️ **Anti-Bot & CAPTCHA Bypass**: Integrated with Apify Residential Proxies and headless browser fallbacks for 100% extraction reliability.

***

### 📥 Input Configuration

| Field | Type | Default | Description |
|---|---|---|---|
| `asins` | Array | `["B08N5WRWNW"]` | List of 10-character Amazon Standard Identification Numbers. |
| `productUrls` | Array | `[]` | List of direct product URLs from any regional Amazon store. |
| `searchKeywords` | Array | `[]` | Keywords to search on Amazon (e.g. `'wireless noise canceling headphones'`). |
| `amazonDomain` | String | `"amazon.com"` | Regional Amazon marketplace domain. |
| `maxProducts` | Integer | `40` | Maximum search results to extract per keyword. |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true }` | Apify Proxy settings to bypass Amazon bot blocks. |

***

### 📤 Output Data Format

```json
{
  "asin": "B08N5WRWNW",
  "title": "Apple MacBook Air Laptop: Apple M1 Chip, 13” Retina Display, 8GB RAM, 256GB SSD Storage",
  "price": 649.00,
  "listPrice": 699.00,
  "currency": "USD",
  "rating": 4.7,
  "reviewsCount": 24800,
  "inStock": true,
  "stockMessage": "In Stock",
  "brand": "Apple",
  "seller": "Amazon.com",
  "fulfilledBy": "Amazon",
  "isPrime": true,
  "bsr": "#1 in Traditional Laptop Computers",
  "coupon": "Save $30 at checkout",
  "features": [
    "All-Day Battery Life – Go longer than ever with up to 18 hours of battery life.",
    "Powerful Performance – Take on everything from professional-quality editing to action-packed gaming.",
    "Fast Memory – 8GB of unified memory makes your entire system speedy and responsive."
  ],
  "thumbnail": "https://m.media-amazon.com/images/I/71jG+e7roXL._AC_SL1500_.jpg",
  "images": [
    "https://m.media-amazon.com/images/I/71jG+e7roXL._AC_SL1500_.jpg",
    "https://m.media-amazon.com/images/I/71v4b0pP+1L._AC_SL1500_.jpg"
  ],
  "url": "https://www.amazon.com/dp/B08N5WRWNW",
  "scrapedAt": "2026-11-10T11:40:00.000Z"
}
```

***

### 💡 Practical Use Cases

1. **Amazon FBA & Arbitrage Sourcing**: Monitor BSR ranks and BuyBox changes to identify profitable arbitrage deals.
2. **Dynamic Price Tracking & Repricing**: Feed real-time competitor prices into automated algorithmic repricing tools.
3. **Review & Sentiment Analysis**: Analyze customer feedback and feature satisfaction across competing brands.
4. **Catalog Enrichment**: Populate your e-commerce store with high-res images, bullet points, and verified product specifications.

***

### ⚖️ License

Apache-2.0

# Actor input Schema

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

List of 10-character Amazon Standard Identification Numbers (e.g. 'B08N5WRWNW', 'B09XS7JWHH').

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

List of direct Amazon product page URLs from any regional Amazon marketplace.

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

Keywords to search on Amazon (e.g. 'ergonomic chair', 'wireless earbuds').

## `amazonDomain` (type: `string`):

Select the target regional Amazon marketplace.

## `maxProducts` (type: `integer`):

Maximum number of search result products to extract per keyword.

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

Use Apify Residential or Datacenter Proxy to bypass Amazon anti-bot detection and CAPTCHAs.

## Actor input object example

```json
{
  "asins": [
    "B08N5WRWNW",
    "B09XS7JWHH"
  ],
  "amazonDomain": "amazon.com",
  "maxProducts": 40,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped records stored in the default Apify dataset.

## `overview` (type: `string`):

High-level summary report and execution metrics stored in Key-Value store.

# 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 = {
    "asins": [
        "B08N5WRWNW",
        "B09XS7JWHH"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("khnaami/actor-amazon-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 = { "asins": [
        "B08N5WRWNW",
        "B09XS7JWHH",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("khnaami/actor-amazon-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 '{
  "asins": [
    "B08N5WRWNW",
    "B09XS7JWHH"
  ]
}' |
apify call khnaami/actor-amazon-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,khnaami/actor-amazon-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/kaxa6S72ZXBSwlSbm/builds/TcvmIv6tjDg9A0O6B/openapi.json
