# WooCommerce Products Scraper (`trovevault/woocommerce-products-scraper`) Actor

Scrape every product from any WooCommerce store using just the store domain, no login, no API keys, no category URLs required. Uses the public WooCommerce Store API, which is enabled by default on all WooCommerce 4.0+ stores.

- **URL**: https://apify.com/trovevault/woocommerce-products-scraper.md
- **Developed by:** [Trove Vault](https://apify.com/trovevault) (community)
- **Categories:** E-commerce, Other, Automation
- **Features:** Limited permissions
- **Stats:** 185 total users, 17 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $0.85 / 1,000 products

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

## WooCommerce All Products Scraper

> ⚠️ **This actor only works with WordPress sites that have the [WooCommerce plugin](https://woocommerce.com/) installed and active.** A plain WordPress site without WooCommerce will not return any products. If you are unsure whether a store runs WooCommerce, look for a `/wp-json/wc/` path in the browser's network tab, or check the site's tech stack using the [E-Commerce Tech Stack Detector](https://apify.com/trovevault/e-commerce-tech-stack-detector).

Scrape every product from any WooCommerce store using just the store domain — no login, no API keys, no category URLs required. Uses the public WooCommerce Store API (`/wp-json/wc/store/v1/products`), which is enabled by default on all WooCommerce 4.0+ stores.

Unlike Shopify, WooCommerce exposes **customer ratings, review counts, backorder status, and low stock alerts** directly in the public API — making this actor especially useful for competitive intelligence and product analytics.

***

### What data does WooCommerce Products Scraper extract?

Each product record includes:

| Product data | Commercial info | Inventory & engagement |
|---|---|---|
| 📝 Product name | 💰 Current & regular price | 📊 Stock availability |
| 🔗 Product URL | 🏷️ SKU identifier | ⭐ Average rating (0–5) |
| 🏢 Product type | 💱 Currency (ISO 4217) | 💬 Review count |
| 🖼️ Featured image URL | 🔖 Sale price & discount flag | 🔄 Backorder status |
| 🖼️ Image count | 📂 Categories | ⚠️ Low stock remaining |
| 📋 Short description | 🔖 Tags | 🧩 Variation count |
| 📄 Full description | 🎨 Attributes | — |

***

### What can I do with WooCommerce product data?

#### Competitor price monitoring

Scrape a rival WooCommerce store's full product catalogue and track price changes over time. Schedule the actor to run daily and compare output datasets to detect price increases, discounts, and new products entering the catalogue.

#### Competitive intelligence with rating data

Unlike Shopify's public endpoint, the WooCommerce Store API returns customer ratings and review counts without authentication. Run the actor across competitor stores to benchmark quality perception alongside pricing.

#### Inventory and backorder monitoring

Track the `available`, `isOnBackorder`, and `lowStockRemaining` fields across an entire store. Identify when competitors run low on key products — a signal for timing your own promotions.

#### Product database enrichment

Add live WooCommerce store data — price, review score, categories, attributes — to an existing product list. Useful for market research tools, supplier auditing, and product benchmarking.

#### Dropshipping supplier auditing

Audit WooCommerce-based suppliers for available inventory, pricing structure, and product range before committing to a partnership.

***

### Why use WooCommerce Products Scraper instead of alternatives?

| Feature | Manual / generic scrapers | WooCommerce Products Scraper |
|---|---|---|
| Input required | Category URLs + pagination handling | Just the store domain |
| Rating & review data | Requires HTML scraping per product | Included in one API call |
| Backorder / low-stock flags | Not available via HTML | Native API fields |
| Multi-store runs | Separate scraper per store | One run, all stores |
| Failure handling | Crashes on first error | 5 distinct error modes, skips bad stores |
| API key required | Varies | Never |

***

### How to use WooCommerce Products Scraper

1. **Add one or more WooCommerce store domains** in the `Store Domains` input field. Any format works:

   - `mystore.com`
   - `https://mystore.com`
   - `www.mystore.com`

   **Not sure if a store uses WooCommerce?** Try opening `https://yourdomain.com/wp-json/wc/store/v1/products` in your browser — if it returns a JSON array, it's a WooCommerce store and this actor will work.

   **Example store to test with:** `porterandyork.com` (premium meat & seafood, confirmed working)
2. Optionally set **Max Products** to limit results per store (default: unlimited).
3. Optionally enable **Apify Proxy** if a store blocks datacenter IPs.
4. Click **Start** and download results as JSON, CSV, or Excel.

***

### How much will it cost?

WooCommerce Products Scraper uses only HTTP API calls — no browser rendering, no proxies required for most stores.

**Typical costs:**

- 1 store, up to 500 products: < $0.01
- 10 stores, up to 1,000 products each: < $0.10
- Residential proxy (if needed for large stores): adds ~$0.10–0.30 per 1,000 proxy requests

**Cost tips:**

- Leave proxy disabled unless you receive 403 errors — most WooCommerce stores are accessible without it
- Use `maxProducts` to limit results during testing

See the [Apify pricing page](https://apify.com/pricing) for full pricing details.

***

### How does WooCommerce Products Scraper work?

1. For each domain, the actor probes the WooCommerce Store API to verify the store is reachable and accessible.
2. If the probe fails, a specific error is logged and the store is skipped — the actor never fails the entire run because of one inaccessible store:
   - **Server unreachable** — DNS or network error
   - **HTTP 401 / 403** — store is password-protected or the endpoint is restricted
   - **Not a WordPress site** — `/wp-json/` not found
   - **WooCommerce not installed** — WordPress found but Store API unavailable
   - **Products endpoint 404** — WooCommerce detected but products endpoint missing
3. Products are fetched in pages of 100 (the Store API maximum) with a short delay between pages.
4. All fields are extracted and pushed to the Apify dataset.

***

### Input

```json
{
    "domains": ["mystore.com", "anotherstore.com"],
    "maxProducts": 500,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
```

| Parameter | Type | Default | Description |
|---|---|---|---|
| `domains` | `string[]` | required | WooCommerce store domains to scrape |
| `maxProducts` | `integer` | `0` (unlimited) | Maximum products to scrape per store |
| `proxyConfiguration` | `object` | disabled | Apify Proxy settings |

***

### Limitations

- Requires WooCommerce Store API to be enabled (default in WooCommerce 4.0+). Some stores may have it disabled or restricted.
- Password-protected stores (HTTP 401 / 403) cannot be scraped.
- Prices are returned in the store's configured currency. Multi-currency plugins may affect accuracy.
- Variable products report the **minimum** price from the API; individual variant prices require the REST API with authentication.

***

### Frequently asked questions

**Does this work on all WooCommerce stores?**
It works on any store using the default WooCommerce Store API (enabled by default since WooCommerce 4.0). Stores that have disabled or restricted the endpoint will be skipped with a logged error.

**Can I scrape multiple WooCommerce stores at once?**
Yes. Add as many domains as needed. The actor processes each store sequentially and includes a `store` field in every output row.

**What if the store returns a 403 error?**
Enable Apify Proxy (Residential) in the proxy configuration. Large or security-conscious stores sometimes block datacenter IP ranges.

**Can I export the data to Excel or Google Sheets?**
Yes. Once the run finishes, click **Export** in the dataset view and choose CSV, JSON, or Excel. For Google Sheets, use the Apify Google Sheets integration or export to CSV.

**How do I schedule regular price monitoring runs?**
In the Apify Console, open the actor and click **Schedule**. Set daily or weekly runs and compare output datasets over time to track price changes. Daily is recommended for active competitor monitoring.

**Can I use WooCommerce Products Scraper via the Apify API?**
Yes. Use the [Run Actor](https://docs.apify.com/api/v2#/reference/actors/run-collection/run-actor) endpoint with your actor ID and input JSON. The API returns a run ID you can poll for results, or use webhooks to trigger downstream actions.

**Can I use WooCommerce Products Scraper through an MCP Server?**
Yes. Via the [Apify MCP server](https://mcp.apify.com), you can call this actor from any MCP-compatible AI assistant (Claude, ChatGPT, etc.) to run scraping tasks directly from a conversation.

**Is scraping WooCommerce data legal?**
This actor accesses only the public WooCommerce Store API — the same endpoint any browser or app uses when loading a product page. Scraping publicly accessible APIs is generally permitted under major jurisdictions. Always review the store's terms of service before large-scale commercial use.

***

### Related actors

- **[Shopify All Products Scraper](https://apify.com/trovevault/shopify-products-scraper)** — same concept for Shopify stores; adds variant-level pricing and compare-at prices
- **[E-Commerce Tech Stack Detector](https://apify.com/trovevault/e-commerce-tech-stack-detector)** — detect whether a store runs WooCommerce, Shopify, Magento, or 14 other platforms before scraping
- **[Product Listing SEO Auditor](https://apify.com/trovevault/product-listing-seo-auditor)** — audit WooCommerce product listings for SEO quality, image count, description depth, and structured data

***

### Changelog

#### 2026-03-02 — v0.1.0

- Initial release
- 23 fields per product: name, URL, SKU, type, image, price, ratings, review count, backorder status, low-stock alerts, categories, tags, attributes, and descriptions
- Full fallback logic for 5 distinct failure modes
- Multi-store support: scrape multiple WooCommerce stores in a single run

***

### Your feedback

Found a bug or have a feature request? [Open an issue](https://github.com/apify/apify-community/issues) or contact us through the Apify platform. Your feedback helps improve this actor for everyone.

# Actor input Schema

## `domains` (type: `array`):

One or more WooCommerce store root domains to scrape — use the store homepage domain, NOT a product or category URL (e.g. porterandyork.com, not porterandyork.com/products/steak). The scraper auto-discovers the WooCommerce REST API from the root domain. Accepts any format: with or without https://, www, or trailing slash.

## `maxProducts` (type: `integer`):

Maximum number of products to scrape per store. Set to 0 (default) to scrape the entire catalogue. Useful for large stores when you only need a sample — e.g. set 100 to get the first 100 products.

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

Proxy settings. Enable Apify Proxy (Residential) if a store returns HTTP 403 errors — some WooCommerce stores block datacenter IPs. Not required for most stores.

## `datasetId` (type: `string`):

ID of an existing Apify dataset to push results into in addition to the default dataset. Useful for combining results from multiple runs or integrating with downstream actors.

## `runId` (type: `string`):

ID of a previous actor run to associate this run with. Used for chaining actors in multi-step pipelines.

## Actor input object example

```json
{
  "domains": [
    "porterandyork.com",
    "wpwatercooler.com"
  ],
  "maxProducts": 0,
  "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 = {
    "domains": [
        "porterandyork.com",
        "wpwatercooler.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("trovevault/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 = { "domains": [
        "porterandyork.com",
        "wpwatercooler.com",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("trovevault/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 '{
  "domains": [
    "porterandyork.com",
    "wpwatercooler.com"
  ]
}' |
apify call trovevault/woocommerce-products-scraper --silent --output-dataset

```

## MCP server setup

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