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

Scrape Amazon search results by keyword. Get products, prices, ratings, badges, Prime and deals from 20+ marketplaces in clean, ready-to-use data.

- **URL**: https://apify.com/igview-owner/amazon-search-scraper.md
- **Developed by:** [Sachin Kumar Yadav](https://apify.com/igview-owner) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 699 total users, 32 monthly users, 100.0% runs succeeded, 6 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 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.
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 Scraper – Search Results Extractor

**🛍️ Search Amazon products by keyword and extract comprehensive search results with pricing, ratings, images, badges, and more. Supports pagination, advanced filtering, sorting options, and multiple marketplaces worldwide. Built with Apify best practices for reliability and speed.**

***

### 📋 Table of Contents

- [✨ Features](#-features)
- [🎯 Use Cases](#-use-cases)
- [⚡ Quick Start](#-quick-start)
- [📊 Input Parameters](#-input-parameters)
- [📤 Output Format](#-output-format)
- [🌐 Marketplaces & Languages](#-marketplaces--languages)
- [📈 Performance & Limits](#-performance--limits)
- [❓ FAQ](#-faq)
- [🛠️ Troubleshooting](#️-troubleshooting)
- [🏷️ Tags](#️-tags)

***

### ✨ Features

- **🔎 Keyword Search** – Search Amazon by any keyword or phrase
- **📄 Pagination Support** – Scrape multiple pages of search results (up to 20 pages)
- **🎯 Advanced Filtering** – Filter by Prime, product condition, deals & discounts
- **📊 Smart Sorting** – Sort by relevance, price, reviews, newest, or best sellers
- **🏅 Rich Metadata** – Get badges, ratings, prices, images, sales volume, and more
- **🌍 Multi-Marketplace** – Works across 20+ Amazon marketplaces worldwide
- **⚡ Fast & Reliable** – Built-in retries, rate-limit handling, and error recovery

***

### 🎯 Use Cases

| Use Case | Description | Key Benefits |
|----------|-------------|--------------|
| 🔍 Product Research | Discover products by keyword across categories | Find trending items, analyze competition |
| 💰 Price Monitoring | Track pricing trends for specific search terms | Identify deals, monitor competitors |
| 📊 Market Analysis | Analyze search rankings and product positioning | SEO insights, market trends |
| 🏆 Competitor Tracking | Monitor competitor products in search results | Track rankings, pricing strategies |
| 🤖 Data Pipelines | Feed structured search data to your systems | Automation, dashboards, ML models |

***

### ⚡ Quick Start

#### 1️⃣ Basic – Simple Search

```json
{
  "query": "Smart Phone",
  "country": "US",
  "maxPages": 1
}
```

#### 2️⃣ Advanced – Multiple Pages with Filters

```json
{
  "query": "Laptop",
  "country": "US",
  "maxPages": 3,
  "sortBy": "LOWEST_PRICE",
}
```

***

### 📊 Input Parameters

| Parameter | Type | Required | Description | Default | Example |
|-----------|------|----------|-------------|---------|---------|
| `query` | String | ✅ Yes | Search keyword or phrase | - | `"Smart Phone"`, `"Laptop"`, `"Headphones"` |
| `maxPages` | Integer | ❌ No | Number of pages to scrape (1-20) | `1` | `3`, `5`, `10` |
| `startPage` | Integer | ❌ No | Starting page number | `1` | `1`, `2`, `5` |
| `country` | String | ❌ No | Amazon marketplace | `US` | `US`, `GB`, `DE`, `IN`, `JP` |
| `language` | String | ❌ No | Result language/locale | Marketplace default | `en_US`, `fr_FR`, `de_DE` |
| `sortBy` | String | ❌ No | Sort order | `RELEVANCE` | `LOWEST_PRICE`, `HIGHEST_PRICE`, `REVIEWS`, `NEWEST`, `BEST_SELLERS` |

#### 🎯 Sort Options

- **RELEVANCE** – Most relevant to search query (default)
- **LOWEST_PRICE** – Cheapest products first
- **HIGHEST_PRICE** – Most expensive products first
- **REVIEWS** – Most reviewed products
- **NEWEST** – Newest arrivals
- **BEST_SELLERS** – Best selling products

***

### 📤 Output Format

#### 🧾 Search Result Data Structure

```json
{
  "source": "amazon_search",
  "search_query": "Smart Phone",
  "page": 1,
  "position": 1,
  "asin": "B0DLHNWHRF",
  "product_title": "Samsung Galaxy A16 5G A Series, Unlocked Android Smartphone...",
  "product_price": "$149.99",
  "product_original_price": "$199.99",
  "currency": "USD",
  "product_star_rating": "4.2",
  "product_num_ratings": 2484,
  "product_url": "https://www.amazon.com/dp/B0DLHNWHRF",
  "product_photo": "https://m.media-amazon.com/images/I/71KGkQ+KOKL._AC_UY654_FMwebp_QL65_.jpg",
  "product_num_offers": 2,
  "product_minimum_offer_price": "$130.49",
  "is_best_seller": false,
  "is_amazon_choice": false,
  "is_prime": false,
  "climate_pledge_friendly": true,
  "sales_volume": "5K+ bought in past month",
  "delivery": "FREE delivery Fri, Nov 21Or fastest delivery Tomorrow, Nov 17",
  "has_variations": true,
  "product_availability": "In Stock",
  "coupon_text": null,
  "product_badge": "Overall Pick",
  "country": "US",
  "domain": "www.amazon.com",
  "total_products_available": 106379
}
```

#### 📋 Output Fields Explained

| Field | Type | Description |
|-------|------|-------------|
| `source` | String | Always `amazon_search` |
| `search_query` | String | Original search query |
| `page` | Integer | Page number in search results |
| `position` | Integer | Position on the page (1-based) |
| `asin` | String | Product ASIN |
| `product_title` | String | Product name/title |
| `product_price` | String | Current price |
| `product_original_price` | String | Original/list price (if available) |
| `currency` | String | Currency code (USD, EUR, etc.) |
| `product_star_rating` | String | Average rating (e.g., "4.2") |
| `product_num_ratings` | Integer | Total number of ratings |
| `product_url` | String | Direct product URL |
| `product_photo` | String | Main product image URL |
| `product_num_offers` | Integer | Number of buying options |
| `product_minimum_offer_price` | String | Lowest offer price |
| `is_best_seller` | Boolean | Has Best Seller badge |
| `is_amazon_choice` | Boolean | Has Amazon's Choice badge |
| `is_prime` | Boolean | Prime eligible |
| `climate_pledge_friendly` | Boolean | Climate Pledge Friendly certified |
| `sales_volume` | String | Sales volume text (e.g., "5K+ bought in past month") |
| `delivery` | String | Delivery information |
| `has_variations` | Boolean | Has product variations |
| `product_availability` | String | Availability status |
| `coupon_text` | String | Coupon/discount text (if available) |
| `product_badge` | String | Special badge (e.g., "Limited time deal", "Overall Pick") |
| `country` | String | Marketplace country code |
| `domain` | String | Amazon domain |
| `total_products_available` | Integer | Total products matching search query |

***

### 🌐 Marketplaces & Languages

| Region | Code | Region | Code | Region | Code |
|--------|------|--------|------|--------|------|
| 🇺🇸 United States | `US` | 🇬🇧 United Kingdom | `GB` | 🇩🇪 Germany | `DE` |
| 🇯🇵 Japan | `JP` | 🇮🇳 India | `IN` | 🇫🇷 France | `FR` |
| 🇮🇹 Italy | `IT` | 🇪🇸 Spain | `ES` | 🇨🇦 Canada | `CA` |
| 🇧🇷 Brazil | `BR` | 🇦🇺 Australia | `AU` | 🇲🇽 Mexico | `MX` |
| 🇳🇱 Netherlands | `NL` | 🇸🇪 Sweden | `SE` | 🇵🇱 Poland | `PL` |
| 🇧🇪 Belgium | `BE` | 🇸🇦 Saudi Arabia | `SA` | 🇦🇪 UAE | `AE` |

Common languages include `en_US`, `en_GB`, `de_DE`, `fr_FR`, `it_IT`, `es_ES`, `ja_JP`, `pt_BR`, `nl_NL`, `pl_PL`, `sv_SE`, `ar_AE`.

***

### ❓ FAQ

- **Q: What input do I need?**
  - Just a search query (keyword/phrase). All other parameters are optional.

- **Q: How many pages can I scrape?**
  - Up to 20 pages per run. Each page typically has 10-15 products.

- **Q: Which marketplaces are supported?**
  - 20+ marketplaces including US, GB, DE, JP, IN, FR, IT, ES, CA, BR, AU, MX, NL, SE, PL, BE, SA, AE, ZA, IE.

- **Q: How do I sort results?**
  - Use `sortBy` parameter: RELEVANCE, LOWEST_PRICE, HIGHEST_PRICE, REVIEWS, NEWEST, or BEST_SELLERS.

- **Q: What if no results are found?**
  - The actor will stop pagination and report the issue. Try a different search query or filters.

***

### 🛠️ Troubleshooting

| Issue | Cause | Solution |
|-------|-------|----------|
| ❌ "No search query provided" | Empty or missing `query` | Provide a valid search keyword |
| ⚠️ "No results found" | Invalid query or filters too strict | Try broader search terms or remove filters |
| ⏱️ Slow runs | Many pages requested | Reduce `maxPages` or optimize filters |
| 🔄 Pagination stopped early | No more results available | Normal behavior - all results scraped |

***

### 🏆 Why Choose This Actor?

✅ Keyword-based search with pagination\
✅ Advanced filtering and sorting\
✅ Rich search result metadata\
✅ Works across 20+ marketplaces\
✅ Track rankings and positions\
✅ Fast, reliable, and structured data

***

### 🏷️ Tags

`amazon search scraper`, `amazon product search api`, `amazon keyword search`, `amazon search results extractor`, `amazon product finder`, `amazon price comparison`, `amazon deal finder`, `amazon search data`, `amazon marketplace search`, `amazon product research tool`, `amazon competitive analysis`, `amazon ranking tracker`, `amazon seo tool`, `amazon product discovery`, `apify actor`, `amazon search automation`, `amazon product listings`, `amazon best sellers scraper`, `amazon prime products`, `amazon deals scraper`, `amazon search analytics`

***

### 🚀 Get Started Now

**Ready to scrape Amazon search results?**

1. 🎯 Enter the **Amazon search query** (e.g., `laptop`)
2. ⚙️ Set the **maximum pages** to scrape (1-100)
3. ▶️ Click **Start** to run the actor
4. 📥 Download your data in JSON, CSV, Excel, or HTML format
5. 📊 Use the built-in table views to browse products, prices, and ratings
6. Click ["Try for free"](https://apify.com?fpr=ykgg9c) to test the actor

**⭐ If this actor helps your workflow, please give it a star!**

### Related Actors 🤝

- **[Amazon Product Details Scraper](https://apify.com/igview-owner/amazon-product-data-scraper)**

*Built with ❤️ using Apify Platform | Optimized for Performance & Reliability*

# Actor input Schema

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

💬 Enter your search keyword or phrase (e.g., 'Smart Phone', 'Laptop', 'Headphones'). This is the main search term to find products on Amazon.

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

📊 Number of search result pages to scrape (1-10). Each page typically contains 10-15 products. More pages = more results but longer runtime.

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

🗺️ Select the Amazon marketplace/country to search. This determines the domain, default language, and currency for results.

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

🌐 Select the language for search results. If not specified, the marketplace's default language will be used automatically.

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

🔢 Choose how to sort the search results. Different sorting options help you find the best deals, top-rated products, or newest items.

## Actor input object example

```json
{
  "query": "Smart Phone",
  "maxPages": 1,
  "country": "US",
  "language": "en_US",
  "sortBy": "RELEVANCE"
}
```

# Actor output Schema

## `search_results` (type: `string`):

Open the dataset view with an overview of all search results including query, position, ASIN, title, price, rating, badges, and more.

# 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": "Smart Phone",
    "maxPages": 1,
    "country": "US",
    "language": "en_US",
    "sortBy": "RELEVANCE"
};

// Run the Actor and wait for it to finish
const run = await client.actor("igview-owner/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 = {
    "query": "Smart Phone",
    "maxPages": 1,
    "country": "US",
    "language": "en_US",
    "sortBy": "RELEVANCE",
}

# Run the Actor and wait for it to finish
run = client.actor("igview-owner/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 '{
  "query": "Smart Phone",
  "maxPages": 1,
  "country": "US",
  "language": "en_US",
  "sortBy": "RELEVANCE"
}' |
apify call igview-owner/amazon-search-scraper --silent --output-dataset

```

## MCP server setup

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