# Amazon Search Scraper API (`antonio_cesar/amazon-search-scraper-api`) Actor

Turn Amazon keywords into live organic and sponsored search results with positions, ASINs, prices, ratings, and product URLs.

- **URL**: https://apify.com/antonio\_cesar/amazon-search-scraper-api.md
- **Developed by:** [Antônio César](https://apify.com/antonio_cesar) (community)
- **Categories:** E-commerce, Developer tools, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 amazon results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Amazon Search Scraper API do?

**Amazon Search Scraper API** converts product keywords into live Amazon search results with rank, sponsored status, ASIN, title, price, rating, review count, image, and product URL. It supports 22 Amazon marketplace domains and returns a stable dataset suitable for keyword-rank tracking, search-share analysis, assortment research, and product discovery.

Run it from the Apify Console or API, schedule recurring keyword checks, and connect datasets to webhooks, Make, Zapier, Google Sheets, or BI tools. Managed data infrastructure handles collection without requiring you to maintain browsers, proxy rotation, or a separate provider account.

### Why use Amazon Search Scraper API?

Search placement changes frequently and strongly affects product visibility. This Actor helps brands and analysts compare organic versus sponsored positions, discover competitors, evaluate localized search results, and build historical rank datasets. Its focused input form avoids unrelated seller, review, or category options.

### How to scrape Amazon search results

1. Click **Try for free**.
2. Enter up to 20 search keywords.
3. Select an Amazon marketplace.
4. Choose the number of results per keyword and pages to inspect.
5. Start the Actor and open the **Search results** dataset view.

### Input

```json
{
  "queries": ["wireless headphones", "gaming headset"],
  "marketplace": "amazon.com",
  "resultsPerQuery": 10,
  "pagesToSearch": 1
}
```

Each keyword can return 1–100 records. A run accepts 20 unique keywords and has a 1,000-record total cap for every user.

### Output

```json
{
  "recordType": "search",
  "input": "wireless headphones",
  "keyword": "wireless headphones",
  "position": 1,
  "sponsored": false,
  "asin": "B0EXAMPLE1",
  "title": "Example headphones",
  "finalPrice": 79.99,
  "currency": "USD",
  "rating": 4.5,
  "reviewsCount": 980,
  "marketplace": "https://www.amazon.com",
  "sourceUrl": "https://www.amazon.com/dp/B0EXAMPLE1",
  "scrapedAt": "2026-08-21T12:00:00Z"
}
```

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.

### Data table

| Field | Meaning |
|---|---|
| `keyword` | Search input associated with the record |
| `position` | Rank in the collected result set |
| `sponsored` | Whether Amazon marked the listing as sponsored |
| `asin`, `title` | Product identity |
| `finalPrice`, `rating`, `reviewsCount` | Commercial signals |
| `sourceUrl`, `imageUrl` | Product and image links |

### How much does it cost to scrape Amazon search data?

The PPE price is **US$0.008 per delivered result**, or **US$8 per 1,000 results**. Five results cost US$0.04 and 100 cost US$0.80. The standard US$0.00005 Actor-start event applies per applicable start unit, and platform usage is included.

### Tips and advanced options

Begin with one page and ten results per keyword. Keep the same marketplace, keywords, and schedule when building a ranking time series. Inspect `sponsored` separately from organic rank. Duplicate keywords are removed before collection, and item-level errors are written to `ERRORS` instead of the billable dataset.

### FAQ, disclaimers, and support

Search results vary with marketplace, time, location, availability, and Amazon experiments. **Unofficial — not affiliated with or endorsed by Amazon.** Users are responsible for complying with applicable law and Amazon terms. For help or a custom keyword-monitoring workflow, open the Actor **Issues** tab.

Need products, reviews, categories, and sellers together? See [Amazon Data Suite](https://apify.com/antonio_cesar/amazon-data-suite).

# Actor input Schema

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

Enter 1–20 Amazon search queries.

## `marketplace` (type: `string`):

Choose the Amazon domain where every keyword will be searched.

## `resultsPerQuery` (type: `integer`):

Maximum products per keyword. The total execution cap is 1,000 records.

## `pagesToSearch` (type: `integer`):

Amazon result pages inspected per keyword.

## Actor input object example

```json
{
  "queries": [
    "wireless headphones"
  ],
  "marketplace": "amazon.com",
  "resultsPerQuery": 10,
  "pagesToSearch": 1
}
```

# Actor output Schema

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

Successful normalized Amazon records. Validation and upstream errors are never mixed into this billable dataset.

## `summary` (type: `string`):

Live or final run status with requested, successful, failed, and charged counts.

## `errors` (type: `string`):

Structured validation or upstream errors, kept outside the results 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": [
        "wireless headphones"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("antonio_cesar/amazon-search-scraper-api").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": ["wireless headphones"] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,antonio_cesar/amazon-search-scraper-api"
        }
    }
}

```

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/ddWRG4BHMhTghfIYz/builds/q8MWRhYGwLN7exXpQ/openapi.json
