# WooCommerce Products Scraper — Prices, Stock, Ratings & API (`igor_nersisian/woocommerce-products-scraper`) Actor

Extract full product catalogs from any WooCommerce store: prices, sale prices, stock status, ratings, reviews count, categories, tags and images — via the public WooCommerce Store API. Supports keyword/category/sale filters and multi-store runs. Pay per result (~$0.80 / 1,000 products), no proxies.

- **URL**: https://apify.com/igor\_nersisian/woocommerce-products-scraper.md
- **Developed by:** [Igor Nersisian](https://apify.com/igor_nersisian) (community)
- **Categories:** E-commerce
- **Stats:** 1 total users, 0 monthly users, 71.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 product 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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## WooCommerce Products Scraper — Prices, Sales, Stock & Ratings

Extract the **product catalog of any WooCommerce store**: current prices, regular vs. sale prices, stock status, ratings and review counts, categories, tags, images and descriptions — as clean JSON/CSV. Works through WooCommerce's public Store API (enabled by default on modern WooCommerce), so results are **fast, structured and reliable** — no HTML parsing.

WooCommerce powers **over a third of all online stores** — this actor turns any of them into a data source for **price monitoring, deal alerts, market research, and catalog analysis**.

### Why this scraper?

- 🏪 **Any WooCommerce store** — paste the URL, get the catalog. Multi-store runs supported.
- 💰 **Sale-price aware** — `regularPrice` vs `salePrice` with proper currency and decimals, plus an `onSaleOnly` filter for deal monitoring.
- ⭐ **Social proof included** — average rating and review count per product.
- 🎯 **Filters** — keywords, category, in-stock only, on-sale only.
- ⚡ **API-based** — no browser, no fragile CSS selectors that break with every theme update.
- 💸 **Pay per product** — you pay only for the products you get.

### Input example

```json
{
    "stores": ["https://example-woo-store.com"],
    "onSaleOnly": true,
    "inStockOnly": true
}
```

### Output example

```json
{
    "id": 512,
    "title": "Organic Cotton Hoodie",
    "url": "https://example-woo-store.com/product/organic-cotton-hoodie/",
    "sku": "HOOD-ORG-M",
    "price": 39.99,
    "regularPrice": 59.99,
    "salePrice": 39.99,
    "currency": "EUR",
    "onSale": true,
    "inStock": true,
    "averageRating": 4.7,
    "reviewCount": 128,
    "categories": ["Hoodies", "Organic"],
    "featuredImage": "https://example-woo-store.com/wp-content/uploads/hoodie.jpg",
    "descriptionText": "Heavyweight organic cotton hoodie..."
}
```

### Use cases

- **Deal & price monitoring** — schedule daily runs with `onSaleOnly: true`, get every new discount as structured data.
- **Competitor analysis** — track a competitor's assortment, pricing and rating trends over time.
- **Dropshipping/product research** — pull catalogs from niche stores and filter by category and rating.
- **Catalog migration** — clean export of products before replatforming.

### Scheduling & integrations

Run on a [schedule](https://docs.apify.com/platform/schedules), export **JSON, CSV, Excel**, or pipe into **Google Sheets, Zapier, Make, webhooks** and the [Apify API](https://docs.apify.com/api/v2). MCP-compatible for AI agents.

### FAQ

**Which stores does it work on?**
Any WooCommerce store with the standard Store API enabled — it ships enabled with WooCommerce since v3.6 (2019). If a store has disabled it, the run log says so clearly and other stores in the run continue.

**Do I need API keys?**
No. The Store API is the same public interface the store's own shop pages use to render products.

**Are variations included?**
The catalog returns parent products with price ranges; `hasOptions: true` marks products with variations (sizes/colors).

**Is this legal?**
Yes — the actor reads the same public product data the store publishes to every visitor. No personal data is collected.

# Actor input Schema

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

One or more WooCommerce store URLs, e.g. <code>https://example-store.com</code>. Uses the public WooCommerce Store API that ships enabled with modern WooCommerce.

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

Only keep products whose title, categories or tags contain at least one of these keywords (case-insensitive).

## `category` (type: `string`):

Only keep products in categories containing this text (case-insensitive), e.g. <code>hoodies</code>.

## `inStockOnly` (type: `boolean`):

Keep only products currently in stock.

## `onSaleOnly` (type: `boolean`):

Keep only discounted products (sale price set). Useful for deal monitoring.

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

Stop after this many products per store. 0 = full catalog.

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

Proxy to use for requests. Apify Proxy (automatic) is recommended — some stores rate-limit repeated requests from one IP.

## Actor input object example

```json
{
  "stores": [
    "https://barefootbuttons.com"
  ],
  "keywords": [],
  "inStockOnly": false,
  "onSaleOnly": false,
  "maxProductsPerStore": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": [
        "https://barefootbuttons.com"
    ],
    "keywords": [],
    "category": "",
    "maxProductsPerStore": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("igor_nersisian/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 = {
    "stores": ["https://barefootbuttons.com"],
    "keywords": [],
    "category": "",
    "maxProductsPerStore": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("igor_nersisian/woocommerce-products-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "https://barefootbuttons.com"
  ],
  "keywords": [],
  "category": "",
  "maxProductsPerStore": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call igor_nersisian/woocommerce-products-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=igor_nersisian/woocommerce-products-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ribwipWRYepSb9Els/builds/mSNjBptMbZsGahBH0/openapi.json
