# Amazon Product Scraper: Prices, BSR, Sales & Price Tracker (`panix/amazon-product-scraper`) Actor

Scrape Amazon products without login: price, Best Sellers Rank, bought in past month, seller, stock, specs, variants, images and review summary from searches, Best Sellers, ASINs or links in 16 stores. Local delivery postcode and price tracking. For sellers, price monitoring and market research.

- **URL**: https://apify.com/panix/amazon-product-scraper.md
- **Developed by:** [PANIX AI LAB](https://apify.com/panix) (community)
- **Security:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 90.5% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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: prices, Best Sellers Rank, sales and price tracking

Scrape Amazon products from search results, Best Sellers lists, ASIN lists and product links into clean rows: price, list price, discount, coupon, Best Sellers Rank in every category, "bought in past month", seller, stock, delivery date, specs, bullet points, images, variants, star breakdown and Amazon's own "Customers say" review summary. It reads Amazon's public pages, so you need **no Amazon account, no cookies and no API key**.

Works in **16 Amazon stores** (US, Canada, Mexico, UK, Germany, France, Italy, Spain, Netherlands, Belgium, Sweden, Poland, India, Japan, Australia, Singapore). Every session sets a delivery postcode in the store's country, so prices, currency, VAT and delivery dates are what a local shopper sees.

You pay only for the products you get. Products left out by your filters, duplicates, ASINs Amazon no longer has and unchanged products in price-tracking mode are free.

### What it does

1. Searches Amazon for your search terms (or opens the search, category and Best Sellers links you paste), page by page.
2. Opens each product page (unless you turn that off) and reads its price, rank, seller, stock, details and review summary.
3. Applies your price, rating and review-count filters and leaves out sponsored ads.
4. Delivers one row per product to the dataset (JSON, CSV, Excel, Google Sheets, API), with a status line per input and a run summary.
5. With price tracking on, compares every product with the last run and adds what changed.

### Who uses it

- **Amazon sellers and brands**: watch competitors' prices, coupons, stock and Best Sellers Rank every day.
- **Product researchers (FBA, dropshipping, private label)**: find products with high "bought in past month" counts, good ranks and few ratings.
- **Price monitoring and repricing tools**: a fixed ASIN list on a schedule, with only changed prices delivered.
- **Market and category research**: Best Sellers, New Releases and Movers & Shakers lists with full product data, in 16 countries.
- **Catalog and comparison sites**: titles, bullet points, specs, images, variants and EANs/UPCs from the specs table.
- **AI agents and RAG pipelines**: Amazon's review summary and positive/negative review aspects as text, callable from the Apify API or MCP server.

### Why this Amazon scraper

- **Local prices in 16 stores.** Each session sets a delivery postcode in the store's country before reading products (New York 10001 on amazon.com, Berlin 10115 on amazon.de, or your own ZIP). Without it Amazon shows prices for the proxy's location: no price at all ("cannot be shipped"), or EU prices without VAT. Every row says which `deliveryLocation` its price is for.
- **Price and stock tracking built in.** Turn on *Track price and stock changes* and every row gets a `changes` field with the price before, the change in %, stock, rating, review count and rank before. *Only changed products* delivers just the changes, and unchanged products are free.
- **Sales signals on every row.** `boughtPastMonth` as a number (10K+ = 10000), Best Sellers Rank in the main category and every subcategory, Amazon's Choice and Best Seller badges, deal badges and deal end times.
- **Amazon's review summary.** The "Customers say" text and the aspects Amazon rates positive, negative or mixed (for example "value for money: positive, durability: mixed"), without scraping reviews.
- **Variants.** Every row lists its variants with their ASINs and attributes (size, color), plus the parent ASIN. Optionally each variant is delivered as its own row with its own price and stock.
- **Pay for products, not for attempts.** Filtered, duplicate, missing and unchanged products are free, and sponsored ads are left out unless you want them.
- **Fast and light.** Plain HTTP on datacenter proxy, no browser, 512 MB. In our runs 50 products with full pages took about one minute, 300 about four minutes, and 300 search results without product pages 16 seconds.

### Coming from another Amazon scraper?

| Common problem in this category | How this Actor handles it |
|---|---|
| Prices missing or "cannot be shipped" because the proxy is in another country | A delivery postcode in the store's country is set in every session, free |
| EU prices without VAT, or prices shown in USD on amazon.de | Local postcode and the store's own currency on every request |
| Delivery location costs extra | Included, with your own ZIP if you want |
| The same prices are charged again on every monitoring run | Only changed products mode: unchanged products are free |
| "Bought in past month" and ranks only as text | Numbers you can sort: `boughtPastMonth`, `mainCategoryRank`, `bestSellersRank` |
| Sponsored ads mixed into results | Left out by default, marked `isSponsored` when included |
| Charged for products that no longer exist | Missing ASINs come back as free error rows |
| Big browser image, slow starts | Plain HTTP, 512 MB, starts in seconds |

### How to use it

1. Type **Search terms** (for example `wireless earbuds`), paste **ASINs**, or paste **Amazon URLs**: product links, search links with your own filters, category links, or Best Sellers / New Releases / Movers & Shakers pages.
2. Choose the **Amazon store** for search terms and ASINs (links keep their own store).
3. Set **Max products per search**, filters and, if you want, your **Delivery ZIP / postcode**.
4. Click **Start**, then download the dataset or connect it to Google Sheets, Make, n8n, Zapier or your code.

For daily price monitoring: paste your ASINs, turn on **Track price and stock changes** and **Only changed products**, give the list a **Tracker name**, and create a schedule (Schedules -> Create new).

### Input examples

Search, 100 products with full pages:

```json
{ "searchTerms": ["wireless earbuds", "bluetooth speaker"], "marketplace": "com", "maxResultsPerSearch": 100 }
```

A list of ASINs on amazon.de, prices for Munich:

```json
{ "asins": ["B08J7PQGD7", "B0BR3L78XN"], "marketplace": "de", "deliveryPostcode": "80331" }
```

Best Sellers and New Releases lists (100 products each):

```json
{
  "startUrls": [
    "https://www.amazon.com/Best-Sellers-Kitchen-Dining/zgbs/kitchen/",
    "https://www.amazon.co.uk/gp/new-releases/electronics"
  ],
  "maxResultsPerSearch": 100
}
```

Well-rated products between $20 and $60 with at least 500 ratings, sorted by rating:

```json
{
  "searchTerms": ["bluetooth speaker"],
  "minPrice": 20, "maxPrice": 60, "minRating": 4.3, "minReviews": 500,
  "sortBy": "avg-customer-review", "maxResultsPerSearch": 50
}
```

Daily price tracker that delivers only changes:

```json
{
  "asins": ["B0BZYCJK89", "B0B6PLG6G2", "B06X9NQ8GX"],
  "trackChanges": true,
  "onlyChangedProducts": true,
  "monitorName": "my-competitors"
}
```

Cheap list of search results only (no product pages):

```json
{ "searchTerms": ["yoga mat"], "scrapeProductDetails": false, "maxResultsPerSearch": 300 }
```

### Output

One row per product. A real row from a run (lists shortened):

```json
{
  "asin": "B07H4G664R",
  "title": "Gruper Yoga Mat Non Slip, Eco Friendly Exercise Mat with Carrying Strap",
  "brand": "Gruper",
  "price": 25.19,
  "currency": "USD",
  "listPrice": 27.99,
  "listPriceLabel": "List Price",
  "discountPercent": 10,
  "dealBadge": "Limited time deal",
  "rating": 4.4,
  "reviewsCount": 10768,
  "ratingBreakdown": { "5star": 74, "4star": 11, "3star": 6, "2star": 4, "1star": 5 },
  "boughtPastMonth": 4000,
  "boughtPastMonthText": "4K+ bought in past month",
  "bestSellersRank": [
    { "rank": 171, "category": "Sports & Outdoors" },
    { "rank": 4, "category": "Yoga Mats" }
  ],
  "mainCategoryRank": 171,
  "mainCategory": "Sports & Outdoors",
  "badges": ["Amazon's Choice", "Limited time deal"],
  "availability": "In Stock",
  "inStock": true,
  "soldBy": "Amazon.com",
  "sellerId": "ATVPDKIKX0DER",
  "shipsFrom": "Amazon.com",
  "isSoldByAmazon": true,
  "isFulfilledByAmazon": true,
  "otherOffers": { "count": 4, "lowestPrice": 15.62 },
  "deliveryDate": "Wednesday, November 11",
  "deliveryPrice": "FREE",
  "fastestDeliveryDate": "Tomorrow, November 7",
  "deliveryLocation": "New York 10001",
  "categoryPath": "Sports & Outdoors > Exercise & Fitness > Yoga > Mats",
  "categoryId": "3422301",
  "features": ["NEW ECO FRIENDLY MATERIAL: The upgraded Gruper Yoga mat is made with premium friendly material...", "..."],
  "specifications": { "Color": "Grey Blue / Black", "Brand": "Gruper", "Material": "Thermoplastic Elastomers", "Item Weight": "0.75 kg" },
  "itemWeight": "0.75 kg",
  "dimensions": "72\"L x 24\"W x 0.24\"Th",
  "customersSay": "Customers find the yoga mat to be of great quality, thick enough to provide good cushioning for knees and back, and excellent value for money... The grip receives mixed feedback, with some finding it excellent while others say it's not slip-resistant.",
  "reviewAspects": [
    { "aspect": "quality", "sentiment": "positive" },
    { "aspect": "non-slip", "sentiment": "positive" },
    { "aspect": "thickness", "sentiment": "positive" }
  ],
  "mainImage": "https://m.media-amazon.com/images/I/61KZlPKYscL._AC_SL1500_.jpg",
  "images": ["https://m.media-amazon.com/images/I/61KZlPKYscL._AC_SL1500_.jpg", "..."],
  "parentAsin": "B0F2F5GQW1",
  "variantAttributes": { "Color": "Grey Blue / Black", "Size": "0.24*24*72 Inches" },
  "variantsCount": 14,
  "variants": [
    { "asin": "B086DLLFR9", "attributes": { "Color": "Matcha Green / Black", "Size": "0.31*24*72 Inches" }, "url": "https://www.amazon.com/dp/B086DLLFR9" }
  ],
  "url": "https://www.amazon.com/dp/B07H4G664R",
  "marketplace": "amazon.com",
  "searchTerm": "yoga mat",
  "searchPosition": 3,
  "isSponsored": false,
  "source": "search",
  "detailsComplete": true,
  "changes": null,
  "dataType": "product",
  "scrapedAt": "2026-11-06T07:03:53Z"
}
```

With price tracking on, `changes` looks like this:

```json
"changes": {
  "isNew": false, "changed": true, "previousCheckAt": "2026-11-05T07:00:12Z",
  "priceBefore": 29.99, "priceChange": -4.8, "priceChangePercent": -16.01,
  "inStockBefore": true, "ratingBefore": 4.4, "reviewsCountBefore": 10741, "mainCategoryRankBefore": 188,
  "changedFields": ["price", "reviewsCount", "mainCategoryRank"]
}
```

#### Main fields

| Field | What it is |
|---|---|
| `asin`, `parentAsin`, `url`, `marketplace` | Product ID, the ID that groups its variants, link and store |
| `title`, `brand`, `authors` | Product name, brand (authors for books) |
| `price`, `currency`, `listPrice`, `listPriceLabel`, `discountPercent` | Buy-box price in the store's currency, the struck-through price and its label ("List Price", "Typical price", "Was") |
| `unitPriceText`, `coupon`, `promotions`, `dealBadge`, `dealEndsAt` | Price per unit, coupon, promotions, deal and when it ends |
| `rating`, `reviewsCount`, `ratingBreakdown` | Stars, number of ratings, % per star |
| `boughtPastMonth`, `bestSellersRank`, `mainCategoryRank`, `mainCategory`, `badges` | Sales signals |
| `availability`, `inStock`, `stockLeft` | Stock text, in stock yes/no, "Only N left" |
| `soldBy`, `sellerId`, `shipsFrom`, `isSoldByAmazon`, `isFulfilledByAmazon`, `otherOffers` | Buy-box seller and fulfilment, number of other offers and the lowest |
| `deliveryDate`, `deliveryPrice`, `fastestDeliveryDate`, `deliveryLocation` | Delivery for the postcode in `deliveryLocation` |
| `breadcrumbs`, `categoryPath`, `categoryId` | Category path and node ID |
| `features`, `description`, `specifications`, `modelNumber`, `manufacturer`, `itemWeight`, `dimensions`, `dateFirstAvailable` | Product details (UPC/EAN where Amazon shows them in `specifications`) |
| `customersSay`, `reviewAspects` | Amazon's AI review summary and aspect sentiment |
| `mainImage`, `images` | Image links in full size |
| `variants`, `variantsCount`, `variantAttributes`, `variantDimensions` | All variants with ASINs and attributes |
| `searchTerm`, `searchPosition`, `isSponsored`, `listRank`, `listName`, `source`, `input` | Where the product came from |
| `detailsComplete` | `false` when Amazon sent a shortened page after retries (rank, specs or review summary may be missing) |
| `changes` | Price tracking result (see above) |
| `dataType` | `product`, `search-result` (product pages off) or `error` (free row for an ASIN Amazon does not have, or for an input with nothing to scrape, explained in `errorMessage`) |

The Output tab has views for **Products**, **Sales and ranking**, **Price, seller and delivery**, **Catalog** and **Price tracking**. The key-value store has `INPUTS` (one status line per search, list, ASIN or link) and `SUMMARY` (totals, products left out per filter, delivery locations used).

### Pricing

Pay per event, no monthly fee:

| Event | Free plan | Starter (Bronze) | Scale (Silver) | Business (Gold) and up |
|---|---|---|---|---|
| Product with its product page read (per 1,000) | $2.50 | $2.00 | $1.80 | $1.50 |
| Product, search or list data only (*Read product pages* off, per 1,000) | $0.60 | $0.50 | $0.45 | $0.40 |
| Actor start (per run, per GB of memory) | $0.001 | $0.001 | $0.001 | $0.001 |

Free: products left out by filters, duplicates, sponsored results you did not ask for, ASINs Amazon no longer has (error rows), unchanged products in *Only changed products* mode, and failed inputs. The delivery postcode, variants list, review summary and price tracking cost nothing extra. With the default 512 MB a run pays one start event. Set a spending limit on the run and the Actor stops before it.

Examples on the Starter plan: 1,000 products with full pages cost $2.00 plus $0.001; a daily tracker of 200 ASINs where 15 prices changed costs $0.031.

### Use it from code, n8n, Make, Zapier and AI agents

Python ([apify-client](https://pypi.org/project/apify-client/) 3.x):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("panix/amazon-product-scraper").call(run_input={
    "searchTerms": ["wireless earbuds"],
    "marketplace": "com",
    "maxResultsPerSearch": 50,
})
for product in client.dataset(run.default_dataset_id).iterate_items():
    print(product["asin"], product["price"], product["mainCategoryRank"], product["boughtPastMonth"])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('panix/amazon-product-scraper').call({ asins: ['B0BZYCJK89'], marketplace: 'co.uk' });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.map((p) => [p.asin, p.price, p.currency, p.inStock]));
```

One HTTP call that runs the Actor and returns the rows (n8n HTTP Request node, Make HTTP module, any script):

```
POST https://api.apify.com/v2/acts/panix~amazon-product-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>
Content-Type: application/json

{"searchTerms": ["wireless earbuds"], "maxResultsPerSearch": 10}
```

n8n, Make and Zapier also have Apify apps: choose **Run Actor**, pick `panix/amazon-product-scraper`, paste the input JSON, then read the dataset items. AI agents can call it through the Apify MCP server (`https://mcp.apify.com`).

### FAQ

**Do I need an Amazon account or API key?** No. The Actor reads the product and search pages Amazon shows to every visitor. No login, cookies or Product Advertising API key.

**Which price is `price`?** The buy-box price a shopper at `deliveryLocation` sees on the product page, in the store's currency. `listPrice` is the struck-through price Amazon shows next to it, with Amazon's label for it.

**Can I get prices for my ZIP code?** Yes. Enter it in **Delivery ZIP / postcode** (for example `90210` on amazon.com, `80331` on amazon.de, `SW1A 1AA` on amazon.co.uk). On amazon.nl and amazon.com.be Amazon accepts only the country, so those stores use a city Amazon picks in the country.

**How does price tracking work?** The Actor stores each product's last price, stock, rating, review count and rank in a named key-value store in your account (`amazon-product-scraper-monitors`, one record per tracker name). The next run with the same tracker name compares and fills `changes`. With *Only changed products* it delivers only products whose price or stock changed, plus products seen for the first time; the others are free.

**Why is `price` empty for some products?** The product is out of stock, sold only by other sellers without a featured offer, or not deliverable to the postcode. `availability` and `otherOffers` tell you which.

**What is `detailsComplete: false`?** Amazon sometimes sends a shortened product page without the lower half (details, rank, review summary). The Actor retries on other IPs; if Amazon still sends the short page, the row is delivered with what it has and this flag.

**Can I get the reviews themselves?** Not with this Actor: Amazon shows full review pages only to signed-in customers. Each row has the rating, the number of ratings, the star breakdown and Amazon's review summary.

**How many products per search?** Amazon shows a few hundred per search (often 7 pages or about 300 products). Use several search terms, category links or Best Sellers lists to get more. Best Sellers lists have 100 products.

### Limits

- Public pages only: no reviews text, seller contact data or anything behind a sign-in.
- Amazon's search order, sponsored placements and some prices can change between visits. For monitoring, track a fixed ASIN list.
- amazon.com.br, .ae, .sa, .com.tr and .eg are not supported yet.
- Amazon changes its pages often and sometimes slows down or blocks single IPs; the Actor moves blocked requests to new IPs and retries. If a field stops filling, open an issue.
- Results come in the order pages finish, not in search order; sort by `searchPosition` or `listRank`.

### Data and legal

The Actor collects product information that Amazon shows to every shopper. Seller names are business names; no personal contact data is collected. You are responsible for using the data lawfully, including Amazon's terms and data protection laws such as the GDPR where they apply. This Actor is not affiliated with Amazon.

### Support

Open an issue on the Actor's **Issues** tab with the run ID; it is answered quickly. Feature requests are welcome.

# Actor input Schema

## `searchTerms` (type: `array`):

Words you would type in Amazon's search box (e.g. "wireless earbuds"). Each term is searched in the chosen store. You can also paste ASINs here.

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

Amazon product IDs (10 characters, e.g. B0BZYCJK89), read in the chosen store. Good for price tracking of a fixed list.

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

Product links (/dp/...), search result links with your own filters and sorting (/s?k=...), category links (?node=...), Best Sellers, New Releases, Movers & Shakers and Most Wished For pages, or amzn.to short links. Each link's store is taken from the link.

## `marketplace` (type: `string`):

Store for search terms and ASINs. Links always use their own store.

## `maxResultsPerSearch` (type: `integer`):

Products to deliver for each search term, search link and best-seller list. Amazon shows a few hundred products per search; Best Sellers lists have 100.

## `maxResults` (type: `integer`):

Stop the whole run after this many products (0 = no limit). You can also set a spending limit on the run.

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

On: every product's page is read for the Best Sellers Rank, seller, stock, specs, bullet points, images, variants, rating breakdown and Amazon's review summary. Off: only the search or best-seller list data (title, price, rating, reviews, bought in past month, badges), at a much lower price.

## `sortBy` (type: `string`):

Order of search results for search terms (search links keep their own sorting).

## `minPrice` (type: `number`):

Leave out products below this price, in the store's currency.

## `maxPrice` (type: `number`):

Leave out products above this price, in the store's currency.

## `minRating` (type: `number`):

Leave out products rated below this (e.g. 4 or 4.5).

## `minReviews` (type: `integer`):

Leave out products with fewer ratings than this.

## `includeSponsored` (type: `boolean`):

Also deliver paid ad placements from search results (marked isSponsored). Off by default, because ads repeat products and change on every visit.

## `deliveryPostcode` (type: `string`):

Prices, delivery dates and stock for this address, like choosing "Deliver to" on Amazon (e.g. 90210 on amazon.com, 10115 on amazon.de). Empty = the store's capital city (New York 10001 on amazon.com).

## `maxVariantsPerProduct` (type: `integer`):

Also read this many other variants (sizes, colors) of each product and deliver each as its own product row, with its own price and stock. 0 = off (every row still lists its variants and their ASINs).

## `trackChanges` (type: `boolean`):

Compare every product with the last run that used the same tracker name and add a changes field: price before and after, change in %, stock, rating, review count and rank before.

## `onlyChangedProducts` (type: `boolean`):

With tracking: deliver only products whose price or stock changed since the last run (plus products seen for the first time). Unchanged products are left out and not charged.

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

Name of the memory used by change tracking. Use a different name for each schedule or product list.

## `setDeliveryLocation` (type: `boolean`):

Set the delivery postcode in each session before reading products (recommended). Without it Amazon shows prices for the proxy's location, which can be another country, without VAT or without a price.

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

Amazon pages read at the same time.

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

Apify datacenter proxy works for Amazon's public pages and is the default and cheapest choice.

## Actor input object example

```json
{
  "searchTerms": [
    "wireless earbuds"
  ],
  "marketplace": "com",
  "maxResultsPerSearch": 10,
  "maxResults": 0,
  "scrapeProductDetails": true,
  "sortBy": "relevance",
  "includeSponsored": false,
  "maxVariantsPerProduct": 0,
  "trackChanges": false,
  "onlyChangedProducts": false,
  "monitorName": "default",
  "setDeliveryLocation": true,
  "maxConcurrency": 16,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

Delivered products. Products left out by filters, duplicates, sponsored results (unless included) and unchanged products (only-changed mode) are not in the dataset and are not charged. ASINs that Amazon no longer has appear as free error rows.

## `inputs` (type: `string`):

Pages read, products seen and delivered, and why each search, list or link stopped.

## `summary` (type: `string`):

Totals, charged events, products left out per filter, delivery locations used, request statistics and warnings.

# 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 = {
    "searchTerms": [
        "wireless earbuds"
    ],
    "marketplace": "com",
    "maxResultsPerSearch": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("panix/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 = {
    "searchTerms": ["wireless earbuds"],
    "marketplace": "com",
    "maxResultsPerSearch": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("panix/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 '{
  "searchTerms": [
    "wireless earbuds"
  ],
  "marketplace": "com",
  "maxResultsPerSearch": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call panix/amazon-product-scraper --silent --output-dataset

```

## MCP server setup

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