# Shopify & WooCommerce Scraper: Products, Prices & Stock (`mastertools/shopify-scraper`) Actor

Products, variants, prices, discounts, stock and barcodes from any Shopify or WooCommerce store. Track price drops and restocks, get store contacts. Paste store links, no login.

- **URL**: https://apify.com/mastertools/shopify-scraper.md
- **Developed by:** [Master Tools](https://apify.com/mastertools) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## Shopify & WooCommerce Scraper: Products, Prices & Stock

**Every product, variant, price, discount and stock level from any Shopify or WooCommerce store — in seconds, from just the store link.**

Paste one store or ten thousand. The Actor recognizes Shopify and WooCommerce on its own and returns clean, flat rows: titles, SKUs, barcodes, prices, compare-at prices, discounts, stock, images, tags and links. Turn on the price monitor and get only what changed since yesterday: price drops, restocks, sold-out and brand-new products. Need leads? Get every store's profile with emails, phones and social links.

### Why teams pick it

- 🛒 **Two platforms, one Actor** — Shopify and WooCommerce detected automatically. Mix them in one list.
- ⚡ **Whole catalogs in seconds** — 3,000+ products in about 5 seconds. Lightweight HTTP, no browser.
- 📉 **Price and stock monitor** — "Only changes" returns new products, price drops and increases, back-in-stock, sold-out and removed products since the last run. Schedule it daily and stop re-downloading the same catalog.
- 🏷️ **Every variant, your way** — one row per product with all variants inside, or one row per SKU for spreadsheets and repricing tools.
- 📦 **Barcodes and real stock counts** — GTIN/UPC/EAN and units in stock wherever the store shows them. Included, no add-on.
- 📇 **Store profiles and contacts** — name, country, city, currency, catalog size, shipping countries, emails, phones, Instagram, Facebook, TikTok and more.
- 🔗 **Any link works** — store homepage, domain, collection, category, tag, search or a single product page.
- 🧾 **A clear answer for every store** — if a store hides its catalog or shows a bot wall, you get a row that says why, instead of an empty run.
- 🔓 **No login, no API key, no proxy** — press Start and get data.

### Who uses it

- **Dropshippers and e-commerce founders** — research winning products, prices and assortment of any competitor.
- **Pricing and category managers** — daily competitor price and stock monitoring, discount tracking, MAP checks.
- **Brands and distributors** — find which resellers carry your products and at what price, by SKU and barcode.
- **Agencies and lead-gen teams** — turn a list of store domains into qualified leads with platform, catalog size, country and contacts.
- **Analysts and AI builders** — clean product feeds for dashboards, LLM agents, RAG and catalog enrichment.

### How to use

1. Press **Start** — the example (Allbirds on Shopify and Francis Ford Coppola Winery on WooCommerce) returns products in a couple of seconds.
2. Paste your own store links, one per line. Set **Max products per store** to 0 for whole catalogs.
3. Pick **What to return**: products, variants (SKUs) or store profiles.
4. Download JSON, CSV or Excel, or connect the dataset to Google Sheets, Make, Zapier, n8n or your API.

**Price monitoring in 1 minute:** save the input as a task, tick **Only changes since the last run** and schedule the task daily. Each run returns only what moved — connect it to Slack, email or a Google Sheet.

### Input

| Field | What it does | Example |
|---|---|---|
| `storeUrls` | Store links, one per line: homepage, domain, collection or category, tag, search or product page | `["allbirds.com", "https://kith.com/collections/footwear", "https://nalgene.com/product-category/bottles/"]` |
| `maxProductsPerStore` | Products per store, 0 = whole catalog | `0` |
| `outputMode` | `products` (one row per product), `variants` (one row per SKU) or `stores` (profiles and contacts only) | `"variants"` |
| `keyword` | Keep only products whose title, brand, type, tags or SKU contain these words | `"hoodie"` |
| `includeStoreInfo` | Add a store profile row before each store's products | `true` |
| `includeStockCounts` | Barcodes and units in stock for Shopify products (slower: one extra page per product) | `true` |
| `onlyChanges` | Price and stock monitor: only new, changed and removed products since the previous run | `true` |
| `monitorName` | Optional name that groups runs into one monitor history | `"competitors-daily"` |

Example:

```json
{
  "storeUrls": ["https://www.allbirds.com", "https://www.tentree.com/collections/mens", "auntfannies.com"],
  "maxProductsPerStore": 0,
  "outputMode": "variants",
  "onlyChanges": true
}
```

### Output

Every row has `rowType`: `product`, `variant`, `store` or `error`. Products and variants share the same columns for Shopify and WooCommerce.

```json
{
  "rowType": "product",
  "storeUrl": "https://www.allbirds.com",
  "storeName": "Allbirds",
  "platform": "shopify",
  "productId": "1878193471557",
  "title": "Men's Wool Runner - Natural Grey (Light Grey Sole)",
  "url": "https://www.allbirds.com/products/mens-wool-runners",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "price": 110,
  "priceMax": 110,
  "compareAtPrice": null,
  "discountPercent": null,
  "currency": "USD",
  "available": true,
  "variantsCount": 7,
  "availableVariantsCount": 2,
  "inventoryQuantity": 181,
  "sku": "WR3MNCW080",
  "image": "https://cdn.shopify.com/s/files/1/1104/4168/files/Allbirds_WL_RN_SF_PDP_Natural_Grey_LAT.png",
  "options": [{ "name": "Size", "values": ["8", "9", "10", "11", "12", "13", "14"] }],
  "variants": [
    {
      "variantId": "31330825109584",
      "title": "9",
      "sku": "WR3MNCW090",
      "barcode": "843416126281",
      "price": 110,
      "compareAtPrice": null,
      "available": true,
      "inventoryQuantity": 24,
      "options": { "Size": "9" },
      "weightGrams": 946,
      "url": "https://www.allbirds.com/products/mens-wool-runners?variant=31330825109584"
    }
  ],
  "description": "The Allbirds Wool Runner is the original wool sneaker that started it all…",
  "createdAt": "2018-11-12T22:25:43.000Z",
  "publishedAt": "2026-09-25T23:06:01.000Z",
  "scrapedAt": "2026-11-16T18:45:50.173Z"
}
```

Store profile row (`outputMode: "stores"` or `includeStoreInfo: true`):

```json
{
  "rowType": "store",
  "storeUrl": "https://auntfannies.com",
  "storeName": "Aunt Fannie's",
  "platform": "woocommerce",
  "currency": "USD",
  "productsCount": 38,
  "primaryEmail": "info@auntfannie.com",
  "primaryPhone": "+18646422079",
  "instagram": "https://www.instagram.com/auntfannies",
  "facebook": "https://www.facebook.com/auntfanniesco",
  "contactPageUrl": "https://auntfannies.com/contact/"
}
```

In the price monitor every row also carries `change` (`new`, `price_drop`, `price_increase`, `back_in_stock`, `out_of_stock`, `variants_changed`, `sale_changed`, `removed`), `previousPrice` and `previousAvailable`.

The dataset has ready views: **Products**, **Variants (SKUs)** and **Stores and contacts**. A one-line summary per store is saved as `STORES` in the run's key-value store.

### Use it with AI agents

Connect the Actor as a tool in Claude, ChatGPT, Cursor or n8n through the Apify MCP server. One input — `storeUrls` — and compact JSON back in seconds: "What does allbirds.com sell under $100 right now?", "Which of these 50 stores run on Shopify and what are their emails?", "What went on sale at my competitors today?"

### Integrations

Google Sheets, Make, Zapier, n8n, Slack, webhooks, the Apify API and SDKs for Python and JavaScript. Schedule runs from the Console and get only fresh changes every morning.

### FAQ

**Which stores work?** Any Shopify store and any WooCommerce store (WooCommerce 4.0 and newer) that shows its products to visitors. Paste the link — the platform is detected for you.

**What if a store can't be read?** You get a row with `rowType: "error"` and a plain reason: a custom headless storefront with the product feed turned off, a password page, a bot wall, a different platform (BigCommerce, Wix, Magento…) or a dead domain. The rest of your list keeps going.

**Can I scrape one collection or category?** Yes. Paste the collection, category, tag or search link, or a single product page.

**How fresh is the data?** Every run reads the store live.

**Do I need proxies?** No. Stores serve their public catalog directly; the Actor paces itself so stores stay happy.

### Need data at scale?

Daily feeds of millions of products, a price-intelligence pipeline into your BI or warehouse, or a scraper for a store platform not covered here — contact us for a turnkey data feed.

# Actor input Schema

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

One per line: a store homepage or domain (allbirds.com), a collection or category link (/collections/sale, /product-category/bottles/), a product link or a search link. Shopify and WooCommerce are detected automatically. Up to 10,000 stores per run.

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

Stop after this many products in each store. 0 = the whole catalog.

## `outputMode` (type: `string`):

Products: one row per product with every variant inside. Variants: one row per variant (SKU) — best for price and stock tracking in spreadsheets. Store profiles: one row per store with contacts, currency, country and catalog size — for lead lists.

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

Keep only products whose title, brand, type, tags or SKU contain these words, for example "hoodie" or "wool runner". Empty = every product.

## `includeStoreInfo` (type: `boolean`):

Adds one row per store before its products: store name, country, currency, catalog size, emails, phones and social profiles.

## `includeStockCounts` (type: `boolean`):

Adds barcodes (GTIN/UPC/EAN) and stock quantities wherever the Shopify store shows them. Reads one extra page per product, so runs take longer. WooCommerce stock is always included when the store shows it.

## `onlyChanges` (type: `boolean`):

Price and stock monitor: returns only new products, price drops and increases, back-in-stock, sold-out and removed products compared with the previous run for the same stores. The first run returns everything. Schedule the Actor or a task daily and connect it to Google Sheets, Slack or email.

## `monitorName` (type: `string`):

Optional. Runs with the same name share their history. Saved tasks get their own history automatically.

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

Not needed: stores serve their public catalog directly. Turn on only if a store limits your runs.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com",
    "https://kith.com/collections/footwear",
    "https://nalgene.com/product-category/bottles/",
    "colourpop.com"
  ],
  "maxProductsPerStore": 5,
  "outputMode": "products",
  "keyword": "hoodie",
  "includeStoreInfo": false,
  "includeStockCounts": false,
  "onlyChanges": false,
  "monitorName": "competitors-daily",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

All rows of this run in the Products view.

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

Every row of this run, all fields.

## `stores` (type: `string`):

One line per store from the input: platform, products read, rows, error.

# 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": [
        "https://www.allbirds.com",
        "https://www.francisfordcoppolawinery.com"
    ],
    "maxProductsPerStore": 5,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/shopify-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": [
        "https://www.allbirds.com",
        "https://www.francisfordcoppolawinery.com",
    ],
    "maxProductsPerStore": 5,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("mastertools/shopify-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": [
    "https://www.allbirds.com",
    "https://www.francisfordcoppolawinery.com"
  ],
  "maxProductsPerStore": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call mastertools/shopify-scraper --silent --output-dataset

```

## MCP server setup

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