# WooCommerce Store Scraper & Price Monitor (`rejoicing_shanty/woocommerce-store-data-monitor`) Actor

Extract products from any WooCommerce store (prices, sale prices, stock, SKUs, categories, attributes, ratings, images) and track new products, price drops and restocks between runs. Public Store API only, no login.

- **URL**: https://apify.com/rejoicing_shanty/woocommerce-store-data-monitor.md
- **Developed by:** [Bachir Djoukbala](https://apify.com/rejoicing_shanty) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.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 Store Scraper & Price Monitor

**Extract every product from any WooCommerce store and get alerted to new products, price drops and restocks.** Prices, sale prices, discounts, stock, SKUs, categories, tags, brands, attributes, ratings and images. No login, no proxies, no browser: it reads the public WooCommerce Store API that the store itself publishes.

### What data do you get?

- 🏷️ Title, URL, SKU, type (simple, variable), short and full description
- 💲 Price, regular price, min and max price for variable products, currency, on-sale flag, discount %
- 📦 In stock, stock status text, low-stock count when the store shows it
- 🗂️ Categories, tags, brands, attributes (sizes, colours) and variation count
- ⭐ Average rating and review count
- 🖼️ Main image and all image URLs

### Monitor mode: price drops and restocks

Turn on **Monitor changes between runs** and schedule the actor (daily or hourly). Each run compares the store with the last run and tags every product:

`new` · `price_drop` · `price_increase` · `restocked` · `out_of_stock` · `removed` · `unchanged`

With **Output only changed products** on, you pay only for what changed. Connect it to Slack, email, Google Sheets or a webhook through Apify integrations.

### Who is it for?

- **E-commerce and pricing teams** tracking competitor prices and promotions
- **Dropshippers and resellers** watching suppliers' stock and new arrivals
- **Agencies and analysts** auditing catalogs and category assortment

### Input

Use a store domain for the full catalog, or a category URL such as `example.com/product-category/shoes/` for just that category.

```json
{"startUrls": ["woocommerce.com", "example.com/product-category/shoes/"], "maxItemsPerStore": 500, "monitorChanges": true}
```

### Pricing

**$3 per 1,000 products.** Stores that fail (not WooCommerce, API disabled, or behind bot protection) are **not charged**; they are listed with the reason in the `ERRORS` key-value record.

### FAQ

**Which stores work?** Any WooCommerce store with the standard Store API enabled (on by default since WooCommerce 6). Stores behind Cloudflare challenges are skipped; this actor does not bypass bot protection.

**Is it legal?** It reads only public product data that the store serves to every visitor. Use it in line with the site's terms and your local laws.

**Shopify too?** Use the sister actor **Shopify Store Data & Change Monitor**.

# Actor input Schema

## `startUrls` (type: `array`):

WooCommerce store domains (example.com) or category URLs (example.com/product-category/shoes/) to scrape just that category.

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

Leave empty for all products.

## `monitorChanges` (type: `boolean`):

Schedule this actor; each run reports new products, price drops and increases, restocks, out-of-stock and removed products.

## `outputOnlyChanges` (type: `boolean`):

When monitoring, skip products that did not change since the last run.

## Actor input object example

```json
{
  "startUrls": [
    "woocommerce.com"
  ],
  "maxItemsPerStore": 100,
  "monitorChanges": false,
  "outputOnlyChanges": true
}
```

# Actor output Schema

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

One item per product (or per change in monitor mode).

# 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 = {
    "startUrls": [
        "woocommerce.com"
    ],
    "maxItemsPerStore": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("rejoicing_shanty/woocommerce-store-data-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 = {
    "startUrls": ["woocommerce.com"],
    "maxItemsPerStore": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("rejoicing_shanty/woocommerce-store-data-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 '{
  "startUrls": [
    "woocommerce.com"
  ],
  "maxItemsPerStore": 100
}' |
apify call rejoicing_shanty/woocommerce-store-data-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rejoicing_shanty/woocommerce-store-data-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/cJhSnHsmYBBVvw0DT/builds/wGuXO3X5Mc2FPfLb6/openapi.json
