# Amazon Search Scraper - Products, Prices & Rank by Keyword (`renzomacar/amazon-search-scraper`) Actor

Search Amazon by keyword in 18 countries and get every product in Amazon order: ASIN, price, rating, ratings count, units bought last month, sponsored flag, badge and organic rank. No login, no API key, proxies included.

- **URL**: https://apify.com/renzomacar/amazon-search-scraper.md
- **Developed by:** [Renzo Madueno](https://apify.com/renzomacar) (community)
- **Categories:** E-commerce, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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 - Products, Prices & Rank by Keyword

Type a keyword, get the Amazon search results as clean rows: every product in the order Amazon shows it, with ASIN, price and list price as numbers, rating, number of ratings, "bought in past month", badge, coupon, delivery text and whether the spot is sponsored. Each row carries both its position on the page and its organic rank.

Works on 18 Amazon stores. No Amazon account, no API key, no proxy setup: the Actor picks the connection each store needs by itself.

### What you can do with it

- **Keyword rank tracking**: run your keywords on a schedule and follow `organicPosition` of your ASINs and your competitors'.
- **Product and niche research**: see prices, review counts and units bought last month for everything that ranks for a term.
- **Price monitoring**: `price`, `listPrice` and `discountPercent` as numbers, in the store's currency.
- **Ad monitoring**: `sponsored: true` marks paid placements, so you can see who is buying a keyword and where the ad lands.
- **Feed AI agents and LLM pipelines**: flat JSON, one row per product, ready for a prompt, a sheet or a database.

### Input

| Field | What it does |
| --- | --- |
| **Search terms** | One search per line, as you would type it on Amazon. Each term is searched separately. |
| **Products per search term** | 1 to 1,000. Amazon itself usually stops after a few hundred products for one search. |
| **Amazon store** | US, UK, Germany, Italy, Spain, Canada, Mexico, Brazil, India, Japan, Australia, Netherlands, Sweden, Poland, UAE, Saudi Arabia, Singapore, Turkey. |
| **Order** | Featured (Amazon's default), best sellers, price low to high, price high to low, average review, newest. |
| **Minimum / maximum price** | Keep only products in a price range, in the store's currency. |
| **Include sponsored products** | Turn off for organic results only. |
| **Proxy** | Optional. Leave it as it is unless you want to use your own proxy. |

```json
{
    "queries": ["air fryer", "wireless earbuds"],
    "maxResults": 100,
    "country": "US",
    "sortBy": "featured",
    "includeSponsored": true
}
```

### Output

One row per product. This is a real row:

```json
{
    "query": "air fryer",
    "country": "US",
    "page": 1,
    "position": 1,
    "pagePosition": 1,
    "organicPosition": 1,
    "asin": "B0CSZ7WBYW",
    "url": "https://www.amazon.com/dp/B0CSZ7WBYW",
    "title": "Ninja Air Fryer Pro, 5 Qt, 4-in-1, Grey, AF141",
    "price": 89.99,
    "listPrice": 129.99,
    "discountPercent": 31,
    "currency": "USD",
    "priceText": "$89.99",
    "rating": 4.7,
    "ratingsCount": 11064,
    "boughtPastMonth": 10000,
    "boughtPastMonthText": "10K+ bought in past month",
    "sponsored": false,
    "badge": "Overall Pick",
    "coupon": null,
    "delivery": "Join Prime to get FREE delivery Wed, Nov 18 Or Non-members get FREE delivery Sat, Nov 21",
    "thumbnailUrl": "https://m.media-amazon.com/images/I/71jfzcXideL._AC_UY218_.jpg",
    "scrapedAt": "2026-11-17T02:55:52.702Z"
}
```

- `position` counts every product in the order shown, ads included. `organicPosition` counts only non-sponsored products and is `null` on sponsored rows.
- `boughtPastMonth` is the lower bound Amazon prints ("10K+" becomes 10000). The original text stays in `boughtPastMonthText`.
- `badge` is whatever label Amazon puts on the product: "Overall Pick", "Best Seller", "Amazon's Choice", a deal label, and so on.

In our tests, 450 products for three search terms on amazon.com took 1 minute 40 seconds.

### Price

**$1 per 1,000 products.** You pay for the rows you get and nothing for starting a run. Proxy traffic is included in that price. A run that returns no products is not charged. Set a maximum cost per run and the Actor stops when it is reached.

### Good to know

- **Search pages only**: you get what a search result shows. Bullet points, full description, seller, BSR and variations live on the product page and are not included.
- **Prices and delivery depend on location**: the Actor reads each store from an address in that store's country. Delivery dates are the ones shown to a visitor without an account.
- **Some products have no price** in search results (out of stock, "see options"). `price` is `null` for those.
- **How deep a search goes**: Amazon shows a limited number of pages per search, usually a few hundred products, even when it reports thousands of matches. For more coverage, add related terms or split by price range.
- **Sponsored rows** can repeat a product that also ranks organically; both rows are returned, each with its own position.
- **France is not supported yet.** amazon.fr puts a different check in front of its search pages.
- A search term with no matches returns no rows and the run continues with the next term.
- The run summary (products per term, Amazon's reported match count, filters used) is saved under the key `SUMMARY` in the run's key-value store.

### FAQ

**Do I need an Amazon account, the Product Advertising API or SP-API access?** No. The Actor reads the public search pages, the same ones any visitor sees without signing in.

**Do I have to configure proxies?** No. The right connection for each store is chosen automatically and its cost is part of the price per product.

**Can I track where my product ranks for a keyword?** Yes. Schedule the Actor with your keywords and filter the rows by your `asin`. `organicPosition` is your rank without ads; `position` is where shoppers actually see it.

**Can I run it from Python, n8n, Make or an AI agent?** Yes. It works through the Apify API, the Apify clients for Python and JavaScript, the integrations for n8n, Make and Zapier, and the Apify MCP server for Claude, ChatGPT and other agents.

**Is it legal?** The Actor only reads publicly visible search results and does not log in. You are responsible for how you use the data.

# Actor input Schema

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

One search per line, exactly as you would type it on Amazon. Each term is searched separately.

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

How many products to return for each term. Amazon itself usually stops after a few hundred products for one search.

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

Which Amazon site to search. Prices come in that store's currency.

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

Featured is Amazon's default order, the one shoppers see.

## `minPrice` (type: `integer`):

Keep only products at or above this price, in the store's currency. Leave empty for no limit.

## `maxPrice` (type: `integer`):

Keep only products at or below this price, in the store's currency. Leave empty for no limit.

## `includeSponsored` (type: `boolean`):

Sponsored products are ads placed among the results. Turn off to get organic results only. Either way, each row says whether it is sponsored.

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

Optional. Leave it off and the Actor picks the connection each store needs by itself. Turn it on only to use your own proxy.

## Actor input object example

```json
{
  "queries": [
    "air fryer"
  ],
  "maxResults": 20,
  "country": "US",
  "sortBy": "featured",
  "includeSponsored": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per product, in the order Amazon showed them for each search term.

# 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": [
        "air fryer"
    ],
    "maxResults": 20,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("renzomacar/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": ["air fryer"],
    "maxResults": 20,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("renzomacar/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": [
    "air fryer"
  ],
  "maxResults": 20,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call renzomacar/amazon-search-scraper --silent --output-dataset

```

## MCP server setup

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