# Amazon Products Scraper — Prices, ASIN, Ratings & Data (`bovi/amazon-products-scraper`) Actor

Scrape Amazon product search by keyword or category. Returns ASIN, title, price, brand, rating, review count, sponsored flag, image, and canonical URL. Structural parse via data-asin/data-component-type — resilient to layout changes.

- **URL**: https://apify.com/bovi/amazon-products-scraper.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** E-commerce
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.90 / 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 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 Products Scraper — Prices, ASIN, Ratings | from $2/1K

Scrape Amazon product search results by keyword or category. Returns structured product data including ASIN, title, price, brand, rating, review count, sponsored flag, availability, image, and canonical URL. Ideal for price monitoring, competitor research, catalog enrichment, and market analysis.

### Use cases

- **Price monitoring** — track competitor prices across categories daily
- **Product research** — find top-ranking ASINs for a niche before launching a listing
- **Catalog enrichment** — enrich your product database with live Amazon data
- **Market analysis** — analyse which products dominate search for a keyword
- **Sponsored vs. organic** — split sponsored placements from organic search results

### What you get

| Field | Description |
|---|---|
| `asin` | Amazon Standard Identification Number (e.g. `B0BS1PRC4L`) |
| `title` | Full product title |
| `brand` | Brand name (when available) |
| `url` | Canonical product URL (`amazon.com/dp/ASIN`) |
| `price` | Numeric price (USD/GBP/EUR) |
| `price_text` | Price as displayed (e.g. `$38.00`) |
| `price_currency` | Currency code |
| `rating` | Star rating (1.0–5.0) |
| `review_count` | Number of customer reviews |
| `is_sponsored` | `true` for paid/sponsored placements |
| `is_prime_eligible` | Prime eligibility (`null` if session not logged in) |
| `availability` | `in_stock` / `Only X left in stock` / `null` |
| `image_url` | Product image CDN URL |
| `position` | Search result position (1-based) |
| `page_number` | Which page of results |
| `parse_confidence` | 0.0–1.0 structural parse quality score |

### How to use

1. Enter a **search query** (e.g. `wireless headphones`, `standing desk`).
2. Optionally restrict to a **category** (e.g. `electronics`, `computers`, `home-garden`).
3. Set **maxItems** (default 50; Amazon shows ~24–30 per page, up to ~400 total per query).
4. Configure **Apify Residential proxy (US)** — required for reliable access.

### Sample output

```json
{
  "asin": "B0BS1PRC4L",
  "title": "Sony WH-CH520 Wireless Headphones Bluetooth On-Ear Headset with Microphone",
  "brand": null,
  "url": "https://www.amazon.com/dp/B0BS1PRC4L",
  "price": 38.0,
  "price_text": "$38.00",
  "price_currency": "USD",
  "rating": 4.5,
  "review_count": 32667,
  "is_sponsored": false,
  "is_prime_eligible": null,
  "availability": "in_stock",
  "image_url": "https://m.media-amazon.com/images/I/...",
  "position": 3,
  "page_number": 1,
  "parse_confidence": 1.0,
  "scraped_at": "2026-06-08T12:00:00+00:00"
}
````

### Pricing

**Pay per product** — you are only charged for records actually returned.

### Technical notes

- Parsed via structural XPath on `data-asin` / `data-component-type="s-search-result"` — no CSS class selectors. Class names rotate with Amazon deployments; structural attributes do not.
- Prime eligibility requires a logged-in Prime session and is not present in anonymous search HTML — returned as `null` (unknown), not `false`.
- Uses Apify Residential US proxy for reliable access from cloud.

# Actor input Schema

## `query` (type: `string`):

Keyword(s) to search on Amazon (e.g. 'wireless headphones', 'laptop', 'coffee maker'). Required unless you paste a Search URL below.

## `domain` (type: `string`):

Amazon domain to scrape (e.g. amazon.com, amazon.co.uk, amazon.de). Default: amazon.com.

## `category` (type: `string`):

Optional Amazon search-alias to restrict the category (e.g. 'electronics', 'computers', 'sporting-goods', 'home-garden'). Leave blank to search all categories. Maps to the \&i= query parameter.

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

Maximum number of products to return across all pages. Default 50. Set to 0 for all available results (Amazon typically shows up to ~400 per query). You are charged per product returned.

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

REQUIRED. Amazon's bot-mitigation (PerimeterX/bm-verify) blocks datacenter IPs. Use Apify Residential proxy with country US for the best pass rate. No external proxy account needed — Apify's residential proxy is billed to your run.

## Actor input object example

```json
{
  "query": "wireless headphones",
  "domain": "amazon.com",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

Dataset containing Amazon Products Scraper records (position, asin, title, brand, price, price\_currency, rating, review\_count, is\_sponsored, is\_prime\_eligible, availability, image\_url, url, scraped\_at).

# 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 = {
    "query": "wireless headphones",
    "domain": "amazon.com",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/amazon-products-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 = {
    "query": "wireless headphones",
    "domain": "amazon.com",
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("bovi/amazon-products-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 '{
  "query": "wireless headphones",
  "domain": "amazon.com",
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call bovi/amazon-products-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Amazon Products Scraper — Prices, ASIN, Ratings & Data",
        "description": "Scrape Amazon product search by keyword or category. Returns ASIN, title, price, brand, rating, review count, sponsored flag, image, and canonical URL. Structural parse via data-asin/data-component-type — resilient to layout changes.",
        "version": "0.1",
        "x-build-id": "lRqhyiJdsPTaYEias"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/bovi~amazon-products-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-bovi-amazon-products-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/bovi~amazon-products-scraper/runs": {
            "post": {
                "operationId": "runs-sync-bovi-amazon-products-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/bovi~amazon-products-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-bovi-amazon-products-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": [
                    "query"
                ],
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keyword(s) to search on Amazon (e.g. 'wireless headphones', 'laptop', 'coffee maker'). Required unless you paste a Search URL below."
                    },
                    "domain": {
                        "title": "Amazon domain",
                        "type": "string",
                        "description": "Amazon domain to scrape (e.g. amazon.com, amazon.co.uk, amazon.de). Default: amazon.com.",
                        "default": "amazon.com"
                    },
                    "category": {
                        "title": "Category (Amazon node or search-alias)",
                        "type": "string",
                        "description": "Optional Amazon search-alias to restrict the category (e.g. 'electronics', 'computers', 'sporting-goods', 'home-garden'). Leave blank to search all categories. Maps to the &i= query parameter."
                    },
                    "maxItems": {
                        "title": "Max products to scrape",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum number of products to return across all pages. Default 50. Set to 0 for all available results (Amazon typically shows up to ~400 per query). You are charged per product returned.",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "REQUIRED. Amazon's bot-mitigation (PerimeterX/bm-verify) blocks datacenter IPs. Use Apify Residential proxy with country US for the best pass rate. No external proxy account needed — Apify's residential proxy is billed to your run.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
