# Amazon Product & Buy Box Scraper (`piotrv1001/amazon-product-buy-box-scraper`) Actor

The Amazon Product & Buy Box Scraper extracts product data by ASIN from Amazon.com, capturing titles, brands, USD prices, availability, star ratings, review counts, images, and the current Buy Box seller — ideal for competitor monitoring, price tracking, and Buy Box analysis.

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

## Pricing

from $4.00 / 1,000 products

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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 & Buy Box Scraper

Extract Amazon product data by ASIN — including **who currently owns the Buy Box**. The **Amazon Product & Buy Box Scraper** turns a list of ASINs into clean, structured rows with price, availability, ratings and the winning seller, so you can track competitors, monitor your own listings, and feed pricing models on a schedule.

Prices always come back in **USD**, no matter where the run happens. Most Amazon scrapers quietly hand you PLN, MXN or NZD when they happen to route through a foreign IP — this one doesn't.

### ✨ Features

- 🏆 **Buy Box seller** — see exactly which merchant is winning the Buy Box on every ASIN, cleaned and deduplicated.
- 💵 **Always-USD pricing** — locale is pinned to the US marketplace, so prices and currency are consistent across every run.
- 🏷️ **Full product detail** — title, brand, price, availability, in-stock flag, star rating, review count and main image.
- 🔗 **ASINs or URLs** — paste bare ASINs (`B01N5IB20Q`) or full Amazon product URLs. Both work, mixed in the same list.
- ✅ **Honest results** — a discontinued ASIN is reported as `found: false` rather than being silently dropped or counted as an error.
- 💰 **Pay only for products** — no start-up fee, no charge for dead ASINs. You pay per product actually scraped.
- ⏱️ **Built for monitoring** — fast enough to re-run a watchlist every day on a schedule.

### 🛠️ How It Works

1. **Add your ASINs** – paste a list of ASINs or Amazon product URLs into the input.
2. **Set a limit** – `maxItems` caps how many products a run will scrape, so costs stay predictable.
3. **Run the scraper** – results stream into your dataset, ready to export as JSON, CSV, Excel or HTML, or to pull straight from the API.

### 📥 Input

```json
{
    "asins": ["B01N5IB20Q", "B0863TXGM3", "B08J65DST5"],
    "maxItems": 50
}
```

| Field                | Type    | Description                                       |
| -------------------- | ------- | ------------------------------------------------- |
| `asins`              | array   | ASINs or Amazon product URLs to scrape. Required. |
| `maxItems`           | integer | Maximum products per run. Default `50`.           |
| `proxyConfiguration` | object  | Proxy settings. The defaults are recommended.     |

### 📊 Sample Output Data

```json
[
    {
        "asin": "B01N5IB20Q",
        "url": "https://www.amazon.com/dp/B01N5IB20Q?th=1&psc=1&language=en_US",
        "found": true,
        "title": "Kingston 240GB A400 SATA 3 2.5\" Internal SSD SA400S37/240G - HDD Replacement for Increase Performance",
        "brand": "Kingston",
        "price": 74.71,
        "currency": "USD",
        "priceText": "$74.71",
        "buyBoxSeller": "Terashack",
        "availability": "In Stock",
        "inStock": true,
        "rating": 4.8,
        "reviewsCount": 205361,
        "imageUrl": "https://m.media-amazon.com/images/I/81+9rUcRVTL._AC_SY300_SX300_QL70_FMwebp_.jpg",
        "scrapedAt": "2026-08-15T14:53:53.100Z"
    },
    {
        "asin": "B0863TXGM3",
        "url": "https://www.amazon.com/dp/B0863TXGM3?th=1&psc=1&language=en_US",
        "found": true,
        "title": "Sony WH-1000XM4 Wireless Premium Noise Canceling Overhead Headphones",
        "brand": "Sony",
        "price": 223.88,
        "currency": "USD",
        "priceText": "$223.88",
        "buyBoxSeller": "Magno Universal LLC",
        "availability": "In stock",
        "inStock": true,
        "rating": 4.6,
        "reviewsCount": 62629,
        "imageUrl": "https://m.media-amazon.com/images/I/61oqO1AMbdL._AC_SY300_SX300_QL70_FMwebp_.jpg",
        "scrapedAt": "2026-08-15T14:53:58.377Z"
    }
]
```

### 📋 Output Fields

| Field          | Type    | Description                                                 |
| -------------- | ------- | ----------------------------------------------------------- |
| `asin`         | string  | The product's ASIN.                                         |
| `url`          | string  | Product page URL that was scraped.                          |
| `found`        | boolean | `false` when the ASIN no longer resolves to a live product. |
| `title`        | string  | Product title.                                              |
| `brand`        | string  | Brand name.                                                 |
| `price`        | number  | Current price as a number, in USD.                          |
| `currency`     | string  | Currency code — `USD`.                                      |
| `priceText`    | string  | Price exactly as displayed on the page.                     |
| `buyBoxSeller` | string  | Merchant currently winning the Buy Box.                     |
| `availability` | string  | Availability text, e.g. `In Stock`, `Only 1 left in stock`. |
| `inStock`      | boolean | Whether the product can be added to the cart.               |
| `rating`       | number  | Average star rating out of 5.                               |
| `reviewsCount` | number  | Total number of ratings.                                    |
| `imageUrl`     | string  | Main product image.                                         |
| `scrapedAt`    | string  | ISO timestamp of when the row was captured.                 |

### 💵 Pricing

This Actor uses a **pay-per-event** model:

| Event           | Price      | When it fires                           |
| --------------- | ---------- | --------------------------------------- |
| Product scraped | **$0.004** | Once per product successfully returned. |

There is **no start-up fee**, and ASINs that turn out to be dead are not charged. Scraping 1,000 products costs **$4.00**. A daily watchlist of 500 ASINs runs about **$60/month**.

Use `maxItems` to put a hard ceiling on any single run.

### 💡 Tips

- **Deduplicate your input.** Repeated ASINs are collapsed automatically, so you are never charged twice for the same product in a run.
- **Schedule it.** Buy Box ownership changes throughout the day — a daily or hourly schedule turns this into a competitor-monitoring feed.
- **Watch `buyBoxSeller`.** When it changes on your own ASIN, you have been out-competed on the Buy Box. That transition is the single most actionable signal here.
- **Batch sensibly.** Large lists work fine; set `maxItems` to match the budget you want to spend on that run.

### ❓ FAQ

**Which Amazon marketplace does this cover?**
The US marketplace (`amazon.com`), with prices normalized to USD.

**Does it return every seller offering the product?**
No — it returns the **Buy Box** seller, which is the offer Amazon actually shows to shoppers and the one that captures the overwhelming majority of sales. The full competing-offer list is not part of this Actor.

**Are prices ZIP-code specific?**
No. Prices are the US national default, not tied to a delivery address.

**What happens with an invalid or discontinued ASIN?**
You get a row with `found: false` so you can tell it apart from a genuine failure — and you are not charged for it.

**Is scraping Amazon legal?**
Scraping publicly available data is generally legal, but you are responsible for how you use the data and for complying with applicable laws and terms. This Actor collects only public product information — no personal data.

### 🐛 Support

Found a problem or need a field that isn't here? Open an issue on the Actor's **Issues** tab and it will be looked at.

Start tracking the Amazon Buy Box with **Amazon Product & Buy Box Scraper** today! 🚀

# Actor input Schema

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

Amazon products to scrape. Paste bare ASINs (for example B01N5IB20Q) or full product URLs — both work.

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

Maximum number of products to scrape in one run. Use it to keep runs predictable and cap your spend.

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

Proxy settings. The defaults are recommended — leave them as they are unless you have a reason to change them.

## Actor input object example

```json
{
  "asins": [
    "B01N5IB20Q",
    "B0863TXGM3",
    "B08J65DST5"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "asins": [
        "B01N5IB20Q",
        "B0863TXGM3",
        "B08J65DST5"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/amazon-product-buy-box-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": [
        "B01N5IB20Q",
        "B0863TXGM3",
        "B08J65DST5",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/amazon-product-buy-box-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": [
    "B01N5IB20Q",
    "B0863TXGM3",
    "B08J65DST5"
  ]
}' |
apify call piotrv1001/amazon-product-buy-box-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/amazon-product-buy-box-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/76gI1xnmL2az5j6aI/builds/xt5OkijDsNfFUE6sh/openapi.json
