# WooCommerce Products Scraper & Price Monitor (`copperlark/woocommerce-products-price-monitor`) Actor

Scrape any WooCommerce store's products, prices, variations, SKUs and stock, or monitor stores for price drops, restocks, new and removed products. Store, category or product URLs. Filters, sale and stock status. Fast, no login.

- **URL**: https://apify.com/copperlark/woocommerce-products-price-monitor.md
- **Developed by:** [Copper Lark](https://apify.com/copperlark) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## WooCommerce Products Scraper & Price Monitor

Scrape products, prices, variations, SKUs and stock from **any WooCommerce store**, or **monitor stores for
changes**: price drops and increases, items coming back in stock or selling out, new products and removed products.
Give it store domains, category URLs or product URLs. No login, no API key, no browser.

It reads the public Store API that WooCommerce storefronts use for their cart, checkout and block themes, so it is
fast, cheap and reliable, and it returns product data only (no customer or personal data).

### What you can use it for

- **Competitor price monitoring:** schedule it daily and get only the products whose prices moved, with the
  previous price and the % change.
- **Back-in-stock and sell-out alerts:** track sizes and colours at variation level, with low-stock counts where the
  store shows them.
- **New-arrival tracking:** see every product a store adds, the day it appears.
- **MAP and reseller compliance:** watch your products' prices across stockists that run on WooCommerce.
- **Catalog and assortment analysis:** full catalogs with categories, tags, brands, attributes and price ranges.
- **Feeds for apps, sheets and AI agents:** clean JSON, CSV or Excel through the Apify API and integrations.

### How to use it

1. Add stores in **Stores, categories or products**:
   - a store: `porterandyork.com` (the whole catalog)
   - a category: `https://www.smilebrilliant.com/product-category/electric-toothbrush/` (with its subcategories)
   - a tag: `https://store.com/product-tag/new/`
   - a product: `https://porterandyork.com/product/valentines-day-gift-box/`
2. Pick **One result per** product (variations listed inside) or variation (one flat row per size or colour; a
   simple product is one row).
3. Optionally add filters: keywords, categories, brands, price range, in stock only or on sale only. You pay only
   for results that pass your filters.
4. Run it, then download the results or connect them to Google Sheets, Slack, Zapier, Make or your own code.

#### Monitoring: only what changed

Enter a **Monitoring name** (for example `competitor-prices`) and schedule the Actor (daily or hourly). Each run
compares the catalog with the snapshot saved by the previous run and returns only:

| Change | Meaning |
|---|---|
| `price_down` / `price_up` | A variation's price changed. `previousPrice`, `priceChange` and `priceChangePercent` are included. |
| `back_in_stock` / `out_of_stock` | The product (or variation) came back in stock or sold out. |
| `new` | A product appeared since the last run. |
| `removed` | A product is gone from the store or category. |
| `variant_added` / `variant_removed` | A size or colour was added or dropped (product level). |

The first run has nothing to compare with: it either returns the full catalog or, if you choose, saves the
snapshot quietly. After that you pay only for changes, so monitoring a large catalog daily costs very little.
The snapshot lives in a key-value store in your own Apify account. If a run stops early (Max results or your
spending limit), changes it didn't get to are reported on the next run, so nothing is lost.

### Output

Product rows (abridged, real output):

```json
{
  "store": "porterandyork.com",
  "storeName": "Porter and York",
  "currency": "USD",
  "productId": 59712,
  "title": "Valentines Day Gift Box",
  "slug": "valentines-day-gift-box",
  "url": "https://porterandyork.com/product/valentines-day-gift-box/",
  "type": "variable",
  "categories": ["Gift Boxes"],
  "price": 125.0,
  "maxPrice": 390.0,
  "regularPrice": 150.0,
  "onSale": true,
  "maxDiscountPercent": 16.7,
  "available": false,
  "stockStatus": "out-of-stock",
  "variantsCount": 9,
  "availableVariants": 0,
  "options": [{"name": "Size", "values": ["For 2 People", "For 4 People", "For 6 People", "..."]}],
  "weight": "9 lbs",
  "dimensions": "13 × 10 × 8 in",
  "imageUrl": "https://porterandyork.com/wp-content/uploads/2013/11/giftbox-landsea.jpg",
  "variants": [
    {"variantId": 61767, "title": "Size: For 2 People", "sku": "py0106-1", "price": 125.0, "regularPrice": 150.0,
     "onSale": true, "discountPercent": 16.7, "available": false, "stockStatus": "out-of-stock",
     "attributes": {"Size": "For 2 People"},
     "url": "https://porterandyork.com/product/valentines-day-gift-box/?attribute_size=For+2+People"}
  ]
}
```

A monitoring change adds (from a test run):

```json
{
  "changeType": "price_down",
  "changes": ["price_down"],
  "previousPrice": 130.0,
  "price": 125.0,
  "priceChange": -5.0,
  "priceChangePercent": -3.8,
  "previousAvailable": false,
  "changeDetails": [{"variantId": 61767, "variantTitle": "Size: For 2 People", "change": "price_down",
                     "previous": 140.0, "current": 125.0, "changePercent": -10.7}],
  "firstSeenAt": "2026-11-15T11:44:50Z",
  "previousCheckAt": "2026-11-15T11:44:50Z"
}
```

Every row also has `sku`, `tags`, `brands`, `attributes` (product specs such as material), `onBackorder`,
`purchasable`, `lowStockRemaining`, `averageRating` and `reviewCount` (store-wide aggregates only) and `images`.
Variation rows add `stockText` (the store's own stock line, such as "Only 3 left in stock").

The **OUTPUT** record summarises each input: store name, currency and time zone, products in the store and in the
category, products read, in stock and on sale, median and min/max prices, top categories and brands, and change
counts.

### Good to know

- **Which stores work:** stores running WooCommerce with its public Store API available (it ships with
  WooCommerce and powers the block cart and checkout). Stores that turn the API off or put it behind a firewall
  can't be read, and the OUTPUT record says so.
- **Prices** are in the store's currency (`currency`), as the store displays them (including or excluding tax,
  per the store's settings).
- **Hidden sold-out items:** if a store hides out-of-stock products from its catalog, a sell-out shows up as
  `removed` (and a restock as `new`).
- **No descriptions or reviews:** results contain product facts (titles, prices, options, stock, image links), not
  description text, review text or any customer data.
- **Speed:** a 1,000-product store takes roughly 30 seconds; variations add one request per 100 variations.
- **Proxy:** usually not needed. If a store rate-limits, turn on Apify Proxy.

### Pricing

Pay per result: **$1.00 per 1,000 results** (products or variations, whichever you choose), plus $0.0005 per run.
In monitoring mode you pay only for changes. Filters are applied before charging. Set **Max results** or a spending
limit to cap any run.

### More data tools from copperlark

- [Shopify Products Scraper & Price Monitor](https://apify.com/copperlark/shopify-products-price-monitor): the same catalogs, prices, stock and change alerts for any Shopify store.
- [Google Ads Transparency Scraper](https://apify.com/copperlark/google-ads-transparency-scraper): any advertiser's Google ads with copy, images, dates and regions, plus new-ad alerts.
- [Google News Scraper & Monitor](https://apify.com/copperlark/google-news-monitor): headlines, sources and real publisher links by keyword or topic, with new-article alerts.
- [App Store & Google Play Scraper + Charts Monitor](https://apify.com/copperlark/app-store-charts-monitor): App Store top charts, keyword ranks (ASO) in both stores, apps and developers, with rank and update alerts.
- [Company Careers Jobs Scraper](https://apify.com/copperlark/company-careers-jobs): open jobs from company careers sites on 13 applicant-tracking systems, with new-job alerts.
- [Company Hiring Signals](https://apify.com/copperlark/company-hiring-signals): open roles, hiring velocity, departments and locations per company.
- [Website Technology Lookup](https://apify.com/copperlark/website-tech-lookup): tech stack, email provider and company profile for any website.
- [Ireland Planning Applications](https://apify.com/copperlark/ireland-planning-applications): planning applications across Ireland with filters and new-application alerts.

# Actor input Schema

## `stores` (type: `array`):

WooCommerce store domains (porterandyork.com), category URLs (https://store.com/product-category/sale/), tag URLs or product URLs (https://store.com/product/name/). A store reads its whole catalog; a category reads just that category and its subcategories.

## `outputLevel` (type: `string`):

Product rows carry every variation's price, SKU and stock in a list. Variation rows are flat (a simple product is one row), easier for spreadsheets and per-size stock tracking. You pay per result either way.

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

Stop after this many results in total (0 = no limit). Keeps test runs cheap.

## `keywords` (type: `array`):

Keep products whose title, categories, tags, brands or SKU contain any of these words.

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

Drop products whose title, categories, tags, brands or SKU contain any of these words.

## `categories` (type: `array`):

Keep only products in any of these categories (names as the store shows them, case-insensitive). To read one category only, put its URL in Stores instead.

## `brands` (type: `array`):

Keep only these brands (stores that use WooCommerce Brands; exact names, case-insensitive).

## `minPrice` (type: `integer`):

In the store's currency. Products are kept if any variation is in range.

## `maxPrice` (type: `integer`):

In the store's currency.

## `onlyAvailable` (type: `boolean`):

Keep only products (or variations) that are in stock.

## `onlyOnSale` (type: `boolean`):

Keep only products with a sale price below the regular price.

## `monitoringId` (type: `string`):

Any name, e.g. competitor-prices. Runs with the same name compare against the snapshot saved by the previous run (kept in a key-value store in your own account). Leave empty for a normal full scrape.

## `changeTypes` (type: `array`):

Leave empty for all. Changes you leave out are not reported later either.

## `firstRun` (type: `string`):

The first run has nothing to compare with. Choose whether it returns the current catalog or just saves it.

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

Read at most this many products from each store or category (0 = all). In monitoring mode a partial read can't detect removed products.

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

Not needed for most stores. Use a proxy if a store rate-limits you.

## Actor input object example

```json
{
  "stores": [
    "porterandyork.com",
    "https://www.smilebrilliant.com/product-category/electric-toothbrush/"
  ],
  "outputLevel": "product",
  "maxResults": 100,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "firstRun": "full",
  "maxProductsPerStore": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "stores": [
        "porterandyork.com",
        "https://www.smilebrilliant.com/product-category/electric-toothbrush/"
    ],
    "maxResults": 100,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("copperlark/woocommerce-products-price-monitor").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 = {
    "stores": [
        "porterandyork.com",
        "https://www.smilebrilliant.com/product-category/electric-toothbrush/",
    ],
    "maxResults": 100,
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("copperlark/woocommerce-products-price-monitor").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 '{
  "stores": [
    "porterandyork.com",
    "https://www.smilebrilliant.com/product-category/electric-toothbrush/"
  ],
  "maxResults": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call copperlark/woocommerce-products-price-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,copperlark/woocommerce-products-price-monitor"
        }
    }
}
```

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/e3oiRXXPsto2wcWMs/builds/dhcyKgwg2LXaWs7Tt/openapi.json
