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

Scrape Amazon search results with ASIN, title, price, star rating, review count, image, Prime and sponsored flags and badges like Best Seller. Run many keywords on Amazon.com or Amazon.de, sort and filter by price or department, and page up to 20 result pages.

- **URL**: https://apify.com/thescrappa/amazon-search-scraper.md
- **Developed by:** [Scrappa](https://apify.com/thescrappa) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 94.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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 Amazon for any keyword and get one clean row per product: ASIN, title, product link, price and currency, star rating, number of ratings, main image, Prime and sponsored flags, badges such as Best Seller or Overall Pick, and the brand when Amazon shows it. Each row keeps its position in the results, and you can add many keywords in one run, choose Amazon.com or Amazon.de, sort by price, rating or newest, and narrow the search to one department or a price range. No Amazon account is needed.

### What data can you extract?

| Field | Type | Description |
| --- | --- | --- |
| `asin` | String | Amazon Standard Identification Number, the 10-character product ID, such as B077B9W343. |
| `title` | String | Product title as shown in the search results. |
| `url` | String | Link to the product page on the chosen Amazon marketplace. |
| `price` | Number or null | Current price in the marketplace currency, as a number. Null when Amazon shows no single price. |
| `currency` | String or null | ISO currency code of the price: USD on Amazon.com, EUR on Amazon.de. |
| `price_text` | String or null | Price as Amazon displays it, such as $15.19. |
| `rating` | Number or null | Average star rating from 1 to 5. Null for products without ratings. |
| `reviews_count` | Integer or null | Number of customer ratings. Null for products without ratings. |
| `image` | String | Link to the product image from the search results. |
| `is_prime` | Boolean | True when the product shows the Prime badge. |
| `is_sponsored` | Boolean | True when the product is a paid sponsored placement. |
| `badges` | Array\<String> | Badges such as Best Seller, Overall Pick or Amazon's Choice. Empty when the product has none. |
| `brand` | String or null | Brand name when Amazon shows it in the results. Often null on Amazon.com. |
| `domain` | String | Marketplace of the search: US or DE. |
| `page` | Integer | Result page the product was found on, from 1 to 20. |
| `position` | Integer | Position of the product in the results for this keyword, counted across pages and starting at 1. A product that Amazon shows again on a later page is saved once, at its first position. |
| `input_query` | String | The keyword from your input that found this product. |
| `scraped_at` | String | UTC date and time when this record was collected. |

### Use cases

- Sellers can track where their products and their competitors rank for the keywords that matter.
- Brands can watch prices, ratings and sponsored placements of their products and resellers on Amazon.
- Product researchers can find popular products with many reviews in a niche and a price range.
- Price comparison sites can collect current Amazon prices for a list of keywords every day.
- Agencies can measure how much of the first result page is sponsored for a client's keywords.

### How to use

1. Add one entry per keyword to `queries`, such as `laptop stand`.
2. Optional: set `domain` to `DE` for Amazon.de, choose a `sort` order, and set `category`, `minPrice` or `maxPrice`.
3. Set `maxResults` to the number of products you want for each keyword.
4. Start the run. Each product gives one dataset row with the keyword that found it and its position.

```json
{
  "queries": [
    {
      "query": "laptop stand"
    }
  ],
  "domain": "US",
  "maxResults": 20
}
```

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `queries` | Array\<object> | Yes | Keywords to search on Amazon, one per entry. Each entry can set its own marketplace, sort order, department and price range. |
| `queries[].query` | string | Yes per entry | Keywords as you would type them into the Amazon search box, such as laptop stand or usb c cable. |
| `queries[].domain` | string | No | Amazon site to read. Prices come in its currency: US dollars or euros. An entry can set its own marketplace. |
| `queries[].sort` | string | No | Order of the results, as on Amazon. Leave empty for the Amazon default order. |
| `queries[].category` | string | No | Search only one Amazon department. Enter its search alias, such as electronics, books, fashion or toys-and-games. Leave empty to search all departments. |
| `queries[].minPrice` | number | No | Lowest product price in the marketplace currency, such as 10 for $10 on Amazon.com. |
| `queries[].maxPrice` | number | No | Highest product price in the marketplace currency, such as 50 for 50 euros on Amazon.de. |
| `domain` | string | No | Amazon site to read. Prices come in its currency: US dollars or euros. An entry can set its own marketplace. |
| `sort` | string | No | Order of the results, as on Amazon. Leave empty for the Amazon default order. |
| `category` | string | No | Search only one Amazon department. Enter its search alias, such as electronics, books, fashion or toys-and-games. Leave empty to search all departments. |
| `minPrice` | number | No | Lowest product price in the marketplace currency, such as 10 for $10 on Amazon.com. |
| `maxPrice` | number | No | Highest product price in the marketplace currency, such as 50 for 50 euros on Amazon.de. |
| `maxResults` | integer | No | Maximum products to save for each keyword. Amazon shows about 16 to 60 products per page and up to 20 pages per search. |
| `maxPages` | integer | No | Maximum pages to request for each batch entry. |

### Output example

```json
{
  "asin": "B077B9W343",
  "title": "Nulaxy Ergonomic Adjustable Laptop Stand for Desk, Foldable Aluminum Computer Riser with Heat Vent, Compatible with 10 to 16 Inch Laptops",
  "url": "https://www.amazon.com/dp/B077B9W343",
  "price": 15.19,
  "currency": "USD",
  "price_text": "$15.19",
  "rating": 4.7,
  "reviews_count": 16975,
  "image": "https://m.media-amazon.com/images/I/61jtA8kHq9L._AC_UY218_.jpg",
  "is_prime": true,
  "is_sponsored": false,
  "badges": [
    "Overall Pick"
  ],
  "brand": "Nulaxy",
  "domain": "US",
  "page": 1,
  "position": 1,
  "input_query": "laptop stand",
  "scraped_at": "2026-10-01T12:00:00Z"
}
```

### Pricing

$0.375 per 1,000 results on the Apify Free plan, $0.34 on Bronze, $0.31 on Silver and $0.30 on Gold and higher plans. Apify saves one dataset item per result and applies the Actor’s per-result price to saved items.

Pagination follows the source response. Set **maxPages** per batch entry and **maxResults** for each entry.

### FAQ

#### Is scraping this information legal?

Rules depend on the source, location, data type, and intended use. Check applicable laws and source terms, and make sure your workflow follows privacy and data protection requirements.

#### What limits apply?

Submit up to 100 batch entries per run. Use **maxResults** to cap saved items for each entry and **maxPages** to limit pages for each entry. Results also depend on source availability and your Scrappa API plan.

#### Can I start runs through the Apify API?

Yes. Send a POST request to `https://api.apify.com/v2/acts/thescrappa~amazon-search-scraper/runs` with your Actor input, or use an Apify client library. Read the output from the run dataset.

#### Can I connect the results to other tools?

Yes. Apify integrations and APIs can pass dataset results to Make, Zapier, n8n, Google Sheets, and other data workflows.

#### What happens when one input fails?

The Actor logs a short source error and continues with the remaining entries. Transient rate limits and gateway errors are retried; if every entry fails, the run reports an error.

#### Which Amazon marketplaces are supported?

Amazon.com (United States) and Amazon.de (Germany). Set domain on the whole run or on single keywords. Prices come in US dollars or euros.

#### Why is the price empty for some products?

Amazon shows no single price for some products, for example when you must pick a size or color first or the product is out of stock. The row is still saved with a null price.

#### Are sponsored products included?

Yes. Sponsored products appear where Amazon shows them, and is_sponsored is true for them. Filter on that field if you only want organic results.

### Related Scrappa Actors

- [Amazon Best Sellers Scraper](https://apify.com/thescrappa/amazon-best-sellers-scraper)
- [eBay Search Scraper](https://apify.com/thescrappa/ebay-search-scraper)
- [Google Shopping Scraper](https://apify.com/thescrappa/google-shopping-scraper)
- [Geizhals Price Comparison Search Scraper](https://apify.com/thescrappa/geizhals-search-scraper)
- [Billiger.de Price Comparison Search Scraper](https://apify.com/thescrappa/billiger-search-scraper)

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on Amazon, one per entry. Each entry can set its own marketplace, sort order, department and price range.

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

Amazon site to read. Prices come in its currency: US dollars or euros. An entry can set its own marketplace.

## `sort` (type: `string`):

Order of the results, as on Amazon. Leave empty for the Amazon default order.

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

Search only one Amazon department. Enter its search alias, such as electronics, books, fashion or toys-and-games. Leave empty to search all departments.

## `minPrice` (type: `number`):

Lowest product price in the marketplace currency, such as 10 for $10 on Amazon.com.

## `maxPrice` (type: `number`):

Highest product price in the marketplace currency, such as 50 for 50 euros on Amazon.de.

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

Maximum products to save for each keyword. Amazon shows about 16 to 60 products per page and up to 20 pages per search.

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

Maximum pages to request for each batch entry.

## Actor input object example

```json
{
  "queries": [
    {
      "query": "laptop stand"
    }
  ],
  "domain": "US",
  "maxResults": 20,
  "maxPages": 20
}
```

# Actor output Schema

## `results` (type: `string`):

All results from this run in the default dataset.

# 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 = {
    "queries": [
        {
            "query": "laptop stand"
        }
    ],
    "domain": "US",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrappa/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 = {
    "queries": [{ "query": "laptop stand" }],
    "domain": "US",
    "maxResults": 20,
}

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

```

## MCP server setup

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