# E-commerce Scraping Tool (`apify/e-commerce-scraping-tool`) Actor

Scrape data from e-commerce websites with E-commerce Scraping Tool. Scrape almost any retail site in minutes, extract e-commerce data and use it to monitor price details over time or compare different e-commerce sites’ offerings.

- **URL**: https://apify.com/apify/e-commerce-scraping-tool.md
- **Developed by:** [Apify](https://apify.com/apify) (Apify)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 16,176 total users, 726 monthly users, 99.9% runs succeeded, 263 bookmarks
- **User rating**: 4.31 out of 5 stars

## Pricing

from $1.00 / 1,000 product details

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

**What does E-commerce Scraping Tool do?**

[E-commerce Scraping Tool](https://apify.com/apify/e-commerce-scraping-tool) is an all-in-one solution that extracts product and price data, category details, reviews, and seller information from online retail platforms and marketplaces - including Amazon, Walmart, and eBay - using only a product or category URL.

It supports global marketplaces as well as regional and local e-shops, making it suitable for competitor price monitoring, market research, and building product comparison engines.

**Core capabilities:**

- **Stay undetected** - Built-in proxy rotation helps you avoid getting blocked, even on heavily-protected sites
- **Scrape any e-commerce site** - Works with multinational platforms like Amazon or Alibaba, regional players such as Target, Flipkart, Mercado Livre, Lidl, Alza, Decathlon, Rakuten, and even local e-shops
- **Scrape multiple sites simultaneously** - Compare products and prices across different platforms in a single run
- **Comprehensive data extraction** - Get product name, price, unique identifiers, brand, image, reviews, and more
- **Track price changes** - Schedule runs to monitor stock status and dynamic pricing over time
- **Flexible input options** - Extract data from individual product URLs, category page URLs, or search by keyword
- **Multiple export formats** - Download structured data in JSON, CSV, Excel, XML, or HTML
- **Integrate anywhere** - Export via API endpoints, webhooks, or connect with apps and AI workflows
- **Search across sites** - Use Search Engines to find and compare products across hundreds of retailers simultaneously

**What e-commerce data can you extract with E-commerce Scraping Tool?**

The E-commerce Scraping Tool extracts comprehensive product information from online retail websites:

| **Product data**       | **Commercial info**                            | **Additional details** |
| ---------------------- | ---------------------------------------------- | ---------------------- |
| 📝 Product name        | 💰 Price and currency                          | 📊 Stock status        |
| 🔗 Product description | 🏷️ Product ID (SKU, MPN, GTIN, EAN, UPC, ISBN) | ⭐ Average rating      |
| 🏢 Brand               | 🚚 Shipping information                        | 💬 Review count        |
| 🖼️ Image URL           | 📂 Category                                    | 🏪 Seller information  |
| 🔗 Product URL         | 📺 Product variants                            |                        |

#### Can I use E-commerce Scraping Tool to scrape Amazon, Walmart, eBay, Alibaba, Etsy, etc.?

Yes, you can use the E-commerce Scraping Tool to scrape Amazon, Walmart, eBay, Alibaba, Etsy, and many other online stores using just the product URL. It works with global, regional, and local e-shops, which makes it great for price monitoring and competitor analysis. You'll get data like product name, price, brand, and image, and can export it in JSON, CSV, Excel, or via API.

### How does E-commerce Scraping Tool work?

It works exactly as if you were browsing an e-commerce site and copying product information. The scraper opens the online store, navigates to product or category pages, scrolls through listings, and extracts all visible data into an organized dataset.

#### The Process

- Opens the e-commerce website
- Navigates to the specified product or category URL
- Scrolls through product listings (if scraping categories)
- Extracts all visible product data from each page
- Organizes everything into a structured dataset

The scraper can handle product detail pages, category listings, review sections, and seller profiles, allowing you to complete in minutes what would take hours to do manually. To understand the process fully, just try browsing an e-commerce site yourself - the scraper does exactly the same thing, only much faster and at scale.

### Why use the E-commerce Scraping Tool?

<table>
  <tr>
    <th>Feature</th>
    <th>Competitors</th>
    <th>E-commerce Scraping Tool</th>
  </tr>
  <tr>
    <td>Platform coverage</td>
    <td>Single platform only</td>
    <td>Works on any e-commerce site</td>
  </tr>
  <tr>
    <td>Setup complexity</td>
    <td>API keys, authentication, technical documentation</td>
    <td>Just add URL and start</td>
  </tr>
  <tr>
    <td>Data availability</td>
    <td>Often restricted fields and data types</td>
    <td>All publicly visible data</td>
  </tr>
  <tr>
    <td>Rate limits</td>
    <td>Strict quotas</td>
    <td>Flexible, based on your needs</td>
  </tr>
  <tr>
    <td>Cost</td>
    <td>Per-request fees + subscription</td>
    <td>Pay-per-event model</td>
  </tr>
  <tr>
    <td>Multi-platform comparison</td>
    <td>Requires multiple API integrations</td>
    <td>Scrape multiple sites simultaneously</td>
  </tr>
  <tr>
    <td>Product variants</td>
    <td>Limited or requires separate calls</td>
    <td>Captured automatically</td>
  </tr>
  <tr>
    <td>Regional pricing</td>
    <td>Often requires separate regional accounts</td>
    <td>Access any market directly</td>
  </tr>
  <tr>
    <td>Historical access</td>
    <td>Limited to recent data</td>
    <td>Scrape anytime, build your own history</td>
  </tr>
</table>

### What can you do with data after scraping product prices and details?

#### [💰 Price monitoring and dynamic pricing](https://apify.com/use-cases/e-commerce-pricing-monitoring)

[![Watch the video](https://www.youtube.com/watch?v=ZCpld19dq0k)](https://www.youtube.com/watch?v=ZCpld19dq0k)

E-commerce data is most powerful when it's fresh. Most teams using E-commerce Scraping Tool for pricing set up scheduled runs - whether hourly, daily, or weekly - to monitor anywhere from a handful of key SKUs to hundreds of products across multiple competitors, depending on how dynamic their market is.

A few ways to set this up:

- **Hourly runs** work best for fast-moving categories like electronics or flash sales
- **Daily runs** cover most use cases, from competitive benchmarking to MAP compliance
- **Product URLs** for tracking specific items, category URLs for a broader market overview

Connect the output to Slack alerts, pricing tools, or your data warehouse to close the loop between data and action.

#### [😊 Customer sentiment and review analysis](https://apify.com/use-cases/e-commerce-reviews-sentiment)

Reviews are one of the richest sources of product insight, but they're scattered across thousands of pages on dozens of platforms. Manually reading through them doesn't scale.

E-commerce Scraping Tool lets you collect reviews in bulk, across marketplaces, and pipe them into whatever analysis setup you prefer, whether that's a sentiment analysis tool, a CRM, or an AI model. Product teams use this to catch quality issues early from emerging review patterns. Marketing teams mine customer language for ad copy. Brand managers track how sentiment shifts after a launch or a competitor's move.

For the output, switch to the Reviews view (one review per row) to make analysis easier. Run daily for products getting active feedback, or weekly for more stable catalogs. Pair review data with product metadata to spot correlations between pricing changes and sentiment shifts.

#### [📊 Market research and competitive intelligence](https://apify.com/use-cases/market-research)

**Recommended approach:**

- Run weekly for ongoing trend tracking, or do a one-time deep dive when researching a new market
- Use category URLs for broad market mapping, keywords for product discovery
- Export to your market research platform, a database, or Excel for further analysis

### How to use E-commerce Scraping Tool to scrape product data?

E-commerce Scraping Tool was designed to be easy to start with, even for those who have never extracted data from e-commerce sites before. Extracting product data from any online retail website takes just a few steps:

1. [**Create an Apify account**](https://console.apify.com/sign-up) using your email
2. **Open E-commerce Scraping Tool** in Apify Store
3. **Add your URLs or keywords** - Enter product URLs, category pages, or search terms
4. **Configure your settings (optional)** - Set up proxies, output fields, or scheduling
5. **Click "Start"** and wait for the data to be extracted

[![Watch the video](https://www.youtube.com/watch?v=p8gV_7zFN44)](https://www.youtube.com/watch?v=p8gV_7zFN44)

### How much will data scraping for e-commerce cost you?

E-commerce Scraping Tool uses the pay-per-event (PPE) model, meaning you are charged a fee for specific events. Key cost factors include:

- **Enrichment add-ons** - Each enriched field adds to cost
- **Your Apify subscription plan** - Higher tiers get volume discounts

#### Cost optimization tips

- Start with category pages instead of individual URLs - More efficient than providing thousands of product URLs
- Schedule runs strategically - Daily instead of hourly if real-time data isn't critical
- Disable unnecessary enrichments - Only enable add-ons you actually need

You can find more details of how all this works on the Actor's [pricing tab](https://apify.com/apify/e-commerce-scraping-tool/pricing).

Also note that all fees can have discounts applied depending on your plan. Check out our [pricing page](https://apify.com/pricing) for more details.

### ⬇️ Input

E-commerce Scraping Tool takes multiple kinds of input, which you can choose from in Apify Console. Alternatively, you can enter your search terms via [API](https://apify.com/apify/e-commerce-scraping-tool/api).

#### Details options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Details options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-details.png?raw=true" style="width:70%;"/>
</a>

**Scrape Mode** - Choose how pages are rendered:

- **AUTO** (recommended) - System automatically selects the best method
- **HTTP** - Lightweight requests, faster but may miss JavaScript-loaded content
- **BROWSER** - Full browser rendering, slower but captures all data including dynamically loaded content

**Input methods:**

- **Product detail URLs** - Direct links to individual products (e.g. https://www.amazon.com/dp/B09WNK39JN/)
  - Most accurate method - Extracts complete product information
  - Best for: Monitoring specific products, price tracking lists
- **Category listing URLs** - Extract all products from a category page
- **Keywords** - Search by keyword

**Include additional properties (optional)**

- Standard fields: name, description, price, reviews, etc.
- Additional properties count as 1 data point

**AI summary (optional)**

- Custom prompt - Write your own instructions for the AI, or use Apify's default summary prompt

**Total maximum products** - Set maximum products to scrape per run (controls cost and runtime)

#### Search engine options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Search engine options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-search-engine.png?raw=true" style="width:70%;"/>
</a>

Search across multiple e-commerce sites simultaneously using Search Engines.

**How it works:**

- Enter keywords (e.g. "Sony WH-1000XM5 headphones")
- Select country/region for localized results
- Choose what to scrape: Products, Reviews, OR Sellers (one per run)
- Get aggregated data from hundreds of retailers

**Input parameters:**

| Parameter                        | Type    | Required | Description                              |
| -------------------------------- | ------- | -------- | ---------------------------------------- |
| SearchEngineSearchKeyword        | string  | Yes      | Search term for finding products         |
| countryCode                      | string  | No       | ISO country code                         |
| scrapeProductsFromSearchEngine   | boolean | No       | Enable product scraping (default: false) |
| maxSearchEngineProducts          | integer | No       | Max products per search page             |
| maxSearchEngineSellersPerProduct | integer | No       | Max sellers per product                  |
| maxSearchEngineResults           | integer | No       | Total limit for run                      |
| additionalPropertiesSearchEngine | boolean | No       | Include extra attributes (default: true) |

⚠️ **Critical:** Enable only one scraping mode (Products, Reviews, or Sellers) per run.

**Example 1: Basic product search**

```json
{
    "SearchEngineSearchKeyword": "wireless headphones",
    "countryCode": "us",
    "scrapeProductsFromSearchEngine": true,
    "maxSearchEngineProducts": 50
}
```

**Example 2: Price comparison (sellers mode)**

```json
{
    "SearchEngineSearchKeyword": "wireless headphones",
    "countryCode": "us",
    "scrapeSellersFromSearchEngine": true,
    "maxSearchEngineSellersPerProduct": 5
}
```

**Example 3: International search**

```json
{
    "SearchEngineSearchKeyword": "laptop",
    "countryCode": "de",
    "scrapeProductsFromSearchEngine": true,
    "maxSearchEngineProducts": 100,
    "scrapeMode": "BROWSER"
}
```

#### Food delivery options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Search engine options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-food.png?raw=true" style="width:70%;"/>
</a>

Extract product data from food delivery platforms. You can search by keyword on selected delivery marketplaces, provide direct product URLs, listing URLs, or specify a delivery location.

**Input methods:**

- **Keyword for search** - Search keyword used to find delivery products across selected delivery marketplaces
- **Marketplaces for keyword search** - Select which delivery marketplaces will be used for keyword-based product search
- **Delivery product detail URLs** - Direct links to individual delivery product pages. Each URL will be processed separately to extract product and review data
- **Delivery listing URLs** - Links to delivery category or listing pages. Products found on these pages will be processed automatically

**Configuration options:**

- **Delivery address or location** - Delivery location (e.g. city, ZIP code, or full address) used to localize delivery product availability and results
- **Include extended delivery review data** - When enabled, reviews will be included in the output
- \*\*Total maximum results \*\* - Defines the maximum total number of delivery products or reviews to collect across the entire run

#### Review options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Review options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-reviews.png?raw=true" style="width:70%;"/>
</a>

Extract customer feedback and ratings to analyze product quality and sentiment.

**Input methods:**

- **Review detail URLs** - Scrape all reviews for specific products
- **Review listing URLs** - Extract reviews from all products in a category
- **Keywords + Marketplace** - Find and scrape reviews based on search terms

**Configuration options:**

- **Review sort type** - Predefined sorting (most recent, highest rated, most helpful, most relevant)
- **Include additional properties** - Platform-specific review data (verified purchase badges, review images, helpful votes)
- **Total max reviews** - Limit number of reviews scraped per run

#### Seller options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Seller options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-sellers.png?raw=true" style="width:70%;"/>
</a>

Gather seller information from marketplace platforms.

**Input methods:**

- **Seller profile URLs** - Direct links to seller pages on marketplaces

**Configuration options:**

- **Total maximum sellers** - Limit the number of sellers scraped per run

#### Influencer options

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Influencer options image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-input-influencer.png?raw=true" style="width:70%;"/>
</a>

Scrape Amazon Influencer Storefronts - dedicated pages where influencers promote products.

**Input methods:**

- **Influencer URLs**

**Configuration options:**

- **Scrape Influencer Post Products**
- **Total Maximum Influencer Results**

### ⬆️ Output

The results will be wrapped into a dataset, which you can find in the Output or Storage tab. You can view results as a table or JSON.

You can get specialized views for different use cases:

- **Products details** (default) - Standard product listing with all extracted fields. One row per product. Ideal for catalog analysis and product comparison.
- **Product reviews** - Each review in a separate row. Perfect for sentiment analysis and review mining.
- **Seller info** - Aggregate data by seller. Useful for marketplace vendor analysis.
- **Influencer post** - Aggregates product images and URLs.
- **All fields** - Complete view of every field scraped from the product.

Once the run is finished, you can also download the dataset in various data formats (JSON, CSV, Excel, XML, HTML). Before exporting, you can pick or omit specific output fields; alternatively, you can also choose to download the whole view, which includes thematically connected data.

#### Table view

<a href="https://console.apify.com/actors/2APbAvDfNDOWXbkWf/">
    <img alt="Table view image" src="https://github.com/apify-projects/actor-readme-images/blob/master/e-commerce-scraping-tool-output-books.png?raw=true" style="width:70%;"/>
</a>

#### JSON view

```json
[
    {
        "url": "https://www.amazon.com/dp/0593296966",
        "name": "1929: Inside the Greatest Crash in Wall Street History--and How It Shattered a Nation",
        "offers": {
            "price": 41.25,
            "priceCurrency": "CAD"
        },
        "brand": {
            "slogan": null
        },
        "image": "https://m.media-amazon.com/images/I/41+WBH38aeL.jpg",
        "description": null
    },
    {
        "url": "https://www.amazon.com/dp/B003XQEVUI",
        "name": "Too Big to Fail",
        "offers": {
            "price": null,
            "priceCurrency": null
        },
        "brand": {
            "slogan": null
        },
        "image": "https://m.media-amazon.com/images/I/41S4gav9+HL.jpg",
        "description": null
    },
    {
        "url": "https://www.amazon.com/dp/0547248164",
        "name": "The Great Crash 1929",
        "offers": {
            "price": 64.36,
            "priceCurrency": "BRL"
        },
        "brand": {
            "slogan": null
        },
        "image": "https://m.media-amazon.com/images/I/416wHpkfF6L.jpg",
        "description": null
    }
]
```

#### Output schema

```json
{
    "product": {
        "title": "Sony WH-1000XM5 Wireless Headphones",
        "price": "$399.99"
    },
    "sellers": [
        {
            "merchantName": "Amazon",
            "price": "$399.99",
            "url": "https://www.amazon.com/...",
            "shipping": "Free shipping"
        },
        {
            "merchantName": "Best Buy",
            "price": "$399.99",
            "url": "https://www.bestbuy.com/..."
        }
    ]
}
```

### Are there other e-commerce data scraping tools in Store?

We also have several more specific price, product, and product reviews scraping tools in Apify Store. Check out our other web scrapers to [extract specific e-commerce data](https://apify.com/store/categories/ecommerce-scrapers):

<table>
<tr>
<td>⏱️ <a href="https://apify.com/tri_angle/costco-fast-product-scraper">Costco Fast Product Scraper</a></td>
<td>❄️ <a href="https://apify.com/tri_angle/walmart-product-detail-scraper">Walmart Product Detail Scraper</a></td>
</tr>
<tr>
<td>🏷️ <a href="https://apify.com/tri_angle/kroger-product-details-scraper">Kroger Product Details Scraper</a></td>
<td>🛒 <a href="https://apify.com/tri_angle/allegro-product-detail-scraper">Allegro Product Detail Scraper</a></td>
</tr>
<tr>
<td>👀 <a href="https://apify.com/apify/facebook-marketplace-scraper">Facebook Marketplace Scraper</a></td>
<td>📦 <a href="https://apify.com/junglee/amazon-crawler">Amazon Product Scraper</a></td>
</tr>
</table>

### ❓ Frequently asked questions

#### Can I scrape Amazon, Walmart, eBay, and other major retailers?

Yes! E-commerce Scraping Tool works with virtually all e-commerce platforms, including Amazon, eBay, Alibaba, AliExpress, Etsy, Rakuten, Walmart, Target, Best Buy, Home Depot, Costco, Tesco, Argos, John Lewis, Flipkart, Zalando, Otto, Shopify stores, WooCommerce sites, Magento/Adobe Commerce, BigCommerce, PrestaShop, and more. It works with any online store with publicly accessible product pages.

Simply provide the product or category URL, and the scraper handles the rest. For optimal performance on specific platforms, consider using specialized scrapers.

#### How many products can I scrape per run?

There's no hard limit on the number of products you can scrape. The practical limit depends on your subscription plan, cost budget, and the complexity of the sites you're scraping.

#### Can I scrape products behind login or account walls?

No. E-commerce Scraping Tool only extracts publicly available data that doesn't require authentication.

#### How often should I schedule runs for price monitoring?

It depends on your market. Hourly for fast-moving categories, daily for most use cases, weekly for stable catalogs.

#### Can I scrape historical prices?

No. E-commerce Scraping Tool captures current data only, meaning whatever is visible on the website at the time of the run. However, you can build your own historical dataset by scheduling regular runs and storing each result.

The simplest approach is to set up daily or weekly runs and let the data accumulate. Each run creates a timestamped dataset in Apify's storage, so you can compare them over time to track price trends, seasonality, and patterns. For more advanced setups, push the data to your own database after each run and build time-series analysis on top of it.

#### What if the scraper doesn't work on a specific website?

E-commerce Scraping Tool is continuously updated to work with the most popular e-commerce platforms. If you encounter issues with the platform you are checking, use the [Issues tab](https://apify.com/apify/e-commerce-scraping-tool/issues/open) on the Actor page, create a new issue with all the details, and Apify support will help you troubleshoot.

#### Can I use integrations with E-commerce Scraping Tool?

You can integrate e-commerce API with almost any cloud service or web app. We offer ecommerce API integrations with **Zapier, IFTTT, n8n, Slack, Airbyte, Make, LangChain, GitHub, Google Sheets, Google Drive**, [and plenty more.](https://apify.com/integrations)

Alternatively, you could use [webhooks](https://docs.apify.com/integrations/webhooks) to carry out an action whenever an event occurs, such as getting a notification whenever E-commerce Scraping Tool successfully finishes a run.

#### Can I use E-commerce Scraping Tool with the Apify API?

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify Actors, including this e-commerce web scraper. The e-commerce scraper API also lets you access any datasets, monitor Actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the `apify-client` [NPM package](https://apify.com/apify/e-commerce-scraping-tool/api/javascript). To access the API using Python, use the `apify-client` [PyPI package](https://apify.com/apify/e-commerce-scraping-tool/api/python).

Click on the [API tab](https://apify.com/apify/e-commerce-scraping-tool/api) for code examples, or check out the [Apify API reference docs](https://docs.apify.com/api/v2) for all the details.

#### Can I use E-commerce Scraping Tool through an MCP Server?

Yes. You can use E-commerce Scraping Tool with the Apify MCP server, directly connecting with clients like Claude Desktop, Claude Code, or any other MCP client. Read all about how you can [set up Apify Actors with MCP](https://blog.apify.com/how-to-use-mcp/).

To set up an MCP server with this E-commerce Scraping Tool, you only need to provide the URL to the MCP client: `mcp.apify.com?tools=apify/e-commerce-scraping-tool`.

If you need more detailed settings, go to the [MCP tab](https://apify.com/apify/e-commerce-scraping-tool/api/mcp) and follow the instructions there.

#### Is scraping e-commerce data legal?

E-commerce Scraping Tool is legal as it only extracts publicly available data. It doesn't access or extract any hidden or private data, such as email addresses, gender, or location. It also doesn't extract data behind login. Product names, prices, and store information are all publicly available information. For more details, you can read our [blog post on the legality of web scraping](https://blog.apify.com/is-web-scraping-legal/).

#### Your feedback

We're always working on improving the performance of our Actors. If you have any technical feedback for E-commerce Scraping Tool or have found a bug, please [create an issue in the Issues tab](https://apify.com/apify/e-commerce-scraping-tool/issues/open).

# Actor input Schema

## `scrapeMode` (type: `string`):

Select how the data should be scraped: 'Browser' for full browser rendering, 'HTTP' for lightweight requests, or 'Auto' to let the system decide automatically.

## `detailsUrls` (type: `array`):

Direct URLs to individual product detail pages.

## `listingUrls` (type: `array`):

URLs to category or listing pages that contain multiple products.

## `keyword` (type: `string`):

A keyword used to search for products across marketplaces.

## `marketplaces` (type: `array`):

Select the marketplaces where the keyword search should be performed.

## `additionalProperties` (type: `boolean`):

Includes additional properties in the response.

## `fieldsToAnalyze` (type: `array`):

Select the data point(s) you want to pass to ai. These selected data points will be used to generate a summary.

## `customPrompt` (type: `string`):

Enter a custom prompt to instruct ai how to process the data points. If left blank, Apify’s default prompt will be used.

## `maxProductResults` (type: `integer`):

Defines the total number of product results to collect during the entire run.

## `deduplicateProducts` (type: `boolean`):

Saves each product only once per run, even when it appears under several URLs, on several pages or for several keywords.

## `searchEngineKeyword` (type: `string`):

Search terms for finding products. Enter one keyword per line up to 50 keywords. Each keyword runs as an independent search.

## `scrapeModeSearchEngine` (type: `string`):

Select the type of data to scrape from Search engine results.

## `countryCode` (type: `string`):

Select the country/region to use for the Search Engine search context (affects currency, shipping, and availability). Default is United States (us).

## `citySearchEngine` (type: `string`):

City name to localize Search Engine results (e.g. 'New York', 'London').

## `regionSearchEngine` (type: `string`):

Region or state name to localize Search Engine results (e.g. 'California', 'Bavaria').

## `additionalPropertiesSearchEngine` (type: `boolean`):

Includes additional properties in the products scrape response.

## `maxSearchEngineProducts` (type: `integer`):

Defines the maximum number of products to collect from a single Search Engine search results page during the run.

## `maxSearchEngineSellersPerProduct` (type: `integer`):

Defines the maximum number of sellers to collect for each product found in Search Engine search results.

## `maxSearchEngineResults` (type: `integer`):

Defines the total limit of items (products, sellers, or reviews) to be collected during the run. This limit applies specifically to the Search Engine mode.

## `keywordDelivery` (type: `string`):

Search keyword used to find delivery products across selected delivery marketplaces.

## `marketplacesDelivery` (type: `array`):

Specifies which delivery marketplaces will be used for keyword-based product search.

## `deliveryDetailsUrls` (type: `array`):

Direct links to individual delivery product pages. Each URL will be processed separately to extract product and review data.

## `deliveryListingUrls` (type: `array`):

Links to delivery category or listing pages. Products found on these pages will be processed automatically.

## `addressDelivery` (type: `string`):

Delivery location (e.g. city, ZIP code, or full address) used to localize delivery product availability and results.

## `scrapeReviewsDelivery` (type: `boolean`):

When enabled, reviews will be included in the output.

## `maxDeliveryResults` (type: `integer`):

Defines the maximum total number of delivery products or reviews to collect across the entire run.

## `reviewDetailsUrls` (type: `array`):

Direct links to individual product detail pages. Each page will be visited separately to extract review information.

## `reviewListingUrls` (type: `array`):

Links to pages with multiple product reviews. The scraper will collect all reviews from these listings.

## `keywordReviews` (type: `string`):

A keyword used to search for product reviews across marketplaces.

## `marketplacesReviews` (type: `array`):

Select the marketplaces where the keyword search should be performed for reviews.

## `sortReview` (type: `string`):

Select how product reviews should be sorted. Some marketplaces may not support all sorting options — in such cases, the scraper will fall back to the default.

## `additionalReviewProperties` (type: `boolean`):

Includes additional properties in the response.

## `maxReviewResults` (type: `integer`):

Defines the total number of review results to collect during the entire run.

## `sellerUrls` (type: `array`):

Direct links to seller profile or store pages. Each URL will be visited to extract detailed seller information.

## `maxSellerResults` (type: `integer`):

Defines the total number of seller results to collect during the entire run.

## `influencerUrls` (type: `array`):

Direct links to individual influencer pages. Each page will be visited separately to extract post information.

## `scrapeInfluencerProducts` (type: `boolean`):

Scrape products from influencer posts.

## `maxInfluencerResults` (type: `integer`):

Limits the total number of influencer posts or items to collect during the run.

## `disableFallbacks` (type: `boolean`):

Internal: skip Zyte/Shopify/Oxylabs fallbacks; use marketplace standby only.

## Actor input object example

```json
{
  "scrapeMode": "AUTO",
  "additionalProperties": true,
  "deduplicateProducts": false,
  "scrapeModeSearchEngine": "Google Listing",
  "countryCode": "us",
  "additionalPropertiesSearchEngine": true,
  "scrapeReviewsDelivery": false,
  "sortReview": "Most recent",
  "additionalReviewProperties": true,
  "scrapeInfluencerProducts": false,
  "disableFallbacks": false
}
```

# Actor output Schema

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

Scraped product details, reviews, sellers, or influencer posts.

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

URLs that could not be scraped, with an error code and 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 = {
    "additionalProperties": true,
    "additionalPropertiesSearchEngine": true,
    "scrapeReviewsDelivery": false,
    "additionalReviewProperties": true,
    "scrapeInfluencerProducts": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("apify/e-commerce-scraping-tool").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 = {
    "additionalProperties": True,
    "additionalPropertiesSearchEngine": True,
    "scrapeReviewsDelivery": False,
    "additionalReviewProperties": True,
    "scrapeInfluencerProducts": False,
}

# Run the Actor and wait for it to finish
run = client.actor("apify/e-commerce-scraping-tool").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 '{
  "additionalProperties": true,
  "additionalPropertiesSearchEngine": true,
  "scrapeReviewsDelivery": false,
  "additionalReviewProperties": true,
  "scrapeInfluencerProducts": false
}' |
apify call apify/e-commerce-scraping-tool --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apify/e-commerce-scraping-tool"
        }
    }
}
```

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/2APbAvDfNDOWXbkWf/builds/vHFdGNm2japTPmKbP/openapi.json
