# ✨ Amazon Search Apify (`damilo/amazon-search-apify`)

⚡ Ultra-fast Amazon Search Scraper for Apify. Grab real-time product intel—ASIN, title, price, rating, reviews, Prime badge, delivery—across 20 + Amazon sites. Smart filters: ZIP & ship-to, sort, Prime-only, in-stock. Perfect for price tracking, product research, and competitor watch.

- **URL**: https://beta-securitybyobscurity.apify.com/damilo/amazon-search-apify.md
- **Developed by:** [Imad](https://beta-securitybyobscurity.apify.com/damilo) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 23 total users, 7 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$3.50 / 1,000 results

This Actor is paid per result. You are not charged for the Apify platform usage, but only a fixed price for dataset items the Actor outputs.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-result

# README

## Amazon Search Scraper (Apify Actor)

✅ If this actor saved you time, a ⭐⭐⭐⭐⭐ review helps me keep improving!

Looking for a **fast, reliable Amazon scraper** with localized results, full deal tagging, and support for both **organic and sponsored products**?\
Meet **Amazon Search Scraper** – the easiest way to extract live product listings into structured JSON for price tracking, research, and automation.

***

### Table of Contents

1. [Key Benefits](#key-benefits)
2. [Typical Use Cases](#typical-use-cases)
3. [Features](#features)
4. [Input Parameters](#input-parameters)
5. [Example Input](#example-input)
6. [Output](#output)
7. [Limitations & Best Practices](#limitations--best-practices)
8. [Support](#support)

***

### Key Benefits

- **Structured Data** – Get ASIN, title, price, rating, reviews, availability, deals, and more.
- **Sponsored Products** – Optionally include ad-backed listings from brands and headline banners.
- **Accurate Localization** – Use ZIP code and country targeting for precise availability.
- **Global Domains** – Works with 15+ Amazon storefronts including `.com`, `.co.uk`, `.de`, `.in`, and more.
- **No CAPTCHAs, No Blocks** – Powered by ScrapingDog’s Amazon Search API for high reliability.
- **Built for Apify** – Plug-and-play deployment, scheduling, storage, and integrations.

***

### Typical Use Cases

| Problem                        | How the scraper helps                                                         |
| ------------------------------ | ----------------------------------------------------------------------------- |
| **Price Monitoring**           | Track live pricing data across any product category or region.                |
| **Competitor Benchmarking**    | Compare sponsored vs organic visibility, Prime eligibility, and buyer volume. |
| **Keyword & Listing Research** | Identify bestsellers, Amazon Choice tags, and real-time review metrics.       |
| **Deal Aggregation**           | Extract products flagged with “Deal of the Day” or “Limited Time Deal.”       |
| **International Product Sync** | Track item availability and prices across Amazon locales.                     |

***

### Features

- 🔍 **Organic & Sponsored Listings** – Scrapes both product types in one run.
- 🏷️ **Rich Metadata** – Extract flags like `Prime`, `Best Seller`, `Amazon's Choice`, `Deals`, and `People Bought`.
- 🌍 **Country + ZIP Targeting** – Personalize results by shipping location and postal code.
- 📦 **Availability Quantities** – Know stock estimates when available.
- 📊 **Auto Pagination** – Up to 10 pages scraped or stop at max results (`max_results`).
- 🧩 **Full Apify Integration** – Schedule runs, export to BigQuery or S3, trigger webhooks, and more.

***

### Input Parameters

| Key           | Type    | Required | Default | Description                                          |
| ------------- | ------- | -------- | ------- | ---------------------------------------------------- |
| `query`       | string  | **Yes**  | –       | Keyword(s) to search on Amazon.                      |
| `sponsored`   | boolean | No       | `false` | Whether to include sponsored products in the output. |
| `domain`      | string  | No       | `com`   | Amazon domain (e.g. `com`, `co.uk`, `de`, `in`).     |
| `country`     | string  | No       | `us`    | ISO country code for shipping context.               |
| `zip`         | string  | No       | –       | ZIP/postal code to personalize results.              |
| `max_results` | integer | No       | `35`    | Total number of results to scrape (up to ~480).      |

***

### Example Input

![Input](./assets/input.png)

```json
{
  "query": "mechanical keyboard",
  "sponsored": true,
  "domain": "co.uk",
  "country": "gb",
  "zip": "W1A 1AA",
  "max_results": 50
}
```

***

### Output

![Output](./assets/output.png)
Each run produces a JSON dataset like:

```json
[
  {
    "image": "https://images.amazon.com/abc.jpg",
    "title": "Keychron K6 Wireless Mechanical Keyboard",
    "has_prime": true,
    "is_best_seller": false,
    "is_amazon_choice": true,
    "limited_time_deal": true,
    "deal_of_the_day": false,
    "stars": 4.7,
    "total_reviews": 5219,
    "url": "https://www.amazon.co.uk/dp/B08XYZ1234",
    "sponsored": true,
    "number_of_people_bought": "3K+ bought in past month",
    "asin": "B08XYZ1234",
    "availability_quantity": "Only 4 left in stock",
    "price": "£89.00",
    "position": 1
  }
]
```

> View structured results instantly in **Dataset → Overview** inside Apify Console.

***

### Limitations & Best Practices

- 🧭 **Pagination Limit** – Max ~10 pages per query, regardless of `max_results`.
- 🚨 **API Stability** – If results are missing or malformed, retry the run or contact support.
- ⚖️ **Legal Use Only** – Respect Amazon’s Terms of Service and your local scraping laws.

***

### Support

- 💬 **Community Help** – Ask questions via [Apify Discord](https://discord.gg/jyEM2PR) or open a GitHub issue.
- 🛠️ **Commercial Support** – Need customization or scaling help? Reach out on Apify Marketplace.

***

#### Why Use Amazon Search Scraper?

Because getting **accurate, localized, real-time Amazon search data** shouldn't be a hassle.\
This actor is lightweight, scalable, and built for speed—so you get the data you need, without the headaches.

> **Click “Try for free” and start scraping in under 60 seconds!**

***

### Other useful actors:

- [Google Shopping Apify](https://apify.com/damilo/google-shopping-apify)
- [Google Images Scraper](https://apify.com/damilo/google-images-scraper)
- [Google Search Results Scraper](https://apify.com/damilo/google-search-apify)

# Actor input Schema

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

The query to search for.

## `sponsored` (type: `boolean`):

Whether to include sponsored products in the results.

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

The Amazon domain to search in.

## `zip` (type: `string`):

The ZIP code to search in.

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

The country where the products are shipped to.

## `max_results` (type: `integer`):

The maximum number of results to scrape.

## Actor input object example

```json
{
  "query": "coffee",
  "sponsored": false,
  "domain": "com",
  "zip": "",
  "country": "us",
  "max_results": 35
}
```

# 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": "coffee",
    "sponsored": false,
    "domain": "com",
    "zip": "",
    "country": "us",
    "max_results": 35
};

// Run the Actor and wait for it to finish
const run = await client.actor("damilo/amazon-search-apify").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": "coffee",
    "sponsored": False,
    "domain": "com",
    "zip": "",
    "country": "us",
    "max_results": 35,
}

# Run the Actor and wait for it to finish
run = client.actor("damilo/amazon-search-apify").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": "coffee",
  "sponsored": false,
  "domain": "com",
  "zip": "",
  "country": "us",
  "max_results": 35
}' |
apify call damilo/amazon-search-apify --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "✨ Amazon Search Apify",
        "description": "⚡ Ultra-fast Amazon Search Scraper for Apify. Grab real-time product intel—ASIN, title, price, rating, reviews, Prime badge, delivery—across 20 + Amazon sites. Smart filters: ZIP & ship-to, sort, Prime-only, in-stock. Perfect for price tracking, product research, and competitor watch.",
        "version": "0.0",
        "x-build-id": "IHTB6Omht1ai8HCJJ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/damilo~amazon-search-apify/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-damilo-amazon-search-apify",
                "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/damilo~amazon-search-apify/runs": {
            "post": {
                "operationId": "runs-sync-damilo-amazon-search-apify",
                "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/damilo~amazon-search-apify/run-sync": {
            "post": {
                "operationId": "run-sync-damilo-amazon-search-apify",
                "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": "The query to search for.",
                        "default": "coffee"
                    },
                    "sponsored": {
                        "title": "Include sponsored products",
                        "type": "boolean",
                        "description": "Whether to include sponsored products in the results.",
                        "default": false
                    },
                    "domain": {
                        "title": "Country",
                        "enum": [
                            "com",
                            "com.au",
                            "com.br",
                            "ca",
                            "cn",
                            "eg",
                            "fr",
                            "de",
                            "in",
                            "it",
                            "mx",
                            "jp",
                            "co.uk",
                            "es",
                            "pt",
                            "tr"
                        ],
                        "type": "string",
                        "description": "The Amazon domain to search in.",
                        "default": "com"
                    },
                    "zip": {
                        "title": "ZIP Code",
                        "type": "string",
                        "description": "The ZIP code to search in.",
                        "default": ""
                    },
                    "country": {
                        "title": "Country",
                        "enum": [
                            "au",
                            "br",
                            "ca",
                            "cn",
                            "fr",
                            "de",
                            "in",
                            "mx",
                            "it",
                            "jp",
                            "ru",
                            "us",
                            "uk",
                            "es"
                        ],
                        "type": "string",
                        "description": "The country where the products are shipped to.",
                        "default": "us"
                    },
                    "max_results": {
                        "title": "Max results to scrape",
                        "type": "integer",
                        "description": "The maximum number of results to scrape.",
                        "default": 35
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
