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

Our Amazon Search Results Scraper extracts real-time search results from Amazon, including product titles, prices, ratings and other key details. Download the data in formats such as JSON, CSV, Excel, XML, or HTML. Fast, accurate, and designed for detailed analysis and actionable insights.

- **URL**: https://apify.com/axesso_data/amazon-search-scraper.md
- **Developed by:** [AxCrawler](https://apify.com/axesso_data) (community)
- **Categories:** E-commerce
- **Stats:** 921 total users, 70 monthly users, 100.0% runs succeeded, 42 bookmarks
- **User rating**: 4.98 out of 5 stars

## Pricing

from $0.10 / 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.
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

### How does Axesso Amazon Search Scraper work?

The Axesso Amazon Search Scraper works seamlessly to extract detailed, real-time search results directly from Amazon. It is designed for efficiency and ease of use, requiring only a few parameters to deliver precise and comprehensive search result data.

Here’s how it works:

1. **Input Parameters:** Simply provide the keyword for the product search on Amazon along with further filters, such as domain code, max page to be scraped, category, browseNode, node hierarchy and sorting preferences, to refine your search.

2. **Data Extraction:** The scraper performs the search on Amazon and extracts relevant details for each product, including title, price, ASIN, star rating, number of reviews, product image URL, and availability of Prime shipping..

3. **Real-Time Output:** Unlike preprocessed data, our scraper retrieves up-to-date product search results directly from Amazon, ensuring accurate and fresh data every time.

4. **Download Options:** Once the search results are extracted, the data can be downloaded in your preferred format, such as JSON, CSV, Excel, XML, or HTML.

With the Axesso Amazon Search Result Scraper, you get a user-friendly, reliable tool that delivers fast, accurate, and customizable data extraction to meet your specific needs.

### Input data

The Axesso Amazon Search Scraper accepts input in JSON format. The provided JSON include one mandatory JSON Array field "input" with the following fields:

- `keyword` (Required) The search keyword used to retrieve product results from Amazon.
- `domainCode` (Required) The Amazon marketplace domain code (e.g., "com" for Amazon.com, "de" for Amazon Germany).
- `sortBy` (Optional) The sorting method for search results. Options include "relevanceblender" (default), "price-asc-rank", "price-desc-rank", "review-rank", "date-desc-rank".
- `maxPages` (Optional) Set the maximum number of search pages to scrape. For instance, "1" limits scraping to the first page. Max value is 20 pages as this is predefined limit by Amazon. Default value is 1.
- `category` (Optional) Filter search results by category, such as "electronics" or "home_decor," to narrow the product listing.
- `browseNode` (Optional) Filter search results by a specific node id, e.g. 10158976011 to get warehouse-deals related listings.
- `nodeHierarchy` (Optional) Further category nodes hierarchy. Can be a single category number or a comma separated list, e.g. 3375251,10158976011,706814011,11051400011

The 'input' field is an array, allowing you to pass multiple keywords in one run. Each keyword can be configured with individual filters and options, enabling the scraping of up to millions of search results in a single run.

Here an example of a sample input:

```
{
"input": [
    {
    "keyword": "Playstation",
    "domainCode": "com",
    "sortBy": "relevanceblender",
    "maxPages": 10
    },
    {
    "keyword": "TV",
    "domainCode": "com",
    "sortBy": "relevanceblender",
    "maxPages": 1,
    "category": "electronics",
    "browseNode": 10158976011,
    "nodeHierarchy": "172282,10158976011,1266092011,3213027011"
    },
    {
    "keyword": "Shoes",
    "domainCode": "co.uk",
    "sortBy": "relevanceblender",
    "maxPages": 1
    }
]
}
```

### Output data

```
[
{
  "statusCode": 200,
  "statusMessage": "FOUND",
  "keyword": "TV",
  "domainCode": "com",
  "page": 1,
  "selectedCategory": "aps",
  "browseNode": null,
  "nodeHierarchy": null,
  "resultCount": 50000,
  "categories": [
    "Televisions",
    "LED & LCD TVs",
    "QLED TVs",
    "OLED TVs",
    "Smart TVs"
  ],
  "similarKeywords": [
    {
      "keyword": "tv stand",
      "url": "/s?k=tv+stand&ref=rsl_sug_0_0&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    },
    {
      "keyword": "tv 55 inch",
      "url": "/s?k=tv+55+inch&ref=rsl_sug_0_3&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    },
    {
      "keyword": "roku tv",
      "url": "/s?k=roku+tv&ref=rsl_sug_0_1&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    },
    {
      "keyword": "fire tv",
      "url": "/s?k=fire+tv&ref=rsl_sug_0_4&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    },
    {
      "keyword": "smart tv",
      "url": "/s?k=smart+tv&ref=rsl_sug_0_2&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    },
    {
      "keyword": "tv 50 inch",
      "url": "/s?k=tv+50+inch&ref=rsl_sug_0_5&pd_rd_w=1USX0&content-id=amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b:amzn1.sym.5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_p=5aa19d53-77d3-406e-a166-ae5e47edb27b&pf_rd_r=R8681KGN9K4W25N63GPZ&pd_rd_wg=2Cxkg&pd_rd_r=8b864c7e-bb64-4a1a-9d82-f53fdbf29491&qid=1737752363"
    }
  ],
  "currentPage": 1,
  "sortStrategy": "relevanceblender",
  "productDescription": "SAMSUNG 65-Inch Class Crystal UHD 4K DU7200 Series HDR Smart TV w/Object Tracking Sound Lite, PurColor, Motion Xcelerator, Mega Contrast, Q-Symphony (UN65DU7200, 2024 Model)",
  "asin": "B0CVS1XHJL",
  "countReview": 1884,
  "imgUrl": "https://m.media-amazon.com/images/I/71T3tmMx2FL._AC_UY218_.jpg",
  "price": 397.99,
  "retailPrice": 469.99,
  "productRating": "4.1 out of 5 stars",
  "prime": false,
  "dpUrl": "/SAMSUNG-Tracking-Xcelerator-Q-Symphony-UN65DU7200/dp/B0CVS1XHJL/ref=sr_1_1?dib=eyJ2IjoiMSJ9.JkDXIhQCmqr-Rkl1IMOQ1qpKqph0mw5lcUT-Qk-f8SmdNi_F142dl_z7k2N3-A4ZlJo6SBMeMMUFNPRsER8JOPiXQNmBkg4Yl80KBV6Y6U62ITdT21htv2nXXIMNBwvqdfPZEZ8B8i7A8otWmFHlPgF0V7lbxVwFu6cexjutvb6S36AfsqZ_76HuTiO0LrraeAEUUEU8UQe3ZxzDl82v6USipdKWxL5pHPs9N5Mx5Ew.tyyE_MU3nJdkJuvDnTYzvjAm9MKPc_Vm20Ctf3j2JXg&dib_tag=se&keywords=TV&qid=1737752363&sr=8-1",
  "series": null,
  "deliveryMessage": "FREE delivery Tomorrow 11 AM - 8 PM ",
  "variations": [],
  "productDetails": [
    {
      "name": "Display Size",
      "value": "65 inches"
    },
    {
      "name": "Refresh Rate",
      "value": "60 hertz"
    },
    {
      "name": "Resolution",
      "value": "4K"
    },
    {
      "name": "Model Year",
      "value": "2024"
    }
  ],
  "salesVolume": "5K+ bought in past month",
  "manufacturer": null,
  "secondaryOffer": 0.0,
  "sponsored": false,
  "searchResultPosition": 0
}
]
```

### How much does Axesso Amazon Search Scraper cost?

With our Pay-Per-Result pricing model, the cost is completely transparent and predictable, unlike renting actors where expenses can be hard to forecast. The price per result can be easily obtained at the top of this listing page, giving you full visibility into your costs before you start scraping.

### What to consider when using this Actor?

Axesso - Data Service is performing Web Crawling activities for over a decade. All our expertises are included in this Actor, this means the user of this Actor is not required to deal with any inconveniences of web scraping.

In details it means we cover the whole lifecycle including

1. **Proxy Rotation:** We Use our own Proxy Pool including several million proxies in all countries worldwide avoiding that our Scraper can be blocked.

2. **Geo Targeting:** We determine the correct location based on the provided URL. If you would like to fetch result for amazon.com domain, we only use Proxies from USA for the corresponding request. Thus, we support all Amazon domains available while using always the right Proxy location.

3. **Captchas and 503 Status Code:** Captchas and temporary blocks are completely handled by this Actor under the hood ensuring the user to get always the required data.

4. **Further rotation** As already mentioned, our Actor is covering all required activities to ensure a smooth user experience at any point in time.

### Where else you can find Axesso - Data Service solutions?

Our solutions are available and distributed via different channels. You can find our full API selection either on own [API Portal](https://axesso.developer.azure-api.net/apis)  or on [Rapid API](https://rapidapi.com/search?term=axesso\&sortBy=ByRelevance).

You can find more information about our [Amazon API](https://axesso.de/amazon-api/)  on our product page.

On RapidAPI our solutions are already available since 5 years proven by a track record of over 5,000 subscribers across all our APIs. Check it out, to gain trust in our experience!

### Use cases for our Axesso Actors\*\*

1. **Market Research:** Businesses can utilize our Axesso APIs to gather product information, pricing data, customer reviews, and seller details from Amazon. This information can help in understanding market trends, competitor analysis, and identifying gaps in the market.

2. **Price Monitoring:** E-commerce retailers can track prices of their own products as well as competitor products on Amazon using our Axesso APIs. This enables them to adjust their pricing strategies in real-time to stay competitive and maximize profits.

3. **Inventory Management:** Sellers can automate inventory management by leveraging our Axesso APIs to monitor stock levels, product availability, and any changes in product attributes on Amazon. This ensures timely restocking while preventing stockouts or overstocking..

4. **Product Catalog Management:** Retailers with large product catalogs can efficiently update their product listings on Amazon using our Axesso APIs. This includes extracting product titles, descriptions, images, and specifications from their database and synchronizing them with Amazon listings.

5. **Review Monitoring and Sentiment Analysis:** Brands can monitor customer reviews of their products on Amazon using our Axesso APIs. By analyzing sentiment and identifying common issues or positive feedback, brands can improve their products and customer satisfaction.

6. **Lead Generation:** Businesses can leverage our Axesso APIs to scrape Amazon for contact information of sellers or manufacturers to identify potential suppliers, distributors, or partners. This data can be used for targeted outreach and business development efforts.

7. **Content Aggregation and Curation:** Content creators, bloggers, and publishers can use our Axesso APIs to aggregate product information, images, and customer reviews from Amazon to create curated content such as product reviews, comparison articles, or buying guides.

8. **Price Comparison Websites:** Price comparison websites can utilize our Axesso APIs to collect pricing data from Amazon and other e-commerce platforms. This enables consumers to compare prices across different retailers and make informed purchasing decisions.

9. **Ad Campaign Optimization:** Advertisers can scrape Amazon using our Axesso APIs to gather insights into popular products, keywords, and advertising strategies. This data can be used to optimize Amazon PPC (pay-per-click) campaigns and maximize return on ad spend (ROAS).

# Actor input Schema

## `input` (type: `array`):

List of inputs, each entry refers to one keyword to be pulled. Full list of valid parameter can be found in the README tab.

## Actor input object example

```json
{
  "input": [
    {
      "keyword": "Men Shoes",
      "domainCode": "com",
      "sortBy": "recent",
      "maxPages": 1,
      "category": "aps"
    }
  ]
}
```

# 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 = {
    "input": [
        {
            "keyword": "Men Shoes",
            "domainCode": "com",
            "sortBy": "recent",
            "maxPages": 1,
            "category": "aps"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("axesso_data/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 = { "input": [{
            "keyword": "Men Shoes",
            "domainCode": "com",
            "sortBy": "recent",
            "maxPages": 1,
            "category": "aps",
        }] }

# Run the Actor and wait for it to finish
run = client.actor("axesso_data/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 '{
  "input": [
    {
      "keyword": "Men Shoes",
      "domainCode": "com",
      "sortBy": "recent",
      "maxPages": 1,
      "category": "aps"
    }
  ]
}' |
apify call axesso_data/amazon-search-scraper --silent --output-dataset

```

## MCP server setup

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