# Amazon Product Search Scraper (`clearrun/amazon-products`) Actor

Amazon search results and product pages as structured JSON: ASIN, title, brand, price, list price, discount, rating, review count, Prime, sponsored, Best Seller and Amazon's Choice badges, delivery and images. Works on 14 marketplaces (US, UK, DE, FR, IT, ES, CA, AU, IN, JP, MX, NL, SE, PL).

- **URL**: https://apify.com/clearrun/amazon-products.md
- **Developed by:** [Clearrun Data](https://apify.com/clearrun) (community)
- **Categories:** E-commerce, Agents, MCP servers
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.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/actors/running/actors-in-store.md#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 Search Scraper

Search Amazon and get every product from the result pages as structured JSON: ASIN, title, brand, price, list
price and discount, rating, review count, Prime, sponsored, Best Seller and Amazon's Choice badges, delivery
promise and image. Works on 14 marketplaces (US, UK, Germany, France, Italy, Spain, Canada, Australia, India,
Japan, Mexico, Netherlands, Sweden, Poland) with Amazon's own sort orders, price range and Prime filter.

Give it product URLs or ASINs instead (or as well) and it fetches the product pages themselves: feature bullets,
availability, seller, fulfilment, breadcrumbs, Best Sellers Rank, product attributes, description and all images.

### What you get

One record per search result:

```json
{
  "source": "search",
  "query": "laptop",
  "marketplace": "amazon.com",
  "page": 1,
  "position": 1,
  "asin": "B0HDC9Q8Q6",
  "title": "Lenovo Essential 15.6\" FHD Everyday Laptop, Intel Processor, 128GB Storage | Long Battery Life, Anti-Glare Display, Office 365, Copilot AI, WiFi 6, Bluetooth 5.2, USB-C, Win 11",
  "url": "https://www.amazon.com/dp/B0HDC9Q8Q6",
  "brand": null,
  "price": 349.99,
  "currency": "USD",
  "priceText": "$349.99",
  "listPrice": 399.99,
  "discountPercent": 13,
  "rating": 4.4,
  "reviewCount": 281,
  "isPrime": true,
  "isSponsored": false,
  "isBestSeller": false,
  "isAmazonsChoice": true,
  "badge": "Overall Pick",
  "badges": ["Overall Pick"],
  "boughtPastMonth": "500+ bought in past month",
  "delivery": "Join Prime to get FREE delivery Tomorrow, Sep 10 Or Non-members get FREE delivery Tue, Sep 15",
  "variants": null,
  "image": "https://m.media-amazon.com/images/I/7186l2+FihL._AC_UY218_.jpg",
  "scrapedAt": "2026-09-09T08:05:12.345Z"
}
```

One richer record per product URL or ASIN (`"source": "product"`), with these fields on top of the ones above:

```json
{
  "source": "product",
  "marketplace": "amazon.com",
  "input": "B0DZZVLF6N",
  "asin": "B0DZZVLF6N",
  "title": "ASUS Chromebook Flip CX1 Convertible Laptop, 14\" FHD NanoEdge 360-degree Touchscreen, Intel Celeron N4500 Processor, 128GB eMMC Storage, 8GB RAM, ChromeOS, Transparent Silver, CX1400FKA-AS88FT",
  "url": "https://www.amazon.com/dp/B0DZZVLF6N",
  "brand": "ASUS",
  "price": 369.99,
  "currency": "USD",
  "rating": 4.3,
  "reviewCount": 356,
  "isPrime": true,
  "availability": "Only 1 left in stock - order soon.",
  "inStock": true,
  "seller": "Amazon Resale",
  "shipsFrom": "Amazon.com",
  "fulfilledByAmazon": true,
  "categories": ["Electronics", "Computers & Accessories", "Computers & Tablets", "Laptops", "2 in 1 Laptops"],
  "bestSellersRank": [{ "rank": 1274, "category": "Computers & Accessories" }, { "rank": 5, "category": "2 in 1 Laptop Computers" }],
  "features": ["FREE GOOGLE ONE AI PREMIUM PLAN — ...", "SMOOTH MULTITASKING — ..."],
  "description": "ASUS Chromebook Flip CX1 is made for boosting productivity ...",
  "attributes": { "Brand": "ASUS", "Screen Size": "14 Inches", "Operating System": "Chrome OS" },
  "images": ["https://m.media-amazon.com/images/I/61jEU25zSaL._AC_SL1500_.jpg"],
  "image": "https://m.media-amazon.com/images/I/61jEU25zSaL._AC_SL1500_.jpg",
  "delivery": "FREE delivery Monday, September 14",
  "boughtPastMonth": "400+ bought in past month",
  "coupon": null,
  "dealBadge": null,
  "scrapedAt": "2026-09-09T08:05:12.345Z"
}
```

Field notes:

- `price`, `listPrice` and `rating` are numbers parsed locale-safely ("1.234,56 €" and "$1,234.56" both work);
  `currency` is the ISO code, `priceText` is the exact text Amazon showed.
- `position` is the rank within the search (sponsored cards count), `page` is the result page.
- `badge` is the first badge text shown ("Best Seller", "Amazon's Choice", "Overall Pick", "Limited time deal"),
  `isBestSeller` / `isAmazonsChoice` are the same information as booleans. `brand` is only set when the card shows one.
- A product page that could not be loaded is pushed with an `error` field and is not charged.
- A `STATS` record in the run's key-value store holds count and min, median, mean and max price per search term.

### Input

| Field | Default | Notes |
|---|---|---|
| `queries` | — | One search per line |
| `productUrls` | `[]` | Amazon product URLs from any marketplace |
| `asins` | `[]` | Plain ASINs, fetched on `marketplace` |
| `marketplace` | `com` | `com`, `co.uk`, `de`, `fr`, `it`, `es`, `ca`, `com.au`, `in`, `co.jp`, `com.mx`, `nl`, `se`, `pl` |
| `maxResultsPerQuery` | `100` | Up to 1,000; Amazon itself stops after about 20 pages |
| `sortBy` | `relevance` | `price-asc-rank`, `price-desc-rank`, `review-rank`, `date-desc-rank`, `exact-aware-popularity-rank` |
| `minPrice` / `maxPrice` | — | In the marketplace's currency |
| `primeOnly` | `false` | Prime-eligible products only |
| `language` | marketplace default | e.g. `en_US`, `de_DE`, `en_GB` |
| `proxyConfiguration` | Apify residential | Amazon blocks data-centre IPs; keep residential on |

At least one of `queries`, `productUrls` or `asins` is required.

### Pricing

Pay per product delivered. Duplicates within a run are never charged; a search that returns nothing and a product
page that fails to load cost nothing.

#### Speed & cost

100 products cost about $0.20. This actor runs a real browser (Playwright) to get past Amazon's bot checks, so
platform usage is higher than an HTTP-only actor — typically $0.05–0.20 for 100 products, comparable to the
$0.20 charged, since each search results page yields many products per browser page load.

### Typical uses

- Price monitoring and repricing across marketplaces
- Tracking search rank, sponsored share and badges for a keyword
- Competitor and category research (ratings, review counts, "bought in past month")
- Enriching a list of ASINs with live price, stock, seller and Best Sellers Rank
- Feeding product data to AI agents, spreadsheets and dashboards

### Use from an AI agent

Available through the Apify MCP server: "Find the five best-rated wireless mice under 30 EUR on Amazon.de with
Prime delivery." or "Get the current price, stock and seller for ASIN B0DZZVLF6N on amazon.com."

From code, via the Apify API:

```bash
curl -X POST "https://api.apify.com/v2/acts/clearrun~amazon-products/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"queries": ["wireless mouse"], "marketplace": "com", "maxResultsPerQuery": 20}'
```

### Support

Open an issue on the Issues tab with the search term or ASIN, marketplace and run ID. Issues are answered within
one working day.

# Actor input Schema

## `queries` (type: `array`):

One search per line, exactly as you would type it into Amazon's search box. Each term returns the ranked products from the search result pages.

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

Optional. Amazon product page URLs (any marketplace, any URL form containing /dp/ or /gp/product/). Each returns one richer record with features, availability, seller, breadcrumbs, attributes and all images.

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

Optional. Plain 10-character ASINs to fetch as product pages on the selected marketplace, e.g. B0DZZVLF6N.

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

Which Amazon site to search. Prices and delivery text come in that site's currency and language.

## `maxResultsPerQuery` (type: `integer`):

Stop after this many products for each search term. Amazon shows up to about 20 pages (roughly 300-500 products) per search.

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

Order of results, as on Amazon.

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

Lowest price to include, in the marketplace's currency.

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

Highest price to include, in the marketplace's currency.

## `primeOnly` (type: `boolean`):

Only return products with the Prime badge.

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

Optional page language override such as en\_US, de\_DE or en\_GB. Leave empty for the marketplace's own language.

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

Amazon blocks data-centre traffic, so residential proxies are used by default. The exit country is pinned to the marketplace's home country automatically.

## Actor input object example

```json
{
  "queries": [
    "wireless mouse"
  ],
  "productUrls": [],
  "asins": [
    "B0DZZVLF6N"
  ],
  "marketplace": "com",
  "maxResultsPerQuery": 100,
  "sortBy": "relevance",
  "primeOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

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

One record per Amazon product (search result or product page)

## `stats` (type: `string`):

Count and min, median, mean and max price per search term

# 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 = {
    "queries": [
        "wireless mouse"
    ],
    "productUrls": [],
    "asins": [
        "B0DZZVLF6N"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("clearrun/amazon-products").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 = {
    "queries": ["wireless mouse"],
    "productUrls": [],
    "asins": ["B0DZZVLF6N"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("clearrun/amazon-products").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 '{
  "queries": [
    "wireless mouse"
  ],
  "productUrls": [],
  "asins": [
    "B0DZZVLF6N"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call clearrun/amazon-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,clearrun/amazon-products"
        }
    }
}

```

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/C7y9P9MxnQQcfZ3cx/builds/YpMbWz1DAAPshsNZM/openapi.json
