# Shopify & WooCommerce Scraper · No Login Needed (`bibian/shopify-woocommerce-products-scraper`) Actor

Extract products from any Shopify or WooCommerce store, or any site that publishes schema.org Product data: price, compare-at price, stock, SKU, images and variants. Built-in "new or modified" alerts for price and stock watching. No login required.

- **URL**: https://apify.com/bibian/shopify-woocommerce-products-scraper.md
- **Developed by:** [Vivien MORVAN](https://apify.com/bibian) (community)
- **Categories:** E-commerce
- **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 product listings

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 · No Login Needed

Extract products from any Shopify or WooCommerce store, or from any other platform that publishes schema.org `Product` data on its pages: price, compare-at price, stock, SKU, images and variants. Give it a store domain, it detects the platform on its own — no login, no browser, no proxy by default.

### At a glance

| | |
|---|---|
| **What you get** | Products from any Shopify or WooCommerce store, or (as a fallback) any site with schema.org Product data: title, vendor, price, compare-at price, availability, stock, SKU, images and variants. |
| **Price** | $1.00 per 1,000 products: a 50-product test run costs about $0.055, start fee included. |
| **Speed** | 50 products in about 10–20 seconds per store. No login, no proxy, no browser to configure. |
| **Try it** | Click **Try for free**: the form is already filled with one real store of each kind (Shopify, WooCommerce, and a JSON-LD-only site). |
| **Keep it fresh** | Schedule it daily and get only a product that is new or whose price, stock or title changed: see "Watch prices and stock daily" below. |

### What you can do with it

- **Watch a competitor's prices and stock** on a schedule, and get only what actually changed (new product, price move, restock or sell-out) instead of re-downloading the whole catalog every day.
- **Build a price-comparison feed** across several stores on different platforms in one run and one schema.
- **Feed a product database or a spreadsheet** with clean numeric prices, SKUs and image URLs, no HTML to clean up.
- **Check a store's catalog size and structure** (vendors, product types, tags) before negotiating a deal or an integration.

### How platform detection works

1. **Shopify**: every Shopify storefront serves its catalog at `/products.json`, no authentication. Detected automatically.
2. **WooCommerce**: every WooCommerce store serves its own public, read-only Store API at `/wp-json/wc/store/v1/products` (no customer data, no authentication). Tried only if the store is not Shopify.
3. **Anything else**: a sitemap scan for pages carrying schema.org `Product` or `ProductGroup` JSON-LD (the same approach as this author's [universal-job-postings-scraper](https://apify.com/bibian/universal-job-postings-scraper), applied to products). Tried only if neither API above answered.

`platform` in the output tells you which one actually matched. robots.txt (`User-agent: *`) is always respected.

### Input

| Field | What it does |
|---|---|
| Store URLs | Domains or URLs of the stores to read, for example `colourpop.com`. Up to 20 stores. |
| Maximum number of products | The run stops once this many products are saved, across every store (default 50). |
| Maximum products per store | Limit for each store, so one big catalog does not fill the whole run. |
| One row per variant | Off (default): one row per product, every variant's price and stock summarized in `variants`. On: one row per variant (size, color...), each with its own price, SKU and stock. |
| Only new or modified results | For scheduled runs: skip a product an earlier run already delivered, unless its price, stock or title changed since. |

Example input:

```json
{
  "storeUrls": ["colourpop.com"],
  "maxItemsPerStore": 50
}
```

### Output

One record per product (or per variant, with "One row per variant" on):

| Field | What it is |
|---|---|
| `store`, `platform` | The store's host, and which of the three detections matched: `shopify`, `woocommerce` or `jsonld`. |
| `id`, `handle`, `sku` | The product's own id; its URL slug (`null` on the JSON-LD fallback, which has no such field); its SKU. |
| `title`, `vendor`, `productType`, `tags` | Product title, brand/vendor, product type and tags. WooCommerce exposes a vendor only when the store uses the Brands feature; the JSON-LD fallback only when the page's own `brand` is set. |
| `price`, `compareAtPrice`, `currency` | Current price and, only when the site really shows a markdown, the price before it — never guessed. WooCommerce's own prices are converted from its minor-unit integers (cents) to a real decimal. |
| `availability`, `stock` | `in_stock`, `out_of_stock` or `unknown`. `stock` (the exact count) is `null` almost everywhere: none of the three platforms' public, unauthenticated feeds expose a raw inventory number, only an in/out-of-stock flag. |
| `images`, `url` | Product image URLs, and its public page. |
| `createdAt`, `updatedAt` | ISO dates when the platform publishes them (Shopify only; WooCommerce's Store API and schema.org's Offer have no such field). |
| `variants` | Every variant's own sku/title/price/compare-at-price/availability, summarized here when "One row per variant" is off. WooCommerce variants need a second request per product the Store API doesn't make worth it for a catalog-wide run, so this stays `[]` there. |
| `scrapedAt` | When this run read the record. |

### Why this one

- **Three platforms, one schema.** Most scrapers on the Store handle Shopify or WooCommerce, not both, and none falls back to a generic schema.org scan for everything else.
- **"New or modified", not just "new".** A daily price-watch run needs to know when a price or stock status *changed*, not only when a brand-new product appears — this Actor's "Only new or modified results" tracks both.
- **No residential proxy tax by default.** The Apify datacenter proxy only kicks in as a repli after a real 429/403; most runs never need it, keeping the measured cost near its floor.

### Limits and honest notes

- WooCommerce variant-level price/stock is not read (see `variants` above): a second request per variable product would multiply the cost of a catalog-wide run for data most price-watch use cases don't need.
- The exact stock count (`stock`) is `null` on almost every store: Shopify's and WooCommerce's public, unauthenticated feeds, and schema.org's own `Offer`, only ever expose an in/out-of-stock flag, never the real number.
- The JSON-LD fallback only finds what a site's own sitemap actually leads to; a store with no sitemap and no Shopify/WooCommerce API cannot be read.
- This is an unofficial tool, not affiliated with Shopify, WooCommerce or any store read with it.

### FAQ

**Does it need a browser or a proxy?**
No. All three detections read a JSON API or static HTML directly.

**How do I track price and stock changes daily?**
Turn on "Only new or modified results" and schedule the Actor once a day: a run then returns only a product that is new, or whose price, stock or title changed since the last run.

**Can I mix a Shopify store and a WooCommerce store in the same run?**
Yes — list them together in "Store URLs"; each one is detected on its own.

**What if a store runs neither Shopify nor WooCommerce?**
The Actor still tries a generic schema.org Product scan through the site's sitemap. If that site doesn't publish one, it is skipped with a clear warning in the log, and the run still completes with whatever the other stores returned.

### Try it

**[Open shopify-woocommerce-products-scraper on the Apify Store](https://apify.com/bibian/shopify-woocommerce-products-scraper)**

# Actor input Schema

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

Domains or URLs of the stores to read, for example `colourpop.com`. Each store is detected automatically: Shopify, WooCommerce, or (for any other platform) a sitemap scan for schema.org Product data. Up to 20 stores.

## `maxItems` (type: `integer`):

The run stops once this many products are saved, across every store.

## `maxItemsPerStore` (type: `integer`):

Limit for each store, so that one big catalog does not fill the whole run.

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

Off (default): one row per product, with every variant's price and stock summarized in the "variants" field. On: one row per variant (size, color...), each with its own price, SKU and stock.

## `onlyNew` (type: `boolean`):

For scheduled runs: skip a product an earlier run of this same search already delivered, unless its price, stock or title changed since. Built for daily price and stock monitoring.

## Actor input object example

```json
{
  "storeUrls": [
    "colourpop.com",
    "offermanwoodshop.com",
    "mountaincrestgardens.com"
  ],
  "maxItems": 50,
  "maxItemsPerStore": 50,
  "includeVariants": false,
  "onlyNew": false
}
```

# Actor output Schema

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

No 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 = {
    "storeUrls": [
        "colourpop.com",
        "offermanwoodshop.com",
        "mountaincrestgardens.com"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("bibian/shopify-woocommerce-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": [
        "colourpop.com",
        "offermanwoodshop.com",
        "mountaincrestgardens.com",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("bibian/shopify-woocommerce-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": [
    "colourpop.com",
    "offermanwoodshop.com",
    "mountaincrestgardens.com"
  ],
  "maxItems": 50
}' |
apify call bibian/shopify-woocommerce-products-scraper --silent --output-dataset

```

## MCP server setup

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