# Amazon Product Details Scraper — ASINs, BSR, Buy Box (`memo23/amazon-product-details-scraper`) Actor

Paste ASINs or /dp/ links, get the full product page: BSR, buy box, every marketplace offer, variants priced individually, bullets, images, stock and estimated sales, across 21 Amazon markets. Delivery-aware prices by ZIP. Monitoring POSTs an alert when a price moves.

- **URL**: https://apify.com/memo23/amazon-product-details-scraper.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** E-commerce, AI, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 product scrapeds

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 Details Scraper

Give it ASINs or `/dp/` links and get the whole product page back as one clean row per product: price and list price as numbers, BSR, buy box, every other-seller offer, variants with their own prices, bullets, images, stock, estimated monthly sales and the technical-details block. Works across 21 Amazon marketplaces, no login and no Amazon API key.

Need to **find** products by keyword first? That is [Amazon Search & Product Scraper](https://apify.com/memo23/amazon-search). This one is for when you already know which ASINs you want.

### Why use it

- **ASINs are a first-class input, and a typo is reported.** A malformed ASIN is named in the log and skipped. Actors that fold ASINs into a keyword field quietly run a search instead and bill you for rows of unrelated products.
- **Every offer, not just the buy box.** Set the offer count and each product carries the other sellers with price, condition, seller and delivery.
- **Variants priced individually.** A colour or size that costs more comes back with its own price, optionally as its own row.
- **Delivery-aware prices.** Set a ZIP or country and prices and stock reflect that address, the way Amazon shows them to a shopper there.
- **21 marketplaces in one run.** The domain in a URL picks its market, so a mixed list is fine.
- **Monitoring built in.** Re-run on a schedule with the same ASINs and only what changed comes back, with an optional webhook POST.

### Input

```json
{
  "asins": ["B0CRMZHDG8", "B0B3BVWJ6Y"],
  "marketplaces": ["com"],
  "enrichDetails": true,
  "maxOffers": 5
}
```

| Field | Type | Description |
| --- | --- | --- |
| `asins` | array | ASINs to open — ten characters of A-Z and 0-9. A `/dp/` URL works here too. Malformed entries are reported and skipped. |
| `startUrls` | array | Amazon `/dp/` product URLs. The domain picks the marketplace. |
| `marketplaces` | array | Which markets to run each ASIN on. Default `["com"]`. |
| `enrichDetails` | boolean | Open the product page for BSR, variants, buy box, bullets, images, stock and estimated sales. Default `true` here. |
| `maxOffers` | integer | Other-seller offers per product. `0` collects none. |
| `scrapeProductVariantPrices` | boolean | Fetch each variant's own price instead of inheriting the parent's. |
| `maxProductVariantsAsSeparateResults` | integer | Emit up to this many variants as their own rows. |
| `countryCode` / `zipCode` | string | Delivery address for prices and stock. |
| `locationDeliverableRoutes` | array | Which fetches the delivery address applies to. |
| `language` | string | Amazon interface language for the response. |
| `maxItems` | integer | Hard cap on rows for the run. |
| `monitorMode` | string | `off`, or a mode that returns only what changed since the last run under the same monitor name. |
| `monitorName` / `webhookUrl` | string | Monitor identity, and where to POST when something changes. |

### Output

One row per product. With `enrichDetails` on, the detail block is filled in; with it off you get the listing-level fields only.

```json
{
  "asin": "B0CRMZHDG8",
  "title": "STANLEY Quencher H2.0 Flow State Tumbler, 40 oz, Fuchsia",
  "url": "https://www.amazon.com/dp/B0CRMZHDG8",
  "price": "$45.00",
  "priceValue": 45,
  "listPrice": null,
  "currency": "USD",
  "rating": 4.6,
  "reviewCount": 92431,
  "marketplace": "com",
  "bestSellersRank": [{ "category": "Home & Kitchen", "rank": 112 }],
  "buyBox": { "seller": "Amazon.com", "price": "$45.00" },
  "variants": [],
  "offers": [],
  "stock": "In Stock",
  "estimatedMonthlySales": null
}
```

Export as JSON, CSV, Excel or XML, or read it from the API.

### Use cases

- **Repricing and competitor watch** — track a basket of ASINs and get a webhook when a price or the buy box moves.
- **Catalogue enrichment** — turn a supplier's ASIN list into full product records with images and specs.
- **Buy-box and seller analysis** — see who else sells a product, at what price and condition.
- **Market comparison** — run the same ASIN across `com`, `co.uk` and `de` to compare price and availability.
- **Variant-level pricing** — capture per-size or per-colour prices rather than one headline figure.

### Cost

Pay per event: a small actor start, one charge per product row, and optional charges for the enriched detail page, each marketplace offer and each delivery-aware lookup. Turn `enrichDetails` off, leave `maxOffers` at 0 and set no ZIP to pay only the row charge. The live rates are on the Pricing tab.

### FAQ

**Do I need an Amazon account or API key?** No.

**What is an ASIN?** Amazon's ten-character product id, the part after `/dp/` in a product URL.

**I pasted something into ASINs and it was skipped.** It was not ten characters of A-Z and 0-9. The log names every skipped entry. Keywords belong in [Amazon Search & Product Scraper](https://apify.com/memo23/amazon-search).

**Why is a field empty?** Amazon does not publish every field on every product, and some appear only for certain categories or marketplaces. Estimated monthly sales needs a BSR to work from.

**Can I get historical prices?** Not from Amazon's page, which shows the current price. Run this on a schedule with monitoring on and you build your own history.

### Support

Open an issue on the Issues tab and include the run ID.

### 🤖 For AI agents & LLM apps

Callable over the Apify API and MCP. Pass `asins` for known products; one row per product with nested `offers` and `variants` arrays suits retrieval directly. Leave `enrichDetails` on for the full record, turn it off for a cheap price-and-rating lookup.

### ⚠️ Disclaimer

This Actor collects publicly available information from Amazon product pages. Use the data in line with Amazon's terms and applicable law. You are responsible for how you use what you collect.

# Actor input Schema

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

The products to open, as ASINs — ten characters of A-Z and 0-9, e.g. <code>B0CX1234ZZ</code>. A <code>/dp/</code> URL pasted here works too. A malformed entry is reported in the log and skipped.

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

Amazon <code>/dp/</code> product URLs. The domain picks the marketplace, so a mix of markets in one list is fine. A search or category URL works as well, but keyword discovery belongs in <a href="https://apify.com/memo23/amazon-search">Amazon Search & Product Scraper</a>.

## `marketplaces` (type: `array`):

Which Amazon marketplaces the keyword / ASIN queries run on. Prices come back in the marketplace currency with the ISO code attached. Start URLs ignore this and use the domain in the URL.

## `enrichDetails` (type: `boolean`):

Open each product page for BSR, variants, buy box, bullets, images, stock, estimated monthly sales, question count and the technical-details block. Billed per enriched product.

## `maxOffers` (type: `integer`):

How many other-seller offers to collect per product — price, condition, seller and delivery. 0 collects none. Billed per offer.

## `scrapeProductVariantPrices` (type: `boolean`):

Fetch each variant's /dp/ page and write price / priceValue onto the parent's variants\[] list. Extra fetches — leave off unless you need those prices.

## `maxProductVariantsAsSeparateResults` (type: `integer`):

Fetch other colour/size ASINs and emit each as its own row (parentAsin set). 0 keeps variants only on the parent. Each extra row is a normal product result.

## `countryCode` (type: `string`):

ISO country for Amazon's delivery location (e.g. US, DE, GB). Combined with zip code. Prices and availability follow this address when Amazon honours it.

## `zipCode` (type: `string`):

Postal code for Amazon's delivery location (e.g. 10001). Prices and availability follow this address when Amazon honours it. With a zip code or a delivery country set, each product scraped is billed as a Delivery location event ($0.0005).

## `locationDeliverableRoutes` (type: `array`):

Which page types get the zip/country. Default is product pages, search, and offers.

## `language` (type: `string`):

Accept-Language hint (en, de, fr, es, it, ja, nl, pl, pt, sv, tr, ar). If the marketplace does not speak it, Amazon falls back to the domain default.

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

Hard ceiling of product rows across the whole run. Also capped by your plan and charge limit.

## `monitorMode` (type: `string`):

Schedule the same input to receive only what changed. "Price changes" emits new products and price moves; "Buy Box changes" also emits winner, FBA and stock moves (turns on product-page enrich); "All changes" adds rating and review-count moves. The first run builds the baseline and returns all products. Runs that find no changes publish no billable rows.

## `monitorName` (type: `string`):

Stable name for the monitoring baseline — use the same name (with the same queries/marketplaces) on every scheduled run of the same watch. Example: "competitor-asins-us".

## `webhookUrl` (type: `string`):

HTTPS endpoint that receives a JSON POST with the changed rows whenever a monitor run finds changes (never on the first baseline run). Works with Slack incoming webhooks, Zapier/Make catch hooks, or your own backend. Payload: { event: "amazon-products.changes", monitorName, totalChanges, countsByChangeType, rows }. Example: "https://hooks.zapier.com/hooks/catch/123/abc".

## `proxyCountry` (type: `string`):

Override the residential exit country (ISO2, e.g. us, de, gb). Leave empty to pin the exit to the Amazon domain (recommended).

## `concurrency` (type: `integer`):

How many listing pages to fetch in parallel (1–20). The default is safe for any memory size.

## `proxy` (type: `object`):

Leave unset for the built-in residential setup (recommended: Amazon blocks datacenter IPs). To use your own proxies instead, pick "Own proxies" and paste their URLs; Apify Proxy groups set here are ignored.

## Actor input object example

```json
{
  "asins": [
    "B0CRMZHDG8",
    "B0B3BVWJ6Y"
  ],
  "marketplaces": [
    "com"
  ],
  "enrichDetails": true,
  "maxOffers": 0,
  "scrapeProductVariantPrices": false,
  "maxProductVariantsAsSeparateResults": 0,
  "locationDeliverableRoutes": [
    "PRODUCT",
    "OFFERS"
  ],
  "maxItems": 100,
  "monitorMode": "off",
  "concurrency": 6
}
```

# Actor output Schema

## `products` (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 = {
    "asins": [
        "B0CRMZHDG8",
        "B0B3BVWJ6Y"
    ],
    "marketplaces": [
        "com"
    ],
    "enrichDetails": true,
    "maxOffers": 0,
    "maxProductVariantsAsSeparateResults": 0,
    "locationDeliverableRoutes": [
        "PRODUCT",
        "OFFERS"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/amazon-product-details-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": [
        "B0CRMZHDG8",
        "B0B3BVWJ6Y",
    ],
    "marketplaces": ["com"],
    "enrichDetails": True,
    "maxOffers": 0,
    "maxProductVariantsAsSeparateResults": 0,
    "locationDeliverableRoutes": [
        "PRODUCT",
        "OFFERS",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("memo23/amazon-product-details-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": [
    "B0CRMZHDG8",
    "B0B3BVWJ6Y"
  ],
  "marketplaces": [
    "com"
  ],
  "enrichDetails": true,
  "maxOffers": 0,
  "maxProductVariantsAsSeparateResults": 0,
  "locationDeliverableRoutes": [
    "PRODUCT",
    "OFFERS"
  ],
  "maxItems": 100
}' |
apify call memo23/amazon-product-details-scraper --silent --output-dataset

```

## MCP server setup

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