# Amazon Product Search Scraper (`powerai/amazon-product-search-scraper`) Actor

Powerful Amazon product search scraper that automatically extracts up to 10,000 products with comprehensive metadata. Includes price filters, sorting options, and detailed product information with automatic rate limit handling.

- **URL**: https://apify.com/powerai/amazon-product-search-scraper.md
- **Developed by:** [PowerAI](https://apify.com/powerai) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 412 total users, 62 monthly users, 99.5% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $4.99 / 1,000 results

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

Search Amazon and export matching products as structured rows: titles, prices, ratings, links, images, and more—plus a **scrapedAt** time on each row.

### ✨ Key Features

- Keyword **search** with a cap on how many products to collect; keeps going across result pages until that limit or until there are no more items
- Typical fields per product (see output example):
  - **asin**, **product_title**
  - **product_price**, **product_original_price**, **currency**
  - **product_star_rating**, **product_num_ratings**
  - **product_url**, **product_photo**
  - **product_num_offers**, **product_minimum_offer_price**
  - **is_best_seller**, **is_amazon_choice**, **is_prime**, **climate_pledge_friendly**
  - **sales_volume**, **delivery**, **has_variations**
- Choose **marketplace** (country), **sort order**, **price range**, and other optional filters
- Each record includes **scrapedAt** so you know when it was collected

### 💪 Why Use It?

- **Practical**: Good for price checks, assortment snapshots, and quick product lists
- **Structured**: One JSON object per product, easy to use in spreadsheets or tools
- **Configurable**: Filters help narrow results before export

### 🎯 Great For

- Market and competitor research
- Price and rating monitoring
- Building product lists from a search

### 📝 Input Parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `query` | Yes | What to search for (words or an ASIN-style lookup, depending on Amazon). |
| `maxResults` | No | Maximum number of products to collect (default: 15). |
| `geo` | No | Which country’s Amazon site to use (default: `US`). Choose **UK** for the United Kingdom marketplace. |
| `sort_by` | No | How to order results (e.g. relevance, price, reviews, newest). |
| `min_price` / `max_price` | No | Optional price range (useful when you only want items in a band). |
| `category_id` | No | Optional category slug to narrow the search. |
| `category` | No | Optional numeric category IDs (comma-separated) when you need finer category scoping. |
| `product_condition` | No | New, used, renewed, etc., when you want to restrict condition. |
| `brand` | No | Optional brand filter. |
| `seller_id` | No | Optional filter to a specific seller’s offers. |
| `is_prime` | No | When set, can limit to Prime-eligible items. |
| `deals_and_discounts` | No | Optional focus on deals or today’s deals. |
| `four_stars_and_up` | No | When set, can require higher customer ratings. |
| `language` | No | Preferred language for text where the site supports it. |
| `additional_filters` | No | Extra filter string when you need advanced narrowing. |
| `fields` | No | Optional comma-separated list if you only want certain attributes in each row. |

#### Input Example

```json
{
  "query": "laptop",
  "maxResults": 50,
  "geo": "US"
}
```

#### Output Example

One JSON object per product:

```json
{
  "asin": "B0947BJ67M",
  "product_title": "HP 14 Laptop, Intel Celeron N4020, 4 GB RAM, 64 GB Storage, 14-inch Micro-edge HD Display, Windows 11 Home, Thin &amp; Portable, 4K Graphics, One Year of Microsoft 365 (14-dq0040nr, Snowflake White)",
  "product_price": "$183.98",
  "product_original_price": "$229.99",
  "currency": "USD",
  "product_star_rating": "4",
  "product_num_ratings": 5288,
  "product_url": "https://www.amazon.com/dp/B0947BJ67M",
  "product_photo": "https://m.media-amazon.com/images/I/815uX7wkOZS._AC_UY654_QL65_.jpg",
  "product_num_offers": 63,
  "product_minimum_offer_price": "$159.00",
  "is_best_seller": false,
  "is_amazon_choice": false,
  "is_prime": false,
  "climate_pledge_friendly": false,
  "sales_volume": "6K+ bought in past month",
  "delivery": "$32.61 delivery Apr 13 - May 7Ships to Australia",
  "has_variations": false,
  "scrapedAt": "2026-03-24T03:01:25.848Z"
}
```

Extra keys can appear on some rows when the listing provides them (for example a badge or availability).

### ⚠️ Notes

- Prices and wording depend on the **marketplace** you select.
- **product_original_price** may be empty when there is no list or strike price.
- **product_price** can still be present when the listing shows a deal or multiple offers.
- Collection stops when your **maxResults** is reached, there are no more search results, or a page returns no products.

# Actor input Schema

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

Keywords or product lookup text for Amazon search.

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

Maximum number of products to collect across pages.

## `geo` (type: `string`):

Which Amazon country site to use. Choose UK for the United Kingdom marketplace.

## `sort_by` (type: `string`):

How to order search results. Leave empty for the default (usually by relevance).

## `min_price` (type: `integer`):

Only include products at or above this price (same currency as the marketplace). Use 0 or leave unset for no minimum.

## `max_price` (type: `integer`):

Only include products at or below this price. Use 0 or leave unset for no maximum.

## `category_id` (type: `string`):

Optional category slug to narrow the search.

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

Optional numeric category IDs, comma-separated, for finer scoping.

## `product_condition` (type: `string`):

Restrict to new, used, renewed, or collectible listings.

## `brand` (type: `string`):

Optional brand filter.

## `seller_id` (type: `string`):

Optional filter to limit results to a specific seller.

## `is_prime` (type: `boolean`):

When true, prefer Prime-eligible offers where supported.

## `deals_and_discounts` (type: `string`):

Optional focus on deals or today’s deals.

## `four_stars_and_up` (type: `boolean`):

When true, prefer highly rated products where supported.

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

Preferred language for text (e.g. en_US) when the marketplace supports it.

## `additional_filters` (type: `string`):

Optional extra filter string for advanced narrowing.

## `fields` (type: `string`):

Optional comma-separated list if you only want certain product attributes in each row.

## Actor input object example

```json
{
  "query": "laptop",
  "maxResults": 20,
  "geo": "US",
  "sort_by": "RELEVANCE"
}
```

# 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": "laptop",
    "maxResults": 20,
    "geo": "US",
    "sort_by": "RELEVANCE"
};

// Run the Actor and wait for it to finish
const run = await client.actor("powerai/amazon-product-search-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": "laptop",
    "maxResults": 20,
    "geo": "US",
    "sort_by": "RELEVANCE",
}

# Run the Actor and wait for it to finish
run = client.actor("powerai/amazon-product-search-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 '{
  "query": "laptop",
  "maxResults": 20,
  "geo": "US",
  "sort_by": "RELEVANCE"
}' |
apify call powerai/amazon-product-search-scraper --silent --output-dataset

```

## MCP server setup

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