# E-commerce Product Scraper - Price, Stock & Variants Any Store (`rel8ble/ecommerce-product-scraper`) Actor

E-commerce product scraper for any online store: product or category URLs in, one row per product with price, list price, discount, stock, SKU, GTIN, brand, rating, images and variants. Shopify, WooCommerce, Magento + schema.org sites. Price tracking. $0.50 / 1,000.

- **URL**: https://apify.com/rel8ble/ecommerce-product-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

Learn more: https://docs.apify.com/actors/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

## E-commerce Product Scraper - Price, Stock & Variants from Any Store

**E-commerce product scraper**, **product price scraper** and **competitor price monitor** for any online store: paste product page URLs (one or 100,000, from as many stores as you like) or category / collection / search pages, and get one clean row per product with **name, brand, price, currency, was / compare-at price, discount %, stock status, SKU, GTIN / EAN / UPC, MPN, rating, review count, category, breadcrumbs, images and every variant** (size / colour with its own SKU, price and stock).

It reads the data stores publish for Google Shopping and search engines: **schema.org JSON-LD** (Product, ProductGroup, Offer, AggregateOffer), **microdata**, **Open Graph / product:price meta tags**, and on **Shopify** stores the store's own product JSON for full variant stock. Works on **Shopify, WooCommerce, Magento / Adobe Commerce, BigCommerce, PrestaShop, Shopware, Salesforce Commerce Cloud, Wix, Squarespace, OpenCart, Ecwid** and custom stores with product markup. Plain HTTP, no headless browser: **$0.50 per 1,000 products, no start fee**, and the 19-product default input took **4.3 s run time on the Apify cloud** (1 Dec 2026, $0.0003 platform usage). Failed URLs and pages without product data are free.

### What you get

| Field group | Fields |
|---|---|
| Product | name, brand, sku, gtin, mpn, productId, category, breadcrumbs, tags, color, material, description |
| Price | price, currency, listPrice (was / compare-at), discountPercent, minPrice, maxPrice, priceValidUntil, shippingCost, offerCount, seller, condition |
| Stock | availability (InStock, OutOfStock, PreOrder, BackOrder ...), inStock |
| Reviews | rating, reviewCount |
| Media | mainImage, images\[] |
| Variants | variants\[]: name, sku, gtin, price, listPrice, availability, inStock, image, url, options ({"Size":"M"}), variantId |
| Tracking | changeStatus (new / changed / unchanged), previousPrice, priceChange, priceChangePercent, previousAvailability |
| Context | store, platform, dataSources, listingUrl, position, canonicalUrl, statusCode, scrapedAt |

### Sample output

Default input (2 product pages + the shop page of the scrapeme.live WooCommerce test store, 18 products per listing), local run 1 Dec 2026, 19 rows in 2.3 s (`sample-output.json`):

| name | price | currency | availability | sku | category | platform |
|---|---|---|---|---|---|---|
| Bulbasaur | 63.00 | GBP | InStock | 4391 | Pokemon | woocommerce |
| Pikachu | 37.00 | GBP | InStock | 1333 | Pokemon | woocommerce |
| Ivysaur | 87.00 | GBP | InStock | 7227 | Pokemon | woocommerce |
| Venusaur | 105.00 | GBP | InStock | 7036 | Pokemon | woocommerce |
| Charmander | 48.00 | GBP | InStock | 9086 | Pokemon | woocommerce |

Real Shopify rows from a local test on 1 Dec 2026 (collection page `deathwishcoffee.com/collections/coffee`, 5 products, plus an Everlane product URL):

| name | price | listPrice | inStock | sku | gtin | variants | sources |
|---|---|---|---|---|---|---|---|
| Dark Roast Instant Coffee | 11.99 USD | - | true | 7208IC | 856413007408 | 4 | json-ld + meta-tags + shopify JSON |
| Peppermint Mocha Coffee | 13.99 USD | - | true | LGPEPM09 | 810063344108 | 3 | json-ld + meta-tags + shopify JSON |
| The Essential Organic Crew - White | 20.00 USD | 34.00 | true | M-T-CTN-ORGN-CR.2-WHT-XS | - | 6 | json-ld + meta-tags + shopify JSON |

One row (shortened):

```json
{
  "url": "https://scrapeme.live/shop/Bulbasaur/",
  "store": "scrapeme.live",
  "platform": "woocommerce",
  "name": "Bulbasaur",
  "price": 63,
  "currency": "GBP",
  "listPrice": null,
  "availability": "InStock",
  "inStock": true,
  "sku": "4391",
  "seller": "ScrapeMe",
  "priceValidUntil": "2027-12-31",
  "category": "Pokemon",
  "breadcrumbs": ["Home", "Pokemon", "Bulbasaur"],
  "mainImage": "https://scrapeme.live/wp-content/uploads/2018/08/001.png",
  "variantCount": 0,
  "dataSources": ["json-ld"],
  "scrapedAt": "2026-12-01T18:31:30.841Z"
}
```

### Use cases

- **Competitor price monitoring**: schedule a daily run over your competitors' product URLs with a price-tracking store; each row says whether the price or stock changed, by how much and in which direction. Turn on "Save only new or changed products" and you pay only for changes.
- **MAP / reseller compliance**: check what retailers charge for your SKUs (match on GTIN / SKU) and flag anyone under the minimum advertised price.
- **Catalog building and enrichment**: pull brand, GTIN, images, descriptions and variants from supplier or brand stores into your PIM, feed or marketplace listing.
- **Dropshipping and product research**: scrape whole categories from several Shopify / WooCommerce stores and compare prices, discounts and stock.
- **Stock alerts**: watch out-of-stock products and get the rows that flip to InStock (scheduled run + webhook / Make / Zapier).
- **AI agents and MCP**: an agent can call it with a list of product URLs and get structured price / stock JSON back in seconds.

### Pricing

**$0.50 per 1,000 products** (one `result` event per saved product), no start fee, no monthly rent. Not charged: failed URLs, 404s, bot-protection pages, pages without product data, robots.txt-blocked URLs, unchanged products skipped by price tracking, and the extra Shopify JSON requests. Set "Max products in total" or a max cost per run to cap spend.

| Actor | Price per 1,000 products | Start fee | Users (Store, 30 Nov 2026) |
|---|---|---|---|
| **This actor** | **$0.50** | none | new |
| apify/e-commerce-scraping-tool | $6.00 (free plan) | $0.0001 | 17,005 lifetime, 745 / 30 days |

That is **92% less per product** than the most-used general e-commerce scraper on the Store. Speed: the default input (19 products, 22 requests) takes 2.3 s locally; a 5-product Shopify collection with variant JSON took about 4 s. The rival's speed was not measured. Honest difference: that tool can use a browser and residential proxies for marketplaces; this actor is HTTP-only (see FAQ for what that means).

### How to use

1. Paste product page URLs into **Product page URLs**, and / or category, collection or search pages into **Category / collection / search page URLs**.
2. Optional: set **Max products per listing URL** and **Max pages per listing URL** for category pages.
3. Optional, for monitoring: type a name (e.g. `my-competitors`) into **Price-tracking store name** and schedule the actor (Apify Schedules, daily or hourly).
4. Run, then download the dataset as JSON, CSV, Excel or via the API.

#### Input examples

Product URLs from several stores:

```json
{
  "productUrls": [
    "https://www.everlane.com/products/mens-organic-cotton-crew-tee-white",
    "https://deathwishcoffee.com/products/dark-roast-instant-coffee",
    "https://scrapeme.live/shop/Pikachu/"
  ]
}
```

Daily price watch on two collections, only changes saved:

```json
{
  "listingUrls": ["https://deathwishcoffee.com/collections/coffee", "https://scrapeme.live/shop/"],
  "maxProductsPerListing": 200,
  "maxListingPages": 10,
  "changeTrackingStore": "coffee-watch",
  "onlyChangedProducts": true,
  "includeDescription": false
}
```

### Input

| Field | Default | What it does |
|---|---|---|
| productUrls | demo URLs | Product pages from any store (bulk) |
| listingUrls | - | Category / collection / search pages to collect product links from |
| maxProductsPerListing | 50 | Products per listing URL |
| maxListingPages | 3 | Next pages followed per listing URL |
| maxResults | 500 | Total product cap (0 = no limit) |
| includeVariants | true | Variants array |
| fetchShopifyJson | true | Read Shopify `/products/<handle>.js` for full variant stock |
| includeDescription | true | Plain-text description |
| changeTrackingStore | - | Named store for price / stock tracking between runs |
| onlyChangedProducts | false | Save only new or changed products |
| include / excludeUrlPatterns | - | Filter product links |
| respectRobotsTxt | true | Skip disallowed URLs |
| maxConcurrency | 10 | Parallel requests |
| proxyConfiguration | off | Apify datacenter proxy or your own proxy URLs |

Run details (failed URLs with status codes, pages without product data, robots.txt skips, per-listing counts, input warnings) are saved to the `RUN_SUMMARY` record of the run's key-value store.

### Integrations

Export as JSON, CSV, Excel, XML or RSS; call it from the Apify API, the JavaScript / Python clients, Make, Zapier, n8n, Google Sheets, Airbyte, or as an MCP tool for AI agents. Use webhooks to post changed prices to Slack or email.

### FAQ

**Which stores work?** Any store whose product pages publish schema.org Product data, product meta tags or Shopify product JSON, which covers most Shopify, WooCommerce, Magento, BigCommerce, PrestaShop and Shopware stores and many custom ones. The `dataSources` field shows where each value came from.

**Which stores do not work?** Stores that block automated requests with a bot wall (Cloudflare / Akamai / DataDome challenges) or build product pages only in the browser with JavaScript. Big marketplaces such as Amazon, Walmart, Target, Etsy and Best Buy are in that group; use a dedicated actor for them. Such pages are listed in `RUN_SUMMARY` and are not charged.

**Does it respect robots.txt?** Yes by default; disallowed URLs are skipped and reported.

**Why is a price missing?** Some stores show the price only after JavaScript runs. The row is still saved when the page has product data (name, SKU, images); rows with no price and no structured data are dropped for free.

**How does price tracking work?** The named key-value store keeps each product's last price, list price, stock and variant prices. Every scheduled run compares against it and fills changeStatus, previousPrice, priceChange and priceChangePercent.

**Can I scrape a whole Shopify store?** Give its `/collections/all` page with a high "Max products per listing URL" and "Max pages per listing URL", or use the Shopify Store Products Scraper by rel8ble for full-catalog exports.

**Are variants charged separately?** No. One product row = one result, however many variants it has.

### Related actors by rel8ble

- Shopify Store Products Scraper, WooCommerce Store Products Scraper, Magento Store Products Scraper: whole-catalog exports per platform.
- Bulk Image Downloader: download and convert the product images from this dataset.
- Website to Markdown Crawler: product descriptions and pages as Markdown for LLMs.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

## `productUrls` (type: `array`):

Product pages from any store, one per line (https://store.com/products/blue-mug). Mix stores freely; bulk lists of 100,000 URLs are fine. Works on Shopify, WooCommerce, Magento, BigCommerce, PrestaShop, Shopware, Wix, Squarespace and any site with schema.org Product markup or product meta tags.

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

Optional. Category, collection, brand, search or sale pages. The actor reads the product links on each page (and the next pages, see below) and scrapes every product. Use this to watch a whole category without listing product URLs.

## `maxProductsPerListing` (type: `integer`):

How many products to scrape from each category / search URL (across its pages).

## `maxListingPages` (type: `integer`):

Follow the listing's next-page link (rel=next, ?page=2 ...) up to this many pages.

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

Stop after this many products are saved. 0 = no limit. You pay only for saved products.

## `includeVariants` (type: `boolean`):

Add a variants array (size / colour options with their own SKU, GTIN, price, compare-at price and stock). On Shopify stores the actor also reads the store's product JSON for every variant's stock.

## `fetchShopifyJson` (type: `boolean`):

On Shopify stores, fetch /products/<handle>.js (one extra request per product, not charged) for full variant prices, compare-at prices, stock, tags and product type.

## `includeDescription` (type: `boolean`):

Add the product description as plain text. Turn off for smaller rows in price-monitoring runs.

## `changeTrackingStore` (type: `string`):

Optional. A named key-value store (letters, digits, -) that remembers each product's price and stock between runs. Rows then get changeStatus (new / changed / unchanged), previousPrice, priceChange, priceChangePercent and previousAvailability. Use the same name on every scheduled run.

## `onlyChangedProducts` (type: `boolean`):

With a price-tracking store: skip products whose price, list price, stock and variants did not change since the last run (skipped products are not charged).

## `includeUrlPatterns` (type: `array`):

Optional. Keep only product links that contain one of these texts or match a \* pattern, e.g. "/products/".

## `excludeUrlPatterns` (type: `array`):

Optional. Skip product links containing one of these texts or matching a \* pattern, e.g. "gift-card".

## `respectRobotsTxt` (type: `boolean`):

Skip URLs the store's robots.txt disallows (reported in RUN_SUMMARY, not charged).

## `maxConcurrency` (type: `integer`):

Parallel page downloads. Lower it for small stores that rate-limit.

## `maxRequestRetries` (type: `integer`):

Retries (with a fresh session) for timeouts, 403 / 429 and 5xx answers.

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

Not needed for most stores. Turn on Apify datacenter proxy for stores that rate-limit cloud IPs, or paste your own proxy URLs. Apify residential proxy is not available in this actor.

## Actor input object example

```json
{
  "productUrls": [
    "https://scrapeme.live/shop/Bulbasaur/",
    "https://scrapeme.live/shop/Pikachu/"
  ],
  "listingUrls": [
    "https://scrapeme.live/shop/"
  ],
  "maxProductsPerListing": 18,
  "maxListingPages": 3,
  "maxResults": 500,
  "includeVariants": true,
  "fetchShopifyJson": true,
  "includeDescription": true,
  "onlyChangedProducts": false,
  "respectRobotsTxt": true,
  "maxConcurrency": 10,
  "maxRequestRetries": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One row per product page: name, brand, price, currency, list price, discount, availability, SKU / GTIN, rating, images, variants, change status.

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

Products saved, failed URLs, pages without product data, robots.txt skips, per-listing counts, input warnings.

# 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 = {
    "productUrls": [
        "https://scrapeme.live/shop/Bulbasaur/",
        "https://scrapeme.live/shop/Pikachu/"
    ],
    "listingUrls": [
        "https://scrapeme.live/shop/"
    ],
    "maxProductsPerListing": 18
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/ecommerce-product-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 = {
    "productUrls": [
        "https://scrapeme.live/shop/Bulbasaur/",
        "https://scrapeme.live/shop/Pikachu/",
    ],
    "listingUrls": ["https://scrapeme.live/shop/"],
    "maxProductsPerListing": 18,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/ecommerce-product-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 '{
  "productUrls": [
    "https://scrapeme.live/shop/Bulbasaur/",
    "https://scrapeme.live/shop/Pikachu/"
  ],
  "listingUrls": [
    "https://scrapeme.live/shop/"
  ],
  "maxProductsPerListing": 18
}' |
apify call rel8ble/ecommerce-product-scraper --silent --output-dataset

```

## MCP server setup

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