# Amazon search scraper (`logical_scrapers/amazon-search-scraper`) Actor

Amazon search scraper: scrape Amazon search results by keyword. Amazon keyword scraper for Amazon product search listings with titles, sale and original prices, ratings, review counts and product URLs, across result pages.

- **URL**: https://apify.com/logical_scrapers/amazon-search-scraper.md
- **Developed by:** [Goldmine](https://apify.com/logical_scrapers) (community)
- **Categories:** E-commerce, Marketing, Automation
- **Features:** Limited permissions
- **Stats:** 140 total users, 2 monthly users, 100.0% runs succeeded, 3 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.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.
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 — scrape Amazon search results by keyword into structured data

![Amazon Search Scraper](https://m.media-amazon.com/images/G/01/social/api-share/amazon_logo_500500._V323939215_.png)

This **Amazon search scraper** turns any keyword search on [Amazon](https://www.amazon.com/) into
a clean, structured dataset. Give it the keywords your buyers actually type and it returns the
organic product listings behind them — title, ASIN, price, star rating, review count, Prime and
Amazon's Choice badges, image and product URL. Teams use it to track competitor pricing, monitor
where their own catalogue ranks for a keyword, size up a category before launching into it, and
feed product data to AI agents.

Give it a list of keywords and get back the matching products as JSON, CSV or Excel. No account,
cookies or API key are needed — it reads only Amazon's public search pages, paginates them for
you, and stops at the result limit you set for each keyword. Sponsored placements are filtered
out, so what you get is the organic result set.

***

### 🚀 Key Features

- 🔎 **Keyword-driven** — pass any number of search terms; each one is searched and reported separately
- 🧾 **Full listing data** — title, ASIN, price, list price, rating, review count, image, product URL and result position
- 🏷️ **Badges and demand signals** — Prime eligibility, Amazon's Choice, and "bought in past month" where Amazon shows it
- 🚫 **Organic results only** — sponsored and ad placements are excluded, and repeated products are de-duplicated by ASIN
- 📑 **Per-keyword limits** — `maxItems` applies **per keyword**, so every term gets its own budget
- 🛡️ **Configurable proxy** — Apify residential by default, or switch to datacenter, your own proxy URLs, or none
- 📤 **Multiple export formats** — JSON, CSV, Excel, XML via the Apify dataset
- 🔁 **Schedulable runs** — run the same keyword set daily to build a price and ranking history

***

### 👥 Who Is This Actor For?

- **E-commerce and pricing teams** — track competitor prices and list prices across a keyword set
- **Brand and marketplace managers** — see where your ASINs sit in the organic results for the terms that matter
- **Market researchers and analysts** — size demand and price bands in a category before committing to it
- **Retail media and SEO specialists** — measure organic visibility separately from sponsored placement
- 🤖 **AI builders** — feed live product listings into an agent, RAG pipeline or price-comparison tool

### 💡 Common Use Cases

- Monitor competitor pricing for a set of keywords on a daily schedule
- Track your product's organic rank position for its target search terms
- Build a price and rating history for a category over time
- Find the best-reviewed products for a keyword before sourcing
- Export Amazon search results to CSV or Google Sheets for analysis

***

### 📥 Input

| Field | Type | Description | Default |
| ----- | ---- | ----------- | ------- |
| `keywords` | Array | Keywords to search on Amazon. One search is run per keyword. | Required |
| `maxItems` | Integer | Maximum number of products to return **per keyword**. The run stops paginating a keyword once it reaches this many results. | `100` |
| `maxPages` | Integer | Maximum number of search result pages to visit per keyword. Leave empty to paginate until `maxItems` is reached. | Unset |
| `proxyConfiguration` | Object | Proxy settings. Residential proxies are strongly recommended — Amazon blocks datacenter IPs on search result pages. | Apify Proxy, `RESIDENTIAL` |
| `maxConcurrency` | Integer | How many search result pages to fetch in parallel. Lower this if you see blocking. | `3` |
| `maxRequestRetries` | Integer | How many times to retry a page that is blocked or returns no products. Each retry rotates the proxy session. | `8` |

#### Example Input

```json
{
  "keywords": [
    "kindle paperwhite",
    "hp laptop",
    "usb c cable"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

***

### 📤 Output

Each dataset item is one product from the search results:

| Field | Type | Description |
| ----- | ---- | ----------- |
| `keyword` | String | The search keyword this product was found for |
| `asin` | String | Amazon's product identifier |
| `title` | String | Product title as shown in the search results |
| `url` | String | Canonical product URL, with search tracking removed |
| `price` | String | Current price as displayed, e.g. `"$219.99"` |
| `realPrice` | String | Struck-through list price, when Amazon shows one |
| `rating` | Number | Star rating out of 5 |
| `ratingCount` | Number | Number of customer ratings |
| `imageUrl` | String | Product thumbnail from the results grid |
| `isPrime` | Boolean | Whether the listing is Prime eligible |
| `isAmazonsChoice` | Boolean | Whether Amazon marks it as Amazon's Choice |
| `badges` | Array | Badge labels shown on the tile |
| `boughtInPastMonth` | String | Purchase-volume note, e.g. `"500+ bought in past month"`, when shown |
| `productType` | String | Variation product type, when the tile links to variants |
| `position` | Number | Result position for this keyword, starting at 1 |
| `sourceUrl` | String | The search results page the product came from |
| `scrapedAt` | String | ISO 8601 timestamp of extraction |

Fields Amazon does not show for a given listing are returned as `null`.

#### Example Output

```json
{
  "keyword": "kindle paperwhite",
  "asin": "B0DDZJS3SB",
  "title": "Kindle Paperwhite 16GB (newest model) – 20% faster, with new 7\" glare-free display and weeks of battery life – Without lockscreen ads – Black",
  "url": "https://www.amazon.com/All-new-Amazon-Kindle-Paperwhite-glare-free/dp/B0DDZJS3SB",
  "price": "$219.99",
  "realPrice": null,
  "rating": 4.6,
  "ratingCount": 22772,
  "imageUrl": "https://m.media-amazon.com/images/I/61KMlIaN9pL._AC_UY218_.jpg",
  "isPrime": false,
  "isAmazonsChoice": true,
  "badges": ["Amazon's Choice"],
  "boughtInPastMonth": null,
  "productType": null,
  "position": 1,
  "sourceUrl": "https://www.amazon.com/s?k=kindle+paperwhite",
  "scrapedAt": "2026-09-08T17:51:27.241993+00:00"
}
```

You can export the dataset as **JSON, CSV, Excel, XML, RSS, or HTML** from the Apify Console or
via the [Apify API](https://docs.apify.com/api/v2).

***

### 💰 Pricing

This Actor is **pay per event** (you pay per result): $0.01 per product, so **1,000 products cost
$10.00** plus Apify platform usage. A free Apify account is enough to try it.

***

### ❓ FAQ

#### What is the Amazon Search Scraper?

It is an Amazon search scraper that takes your keywords and returns the organic product listings
Amazon shows for them. Each result comes back with title, ASIN, price, rating, review count and
product URL, ready to export or feed into another tool.

#### Do I need an account, cookies or an API key?

No. It reads only Amazon's public search result pages, so there is nothing to log into.

#### Do I need a proxy?

Residential proxies are recommended and are the default — Amazon blocks datacenter IP ranges on
search result pages. You can switch to datacenter proxies, supply your own proxy URLs, or run
with no proxy at all from the Proxy configuration section of the input.

#### How many results can I get per run?

`maxItems` applies **per keyword**, not across the whole run, so ten keywords with `maxItems: 100`
return up to 1,000 products. Amazon itself stops serving organic results after roughly seven
pages per query, which caps a single keyword at a few hundred products.

#### Does it handle pagination automatically?

Yes. It reads the result-count banner on the first page and requests only as many further pages
as your `maxItems` budget needs. Set `maxPages` if you want a hard page cap as well.

#### Are sponsored products included?

No. Ad and sponsored placements are filtered out so the dataset reflects organic ranking. Result
`position` is the organic position for that keyword.

#### Can I schedule it or integrate it with my app?

Yes — every Apify Actor exposes a REST API, webhooks, and integrations with Zapier, Make, Google
Sheets and Slack, and can be called from an AI agent via the Apify MCP server.

#### Is it legal to scrape Amazon?

This Actor accesses only publicly available pages. You are responsible for making sure your use
complies with Amazon's terms of service and the laws in your jurisdiction.

#### What if the site changes and the Actor breaks?

Open an issue on the Actor's **Issues** tab. Selectors are checked against live pages and fixed when Amazon changes its layout.

***

### 🧩 Part of the E-commerce Scrapers suite

Goldmine's E-commerce Scrapers cover product, search and catalogue data across online retail.
Also try:

- [Amazon Product Scraper](https://apify.com/logical_scrapers/amazon-product-scraper) — full product detail from Amazon product URLs, including specs, variants and images
- [SSENSE Scraper](https://apify.com/logical_scrapers/ssense-scraper) — designer fashion product data from SSENSE

See every Goldmine Actor at [apify.com/logical_scrapers](https://apify.com/logical_scrapers).

***

### 📷 Image Credit

Image credit: [amazon.com](https://www.amazon.com/)

***

### 📬 Contact & Support

- **Issues & feature requests**: use the Issues tab on this Actor's page — that is the most direct route to a fix.
- **Email**: `coredev.dan@gmail.com`
- **If this Actor saved you time, please leave a ⭐ rating on the Apify Store.** It helps us keep
  it maintained.

# Actor input Schema

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

Keywords to search on Amazon. One search is run per keyword.

## `maxItems` (type: `integer`):

Maximum number of products to return for each keyword. The run stops paginating a keyword once it reaches this many results.

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

Maximum number of search result pages to visit per keyword. Leave empty to paginate until 'Maximum products per keyword' is reached.

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

Proxy settings. Residential proxies are strongly recommended — Amazon blocks datacenter IPs on search result pages. Switch to datacenter or no proxy only if you understand the trade-off.

## `maxConcurrency` (type: `integer`):

How many search result pages to fetch in parallel. Lower this if you see blocking.

## `maxRequestRetries` (type: `integer`):

How many times to retry a page that is blocked or returns no products. Each retry rotates the proxy session.

## Actor input object example

```json
{
  "keywords": [
    "hp laptop"
  ],
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 3,
  "maxRequestRetries": 8
}
```

# 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": [
        "hp laptop"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("logical_scrapers/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": ["hp laptop"] }

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

```

## MCP server setup

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