# Amazon Search Scraper (`laisi/amazon-search-scraper`) Actor

Scrape Amazon search result pages and extract structured product data such as title, ASIN, price, rating, reviews, image, and product URL across multiple pages.

- **URL**: https://apify.com/laisi/amazon-search-scraper.md
- **Developed by:** [laisi](https://apify.com/laisi) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 12 total users, 3 monthly users, 92.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.10 / 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 Search Results Scraper

Scrape Amazon search result pages and extract structured product data for keyword research, competitor monitoring, catalog tracking, and e-commerce analytics.

This Apify Actor accepts one or more search keywords, crawls multiple result pages on a chosen Amazon marketplace, and returns detailed product-level records in the dataset.

### 🚀 Why use this scraper

- 🔍 Collect Amazon search results for any keyword across **23 countries**
- 🌍 Choose marketplace and page language independently (e.g. search Amazon Germany in English)
- 📊 Export clean product data for BI, dashboards, and reports
- 💰 Track price and ranking changes over time
- 🏷️ Monitor competitor listings and review signals

### 📦 Data you can get

Each dataset record combines search context with full product details. Depending on the page, fields can include:

**🔎 Search context**

- `keyword`, `page`, `total_products`, `country`, `language`, `max_pages`

**📋 Product details**

- 🏷️ Title, brand, ASIN (`current_asin`, `parent_asin`)
- 💵 Price (`current_price`, `original_price`, `saving_percentage`), currency
- ⭐ Rating (`average_rating`, `total_reviews`, `rating_distribution`)
- 🖼️ Images, description, about items, product overview
- 📦 Availability, delivery message, sold by / ships from
- 📂 Category path, BSR ranks, variants
- 💬 Customer reviews and “customers say” insights
- 🔗 `url`, `timestamp`, `status`, `message`

### ⚙️ Input

| Field | Required | Default | Description |
| --- | --- | --- | --- |
| `keywords` | ✅ Yes | — | List of search terms, e.g. `["laptop", "nike shoes"]` |
| `country` | No | `US` | Amazon marketplace country code (determines domain, currency, and shipping region) |
| `language` | No | `en_US` | Page language code (controls titles, descriptions, and UI text) |
| `maxPages` | No | `20` | Maximum number of search result pages to crawl per keyword (1–20) |

#### 🌐 Country vs. language

`country` and `language` are **separate settings**:

- 🗺️ **Country** selects which Amazon marketplace to use (`www.amazon.com`, `www.amazon.de`, etc.).
- 🗣️ **Language** selects which locale Amazon renders the page in. It does not have to match the country’s default language.

**Examples:**

- 🇺🇸 Search the **US** marketplace in **Spanish**: `country: "US"`, `language: "es_US"`
- 🇩🇪 Search **Germany** in **English**: `country: "DE"`, `language: "en_GB"`
- 🇯🇵 Search **Japan** in **Chinese**: `country: "JP"`, `language: "zh_CN"`

> ⚠️ If `language` is not supported for the selected `country`, the Actor falls back to that country’s default language.

#### 🗺️ Supported countries

`US`, `CA`, `MX`, `BR`, `GB`, `IE`, `FR`, `DE`, `IT`, `ES`, `NL`, `SE`, `PL`, `BE`, `JP`, `AU`, `IN`, `SG`, `AE`, `SA`, `TR`, `EG`, `ZA`

#### 🗣️ Supported languages by country

| Country | Supported `language` values | Default |
| --- | --- | --- |
| 🇺🇸 US | `en_US`, `es_US` | `en_US` |
| 🇨🇦 CA | `en_CA`, `fr_CA` | `en_CA` |
| 🇲🇽 MX | `es_MX` | `es_MX` |
| 🇧🇷 BR | `pt_BR` | `pt_BR` |
| 🇬🇧 GB | `en_GB` | `en_GB` |
| 🇮🇪 IE | `en_IE` | `en_IE` |
| 🇫🇷 FR | `fr_FR`, `en_GB` | `fr_FR` |
| 🇩🇪 DE | `de_DE`, `en_GB`, `nl_NL`, `pl_PL`, `tr_TR` | `de_DE` |
| 🇮🇹 IT | `it_IT`, `en_GB` | `it_IT` |
| 🇪🇸 ES | `es_ES`, `pt_PT`, `en_GB` | `es_ES` |
| 🇳🇱 NL | `nl_NL`, `en_GB` | `nl_NL` |
| 🇸🇪 SE | `sv_SE`, `en_GB` | `sv_SE` |
| 🇵🇱 PL | `pl_PL` | `pl_PL` |
| 🇧🇪 BE | `fr_BE`, `nl_BE`, `en_GB` | `fr_BE` |
| 🇯🇵 JP | `ja_JP`, `en_US`, `zh_CN` | `ja_JP` |
| 🇦🇺 AU | `en_AU` | `en_AU` |
| 🇮🇳 IN | `en_IN` | `en_IN` |
| 🇸🇬 SG | `en_SG` | `en_SG` |
| 🇦🇪 AE | `ar_AE`, `en_AE` | `en_AE` |
| 🇸🇦 SA | `ar_AE`, `en_AE` | `ar_AE` |
| 🇹🇷 TR | `tr_TR` | `tr_TR` |
| 🇪🇬 EG | `ar_AE`, `en_AE` | `ar_AE` |
| 🇿🇦 ZA | `en_ZA` | `en_ZA` |

#### 💡 Example input

```json
{
  "keywords": ["laptop", "wireless mouse"],
  "country": "DE",
  "language": "en_GB",
  "maxPages": 5
}
```

### 📤 Output

The Actor stores results in the default dataset as JSON records.

Access output via:

- 🔗 Dataset API: `{{links.apiDefaultDatasetUrl}}/items`
- 🔌 Apify integrations: Webhooks, Make, Zapier, Google Sheets, and custom pipelines

### 💼 Common use cases

- 🔎 Amazon keyword and SERP tracking across multiple locales
- 🧠 Marketplace intelligence for brands and agencies
- 🎯 Product discovery and lead generation
- 📈 Price monitoring and alerting workflows
- 🌏 Cross-border research (same marketplace, different page languages)

# Actor input Schema

## `keywords` (type: `array`):

Keywords to search for

## `maxPages` (type: `integer`):

Maximum number of pages to scrape

## `country` (type: `string`):

Amazon marketplace country code (domain, currency, and shipping region). Each country supports a different set of page languages — check the Language field before choosing a language code.

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

Page language code (titles, descriptions, UI text). Country and language are separate: you can search a marketplace in a non-default language (e.g. DE + en_GB). Supported languages vary by country — US: en_US, es_US | CA: en_CA, fr_CA | MX: es_MX | BR: pt_BR | GB: en_GB | IE: en_IE | FR: fr_FR, en_GB | DE: de_DE, en_GB, nl_NL, pl_PL, tr_TR | IT: it_IT, en_GB | ES: es_ES, pt_PT, en_GB | NL: nl_NL, en_GB | SE: sv_SE, en_GB | PL: pl_PL | BE: fr_BE, nl_BE, en_GB | JP: ja_JP, en_US, zh_CN | AU: en_AU | IN: en_IN | SG: en_SG | AE: ar_AE, en_AE | SA: ar_AE, en_AE | TR: tr_TR | EG: ar_AE, en_AE | ZA: en_ZA. If the code is not supported for the selected country, the Actor falls back to that country's default.

## Actor input object example

```json
{
  "keywords": [
    "laptop",
    "nike shoes"
  ],
  "maxPages": 1,
  "country": "US",
  "language": "en_US"
}
```

# 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 = {
    "keywords": [
        "laptop",
        "nike shoes"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("laisi/amazon-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 = { "keywords": [
        "laptop",
        "nike shoes",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("laisi/amazon-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 '{
  "keywords": [
    "laptop",
    "nike shoes"
  ]
}' |
apify call laisi/amazon-search-scraper --silent --output-dataset

```

## MCP server setup

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