# Shopify & WooCommerce Products Scraper (`portofino.vcp/shopify-woocommerce-products-scraper`) Actor

Scrape public Shopify (/products.json) and WooCommerce Store API catalogs to CSV/JSON. Diff mode detects price and stock changes (NEW / UPDATED / REMOVED). Multi-store, schedule-ready, no login.

- **URL**: https://apify.com/portofino.vcp/shopify-woocommerce-products-scraper.md
- **Developed by:** [Juan Ignacio Rodriguez](https://apify.com/portofino.vcp) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

### What does Shopify & WooCommerce Products Scraper do?

This Actor scrapes **public Shopify and WooCommerce product catalogs** — Shopify via the storefront `/products.json` endpoint, WooCommerce via the public **Store API** (`/wp-json/wc/store/v1/products`) — with **no API key and no login**. Each run is compared against the previous snapshot so you get **NEW**, **UPDATED**, and **REMOVED** rows with **price deltas** and **stock changes**. Export the full catalog to CSV/JSON, or schedule a cheap catalog-diff watch.

### Why use this Actor?

Ecommerce agencies, dropshippers, brand analysts and pricing teams already pay for Shopify / WooCommerce scrapers on Apify Store. Most dump a full catalog every run. This Actor is **diff-first**: schedule it hourly/daily and only pay attention when something moves. One Actor covers **both** platforms with automatic detection (and caches the detected platform per store).

**Features**

- Autodetect **Shopify** (`/products.json`) or **WooCommerce Store API** per store
- Multi-store batch in one run
- One row per variant (SKU-level) or per product
- Persistent snapshots per `monitorName` (run several independent watches)
- `changes_only` mode for cheap scheduled price / stock monitors
- Woo prices normalized from **minor units** (`currency_minor_unit`) to decimal numbers
- Clean fields ready for Sheets, webhooks, Make/Zapier, n8n
- HTTP/JSON only — no browser, fast and cheap (default 1024 MB)

### What data can it extract?

| Field | Type | Description |
| --- | --- | --- |
| platform | string | `shopify` or `woocommerce` |
| changeType | string | NEW / UPDATED / REMOVED / UNCHANGED / ERROR |
| storeDomain | string | Store hostname |
| title / variantTitle | string | Product and variant names |
| sku / barcode | string | Identifiers when public |
| price / previousPrice / priceDelta | number | Current vs previous price |
| compareAtPrice | number | Compare-at / regular price when present |
| available / previousAvailable / stockChanged | boolean | Stock signal |
| currency | string | ISO currency (Woo Store API) |
| productUrl / imageUrl | string | Links |
| vendor / productType / tags | string | Merchandising metadata |

### How to scrape a Shopify or WooCommerce catalog

1. Open the Actor in Apify Console.
2. Paste one or more store URLs (e.g. `https://allbirds.com` or `https://godinguitars.com`).
3. Set **Output mode** to `full` for the first baseline, then `changes_only` for schedules.
4. Give the monitor a name (e.g. `competitors-us`).
5. Click **Start**. Download the dataset as JSON, CSV or Excel.
6. (Optional) Schedule the Actor and attach a webhook to your Slack/Make scenario.

### How much will it cost?

Pricing target (set on publish): **pay-per-event ~$0.001 per product/variant row** + tiny start fee, aligned with Store comps ($0.0009–$0.003/product). A 500-variant monitor run ≈ **$0.50** at $0.001/row. Platform usage is deducted from creator profit; Apify keeps 20% of profits on PPE.

You only need the free or Creator plan ($1/mo with $500 test credits) to try it.

### Input

See the **Input** tab. Required: `storeUrls` (Shopify or WooCommerce). Optional: `maxProductsPerStore`, `mode`, `monitorName`, `includeUnchanged`, `rowPerVariant`, `proxyConfiguration`.

### Output

Download the dataset in JSON, HTML, CSV or Excel.

```json
{
  "platform": "shopify",
  "changeType": "UPDATED",
  "storeDomain": "allbirds.com",
  "title": "Tree Runners",
  "variantTitle": "Medium Grey / 10",
  "sku": "TR-MG-10",
  "price": 98,
  "previousPrice": 105,
  "priceDelta": -7,
  "available": true,
  "previousAvailable": true,
  "stockChanged": false,
  "productUrl": "https://allbirds.com/products/mens-tree-runners"
}
```

### Tips

- First run builds the baseline (everything is NEW). Second scheduled run is where diffs appear.
- Use a distinct `monitorName` per client or niche so snapshots never collide.
- Prefer `changes_only` on schedules to keep datasets small and webhooks useful.
- Most stores work **without** Apify Proxy. Enable proxy only if a store returns 403.
- WooCommerce: we call the public Store API only — we do **not** scrape `/products/reviews` (reviewer PII).
- Platform is cached in the snapshot KV after the first successful detection so later runs skip the probe.

### FAQ, disclaimers and support

Our Actors are ethical and do not extract private user data. They only read what a merchant has chosen to publish on the public storefront catalog endpoint (Shopify `/products.json` or WooCommerce Store API). Results may still contain business data; comply with applicable laws (including GDPR where relevant) and the target site's Terms of Service. Use for legitimate competitive research, inventory monitoring you are authorized to perform, and your own stores. If unsure, consult a lawyer.

Open the **Issues** tab on this Actor for bugs and feature requests. Use the **API** tab to run it from code, Make, Zapier or n8n.

# Actor input Schema

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

One or more public storefront URLs or domains. Shopify uses /products.json; WooCommerce uses the public Store API /wp-json/wc/store/v1/products. No API key. Autodetected per store.

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

Cap products fetched per store (variants expand after). Default 250. Woo pages are 100 items each.

## `mode` (type: `string`):

full = catalog rows (skips UNCHANGED unless includeUnchanged). changes_only = only NEW/UPDATED/REMOVED — ideal for scheduled price/stock monitors.

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

Isolates snapshot state so you can run several monitors (e.g. competitors-us, woo-watch).

## `includeUnchanged` (type: `boolean`):

When mode=full, also emit UNCHANGED rows. Ignored in changes_only.

## `rowPerVariant` (type: `boolean`):

If true, each SKU/variant is a row (best for price tracking). If false, one row per product with min/list price.

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

Optional. Most public /products.json and Woo Store API endpoints work without a proxy. Enable if a store returns 403.

## Actor input object example

```json
{
  "storeUrls": [
    "https://allbirds.com",
    "https://godinguitars.com"
  ],
  "maxProductsPerStore": 250,
  "mode": "full",
  "monitorName": "default",
  "includeUnchanged": false,
  "rowPerVariant": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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": [
        "https://allbirds.com",
        "https://godinguitars.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("portofino.vcp/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": [
        "https://allbirds.com",
        "https://godinguitars.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("portofino.vcp/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": [
    "https://allbirds.com",
    "https://godinguitars.com"
  ]
}' |
apify call portofino.vcp/shopify-woocommerce-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,portofino.vcp/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/f3x6LE3i9icD4egWi/builds/3BezSpJazgIcq4k3W/openapi.json
