# Magento Products Scraper - Prices, Stock, SKUs, Variants (`rel8ble/magento-store-products-scraper`) Actor

Magento products scraper and API (Magento 2 / Adobe Commerce): paste store, category or product URLs, filter by keyword, SKU, price, sale or stock. One row per product: name, SKU, final and regular price, discount, stock, options, variants, images. No login. Daily price monitoring. $0.80 per 1,000.

- **URL**: https://apify.com/rel8ble/magento-store-products-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 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/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

## Magento Products Scraper - Prices, Stock, SKUs, Variants

**Magento products scraper** and **Magento price scraper** for any **Magento 2 / Adobe Commerce** store. Paste store domains, category URLs or product URLs (one store or hundreds), add keywords or SKUs if you like, and get every product as a row: **name, SKU, final price, regular price, discount % and amount, currency, stock status, categories, configurable options (colour, size ...), child variants with their own SKU, price and stock, rating, review count, images and descriptions**. It reads the store's public **storefront GraphQL API** (`/graphql`), the same API Magento's own PWA and headless storefronts use: plain HTTP, no browser, no login, no API keys, **$0.80 per 1,000 products**, no start fee.

Use it as a **Magento product export**, a **competitor price and stock monitor**, a **SKU price checker** for a known product list, or an unofficial Magento product API for Google Sheets, Make, Zapier, n8n or an AI agent.

**What goes in:** store, category or product URLs, plus optional keywords, SKUs and filters. **What comes out:** one row per product. **When to use it:** you need prices and stock from Magento shops you do not run. **Typical cost:** $0.80 for 1,000 products; the default run (100 products from the demo store) costs $0.08 and took 4.2 seconds locally.

### How to use

1. **Stores**: one line per store, any mix of
   - a domain or homepage: `www.lampsplus.com`, `https://www.vitamix.com` = all products,
   - a category page: `https://www.vitamix.com/shop/blenders` = that category (resolved with the store's own URL router),
   - a product page URL = that product.
2. Optional: **Search keywords** (`blender`, `pendant light`) run Magento's own catalog search, sorted by relevance. **SKUs** look up exact SKUs in every store.
3. Optional filters: **on sale only**, **in stock only**, **min / max price** (the store's own price filter), **name must / must not contain**.
4. Optional: **Include variants** adds each configurable product's children (SKU, colour / size, price, stock) at no extra request. **Include full description** adds the long description (slower on some stores).
5. **Max products per store** (default 100, 0 = all), **Sort by** relevance, price, name or category position. **Store view code** for multi-language / multi-currency stores.

### Input example

```json
{
    "storeUrls": ["https://www.vitamix.com/shop/blenders", "www.lampsplus.com"],
    "searchKeywords": ["pendant light"],
    "onSaleOnly": true,
    "maxProductsPerStore": 4,
    "includeVariants": true
}
```

### Output example

Real rows from local runs on 18 Nov 2026 (on-sale blenders from the Vitamix category URL, on-sale "pendant light" results from Lamps Plus):

| Store | Product | SKU | Price | Regular | Discount | In stock | Categories | Variants |
|---|---|---|---|---|---|---|---|---|
| vitamix.com | Certified Reconditioned Alta Pro | Certified Reconditioned Alta Pro | 299.95 | 549.95 | 45.46% | yes | All Blenders, Blenders, Certified Reconditioned Series | 2 (Black, White) |
| vitamix.com | Ascent X5 SmartPrep Kitchen System | VBNDAX5KS | 704.07 | 749.95 | 6.12% | yes | All Blenders, Food Processing, Blenders | bundle |
| vitamix.com | 5-Speed Immersion Blender Complete Bundle | VBNDIBCB | 215.98 | 239.90 | 9.97% | yes | All Blenders, Immersion Blender, Blenders | bundle |
| lampsplus.com | Millennium Lighting Decco 6 Light Pendant light | 028J9 | 158.00 | 189.90 | 16.8% | no | | - |
| lampsplus.com | Millennium Lighting Ellmira 1 Light Pendant light | 029J9 | 176.00 | 223.90 | 21.39% | no | | - |
| lampsplus.com | Millennium Lighting Alberta 1 Light Mini-Pendant light | 095J9 | 54.00 | 91.90 | 41.24% | no | | - |

One full row (shortened):

```json
{
    "storeDomain": "vitamix.com",
    "storeName": "Default Store View",
    "sku": "Certified Reconditioned Alta Pro",
    "name": "Certified Reconditioned Alta™ Pro",
    "type": "configurable",
    "url": "https://www.vitamix.com/default/certified-reconditioned-alta-pro",
    "price": 299.95,
    "regularPrice": 549.95,
    "onSale": true,
    "discountPercent": 45.46,
    "currency": "USD",
    "inStock": true,
    "stockStatus": "IN_STOCK",
    "categories": ["All Blenders", "Blenders", "Certified Reconditioned Series"],
    "configurableOptions": [{ "name": "Swatch Color", "code": "color", "values": ["Black", "White"] }],
    "variantCount": 2,
    "variants": [
        { "sku": "075917", "attributes": "color: Black", "price": 299.95, "regularPrice": 549.95, "inStock": true },
        { "sku": "075958", "attributes": "color: White", "price": 299.95, "regularPrice": 549.95, "inStock": true }
    ],
    "sourceQuery": "category All Blenders"
}
```

The full field list (37 fields) is in the dataset schema; `sample-output.json` in the source has complete rows.

### Use cases

- **Competitor price monitoring**: schedule daily runs over competitor Magento shops with keywords or SKUs, and diff `price`, `regularPrice` and `discountPercent` by `storeDomain + sku`.
- **MAP and reseller checks**: brands check what their resellers' Magento stores charge for their SKUs.
- **Stock tracking**: `inStock` per product and per variant (colour / size).
- **Catalog export and migration**: SKUs, options, variants, images and descriptions into a sheet, a PIM or another platform.
- **Market research**: products, price ranges and categories per store.

### Pricing

Pay per result: **$0.80 per 1,000 products** (event `result`), no start fee. One product = one result, also with variants nested. Stores that fail (not Magento 2, GraphQL off, bot protection, robots.txt barring /graphql, offline) and rows removed by your filters are never charged.

### Speed and price compared

Numbers from the Apify Store on 18 Nov 2026 and from our own local runs; check the Store for current figures. Magento scrapers on the Store have very few users so far.

| | This actor | mrslm_data Magento Scraper | joseabreuy Magento GraphQL Product Scraper |
|---|---|---|---|
| Price per 1,000 products | $0.80 | $1.00 | $2.00 |
| Start fee | none | $0.00005 | $0.00005 |
| Bulk stores + keywords + SKU lists | yes | see its page | see its page |
| Speed | 100 products in 4.2 s (2 GraphQL pages; local run) | not measured | not measured |

### Integrations

Run it from the Apify API or a schedule, and send the dataset to Google Sheets, Make, Zapier, n8n, Airbyte, Slack or a webhook. AI agents can call it through the Apify MCP server: pass store URLs and a keyword or SKU list, read back the product rows.

### FAQ

**Which stores work?** Magento 2.3 and newer (Magento Open Source and Adobe Commerce) with the storefront GraphQL API at `/graphql`, which is on by default. Older stores that miss a field (for example `uid` or `only_x_left_in_stock`) still work: the actor drops the fields that store does not know and leaves them empty. Magento 1, Shopify and WooCommerce are reported as failed and not charged.

**Why did a store fail?** The run summary (`RUN_SUMMARY` in the key-value store) gives the reason per store: no `/graphql`, bot protection (captcha / access denied), robots.txt bars `/graphql`, DNS or TLS errors, or a wrong store view code. Many large Magento shops sit behind bot protection; those fail cleanly and cost nothing.

**Does it respect robots.txt?** Yes. It reads each store's robots.txt first, skips stores that disallow `/graphql`, and waits the requested Crawl-delay (capped at 10 seconds) between requests to that store.

**Why is a price empty?** Products without a public price (quote-only or B2B items that show 0) get `price: null`. Prices are the guest (not logged in) prices of the default customer group.

**Why is the product URL different from the one I see in the browser?** The URL is built from the store's base URL and the product `url_key`. Headless storefronts (PWA, Hyva, custom front ends) may also serve the product under another path; both usually work.

**Is this an official Magento or Adobe product?** No. This actor is not affiliated with, endorsed by or connected to Adobe, Magento or the stores it reads. It reads public catalog data that the stores publish through their standard storefront API.

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

# Actor input Schema

## `storeUrls` (type: `array`):

Required (empty = demo store www.vitamix.com). One per line, any mix of: a store domain or homepage ("www.lampsplus.com") = every product; a category page URL ("https://www.vitamix.com/shop/blenders") = that category; a product page URL = that product. Works for Magento 2 / Adobe Commerce stores with the storefront GraphQL API at /graphql (on by default since Magento 2.3). Paste hundreds of stores for bulk runs. Sites that are not Magento 2, block bots, or bar /graphql in robots.txt are listed as failed in the run summary and never charged.

## `searchKeywords` (type: `array`):

Optional. One store search per keyword in every store (Magento's own catalog search, sorted by relevance), e.g. "blender", "pendant light". Bulk: up to 100 keywords x many stores; a product found twice is saved once. Empty = all products.

## `skus` (type: `array`):

Optional. Exact SKUs to look up in every store (price / stock check for a known product list), e.g. "067991". Up to 500. Combined with keywords, both are run.

## `storeCode` (type: `string`):

Optional, advanced. Magento store view code sent as the Store header, for multi-language or multi-currency stores, e.g. "default", "en_us", "de". Empty = the store's default view.

## `onSaleOnly` (type: `boolean`):

Optional. true = only products whose final price is below the regular price. Default false. Filtered rows are not charged.

## `inStockOnly` (type: `boolean`):

Optional. true = only products with stock status IN_STOCK. Default false.

## `minPrice` (type: `string`):

Optional. Lowest price in the store currency, e.g. "10" or "49.99" (sent to the store's own price filter). Empty = no limit.

## `maxPrice` (type: `string`):

Optional. Highest price in the store currency, e.g. "100". Empty = no limit.

## `nameKeywords` (type: `array`):

Optional. Keep only products whose name contains at least one of these words (case- and accent-insensitive). Not charged when filtered.

## `excludeKeywords` (type: `array`):

Optional. Drop products whose name contains any of these words, e.g. "refurbished", "gift card".

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

Optional. relevance (default: search relevance for keywords, store order otherwise), price, name or position (category position). Matters when Max products per store cuts the list.

## `sortOrder` (type: `string`):

Optional. desc (default) or asc; for price, asc = cheapest first.

## `maxProductsPerStore` (type: `integer`):

Optional. Products to save per store, counted after filters. Default 100; 0 = every product. Typical cost: 1,000 products = $0.80.

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

Optional. true = for configurable products (sizes / colours) add a variants array with each child's SKU, attributes, price and stock. No extra requests; still one charged result per product. Default false (configurable options and variant count are always included).

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

Optional. false (default) = short description only, fast. true = also the full description as plain text; on some stores this makes each page several seconds slower because Magento renders the description HTML.

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

Optional, advanced. Stores read at the same time, 1-20. Default 5. Pages of one store are read one after another; robots.txt Crawl-delay is honoured (up to 10 s).

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

Optional. Default: direct connection, with an automatic retry through Apify Proxy when a store times out or refuses. Set a proxy group only if many stores fail with access denied.

## Actor input object example

```json
{
  "storeUrls": [
    "www.vitamix.com"
  ],
  "onSaleOnly": false,
  "inStockOnly": false,
  "sortBy": "relevance",
  "sortOrder": "desc",
  "maxProductsPerStore": 20,
  "includeVariants": false,
  "includeDescription": false,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per Magento product: name, SKU, final and regular price, discount, currency, stock, categories, configurable options, optional variants, rating, images, URL.

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

Per store: store name, currency, saved / filtered / duplicate counts, pages, fields the store does not support, Crawl-delay used, failures (never charged) and 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 = {
    "storeUrls": [
        "www.vitamix.com"
    ],
    "maxProductsPerStore": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/magento-store-products-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 = {
    "storeUrls": ["www.vitamix.com"],
    "maxProductsPerStore": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/magento-store-products-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 '{
  "storeUrls": [
    "www.vitamix.com"
  ],
  "maxProductsPerStore": 20
}' |
apify call rel8ble/magento-store-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rel8ble/magento-store-products-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/MsJ7opxmZRszmRZSL/builds/NNBu3dnfOi9G8YCAv/openapi.json
