# WooCommerce Store Scraper — Products & Prices (`tortuga/woocommerce-store-scraper`) Actor

Scrape any WooCommerce store's products through its public Store API: name, regular and sale prices, currency, on-sale flag, stock status, rating, review count, categories, variations, images and URL. Search, filter by category and monitor price or stock changes on a schedule.

- **URL**: https://apify.com/tortuga/woocommerce-store-scraper.md
- **Developed by:** [Trevor Ortega](https://apify.com/tortuga) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.64 / 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 Store Scraper: Products & Prices

Scrape any WooCommerce store's products, prices and stock through the store's own public Store API - the JSON endpoint WooCommerce shops expose by default for their product and cart blocks. Give it a store domain, a shop page, a category page or a product page and get every product as clean data: name, SKU, regular and sale price, currency, on-sale flag and discount, stock status, rating and review count, categories, tags, brands, descriptions, images, attributes, variation ids and the product URL. Search inside a store, filter by category, keep only products on sale or in stock, and add the customer reviews (reviewer name as published, rating, text, date) when you need them.

A request returns up to 100 complete products at once, so a 1,000-product catalogue takes about ten requests. No login, API key or browser is needed. Turn on **Only new or changed items** and add a Schedule to monitor price and stock changes across stores. Export to JSON, CSV or Excel, or pull the results through the API into a spreadsheet, a price-comparison tool or an LLM pipeline.

### What data does WooCommerce Store Scraper extract?

| Field | Description |
|---|---|
| `type` | `product`, or `review` for the review items added with **Include reviews** |
| `productId`, `slug`, `sku`, `url` | WooCommerce's product id and slug, the SKU, and the product page URL |
| `name`, `productType` | Product name and type: `simple`, `variable`, `grouped` or `external` |
| `price`, `regularPrice`, `salePrice`, `currency` | The current price (for a variable product whose variations differ in price: the lowest one), the regular (crossed-out) price, the sale price when on sale, and the currency code (`USD`, `EUR`, ...) |
| `priceMin`, `priceMax` | Price range of a variable product whose variations differ in price |
| `onSale`, `discountPercent` | Whether the product is on sale and the discount, e.g. `44` |
| `inStock`, `stockStatus`, `stockText`, `lowStockRemaining` | Stock: `instock`, `outofstock` or `onbackorder`, the store's own text (`"91 in stock"`, `"Out of stock"`) and the low-stock number when the store shows one |
| `averageRating`, `reviewCount` | Average star rating (0-5; `null` without reviews) and the number of reviews |
| `categories`, `categoryIds`, `categorySlugs`, `tags`, `brands` | Category names, ids and slugs, tag names, and brand names (`null` on stores without the Brands feature) |
| `shortDescription`, `description` | The product texts as plain text (HTML removed, paragraphs kept) |
| `imageUrl`, `images` | The main image and all product images (full size) |
| `attributes`, `variations`, `variationCount` | Attributes as `{"Sizes": ["L", "M", "S", "XL", "XXL"], "Color": ["Walnut"]}` and the variations (one per size and color) as `[{"id": 33997, "attributes": {"Sizes": "M", "Color": "Walnut"}}]` |
| `weight`, `dimensions` | As the store formats them, e.g. `"13 lbs"`, `"10 × 10 × 10 in"` |
| `searchTerm`, `categoryFilter`, `storeUrl`, `scrapedAt` | Which search / category the product came from, the store's root URL, and when it was scraped (ISO 8601 UTC) |
| `changeType`, `previousValues` | Only with **Only new or changed items**: `new` or `changed`, and the old values of the fields that changed |

Review items (`type: "review"`) carry `reviewId`, `productId`, `productName`, `productUrl`, `url` (the review's anchor on the product page), `reviewer` (the display name the store publishes), `rating`, `text`, `verified` (verified purchase), `date`, `storeUrl` and `scrapedAt`.

### How to scrape a WooCommerce store

1. Put one or more stores into **Store URLs**, one per line: a domain such as `barefootbuttons.com`, the shop's home page, a category page (`.../product-category/cards/` scrapes that category), a product page (`.../product/some-product/` scrapes that product) or a search page (`.../?s=beef`).
2. Optionally type **Search terms** (the store's own product search) and **Categories** (slugs or ids) to narrow the catalogue, and tick **Only products on sale** or **Only products in stock**.
3. Set **Max products** and **Max pages per store** (100 products per page) to cap the run, switch on **Include reviews** if you want the reviews too, and click **Start**. Download the results as JSON, CSV or Excel, or read them through the API.

You pay per product saved to the dataset, plus a smaller price per review when **Include reviews** is on. There is no start fee and no subscription; see the Pricing tab for the current prices. Platform usage is included in the price.

### Input example

```json
{
  "storeUrls": ["https://offermanwoodshop.com", "https://porterandyork.com"],
  "onlyOnSale": true,
  "maxItems": 100,
  "maxPagesPerStore": 1
}
```

This reads the products currently on sale from two stores: one page (up to 100 products) per store, at most 100 products in total. **Search terms** and **Categories**, when given, apply to every store in the list; a product page URL gives just that product (the on-sale and in-stock switches still apply).

### Output example

One of the products that input returns, exactly as saved to the dataset:

```json
{
  "type": "product",
  "productId": 33995,
  "name": "OWS Classic Hoodie",
  "slug": "ows-hoodie-2",
  "url": "https://offermanwoodshop.com/store/shop-fashion/clothing/ows-hoodie-2",
  "productType": "variable",
  "sku": "AP-HOODIE-CLASSIC",
  "price": 45,
  "regularPrice": 60,
  "salePrice": 45,
  "priceMin": null,
  "priceMax": null,
  "currency": "USD",
  "onSale": true,
  "discountPercent": 25,
  "inStock": true,
  "stockStatus": "instock",
  "stockText": null,
  "lowStockRemaining": null,
  "averageRating": null,
  "reviewCount": 0,
  "categories": ["Accounting_OWS_Merch", "Clothing", "Sale", "Shop Fashion"],
  "categoryIds": [90, 233, 474, 91],
  "categorySlugs": ["accounting-ows-merch", "clothing", "sale", "shop-fashion"],
  "tags": [],
  "brands": [],
  "shortDescription": "Introducing the OWS Hoodie, brought to you in a handsome brown with a complimentary logo on the chest and back.\n\nLimited sizes available – when they’re gone, they’re gone!",
  "description": "50/50 Cotton Polyester Blend\n\nDouble lined hood with a matching drawcord and pouch pocket. Made with certified low-impact dyes. Proudly printed in Los Angeles!\n\nSize up for a roomier fit.",
  "imageUrl": "https://offermanwoodshop.com/wp-content/uploads/2023/10/IMG_1020.jpg",
  "images": [
    "https://offermanwoodshop.com/wp-content/uploads/2023/10/IMG_1020.jpg",
    "https://offermanwoodshop.com/wp-content/uploads/2023/10/IMG_1045.jpg"
  ],
  "attributes": {
    "Sizes": ["L", "M", "S", "XL", "XXL"],
    "Color": ["Walnut"]
  },
  "variations": [
    {"id": 33997, "attributes": {"Sizes": "M", "Color": "Walnut"}},
    {"id": 33998, "attributes": {"Sizes": "L", "Color": "Walnut"}},
    {"id": 33999, "attributes": {"Sizes": "XL", "Color": "Walnut"}},
    {"id": 34000, "attributes": {"Sizes": "XXL", "Color": "Walnut"}},
    {"id": 33996, "attributes": {"Sizes": "S", "Color": "Walnut"}}
  ],
  "variationCount": 5,
  "weight": null,
  "dimensions": null,
  "searchTerm": null,
  "categoryFilter": null,
  "storeUrl": "https://offermanwoodshop.com/",
  "scrapedAt": "2026-11-01T22:11:04Z"
}
```

### Which stores work?

Any WooCommerce store whose Store API is enabled, which it is by default: it is the API the shop's own product grids, cart and checkout blocks call. The Actor checks each store first and reports the ones that do not answer in the run summary (`SUMMARY` in the key-value store and the run log) instead of failing the whole run: sites that are not WooCommerce (Shopify, Magento, custom shops), WordPress sites without WooCommerce, shops whose administrators disabled the REST API or put a firewall in front of it, and addresses that cannot be reached (a typo, a store that is offline). A product page URL is recognised when it uses WooCommerce's default `/product/<slug>/` address; on stores with another product base (for example `/store/shop/<slug>`) the address is read as the whole store, so give the domain and a search term instead. Prices come out in the store's currency and in major units (`19.95`, not cents).

### Does it need an API key or a login?

No. The Store API is public and anonymous; the Actor reads the same data a visitor sees in the shop, without consumer keys, logins, cookies or a browser. Apify's datacenter proxy (the default) is enough for most stores; a 100-product page is about 1 MB. If a store's firewall refuses datacenter addresses, the run summary shows `HTTP 403` for that store and you can switch the proxy to residential. Nothing is bypassed or solved: when a store refuses a request, the Actor retries on another address, then reports it.

### Monitor WooCommerce prices and stock on a schedule

Turn on **Only new or changed items** to watch one or more stores, categories or products: each run remembers what earlier runs returned and outputs only products that are new or whose price or stock status changed (a price drop, a sale that started or ended, a product sold out or back in stock). Unchanged products are dropped before anything is saved, so they are not charged. With **Include reviews** on, a product with new reviews is output again together with the new reviews only. **Max products** then sets how many products are checked per run. Save the input as a task and add a Schedule in Apify (hourly, daily, weekly); give each watch its own **Monitoring key** if several schedules use the same stores. Every output item has `changeType` (`new` or `changed`), and changed items carry `previousValues` with the old values, e.g. `{"price": 32, "stockStatus": "instock"}`. To follow specific products, list their product page URLs in **Store URLs**.

### Is it legal to scrape WooCommerce stores?

This Actor collects the public catalogue data a store publishes to every visitor: product names, prices, stock, descriptions, images and the published customer reviews with the reviewer name as the store shows it. It does not log in, does not read customer accounts, orders or anything behind a password, and does not collect email addresses or other contact details. Reviewer names can be personal data under the GDPR and similar laws: you are responsible for having a legitimate purpose for processing them and for respecting each store's terms of use. If in doubt, ask a lawyer.

### Integrations and API

Run it from the Apify API, schedule it, and send the results to Google Sheets, Slack, Make, Zapier, n8n or a webhook. Use `maxItems` and `maxPagesPerStore` to cap the cost of each run, and `onlyNewOrChanged` to receive only changes.

### Support

Found a bug or need a field that is not there? Open an issue on the Issues tab with the input you used and the run link.

### Related scrapers

- [Shopify App Store Scraper](https://apify.com/tortuga/shopify-app-store-scraper): Apps, Pricing, Reviews & Developers
- [Etsy Scraper](https://apify.com/tortuga/etsy-scraper): Listings, Prices, Shops & Badges
- [Google Shopping Scraper](https://apify.com/tortuga/google-shopping-scraper): Prices & Offers

### Found it useful?

A ★ review on this Actor's Apify Store page helps other users find it and tells us what to improve. Issues and feature requests are welcome in the Actor's **Issues** tab.

# Actor input Schema

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

WooCommerce stores to scrape, one per line: a domain (example.com), the shop's home page, or any page of the store. A product page (/product/<slug>/) returns that product only, a category page (/product-category/.../<slug>/) that category, a search page (?s=words) that search; any other page gives the whole catalogue.

## `searchTerms` (type: `array`):

Optional. Words to search for in each store with the store's own product search (it matches product names and SKUs), one search per line, e.g. "beef", "t-shirt". Leave empty to list the whole catalogue or the categories below.

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

Optional. Category slugs or ids to limit the products to, one per line, e.g. "cards" or "237". The slug is the last part of a category page address (/product-category/.../cards/); ids are in the categoryIds column of earlier runs. Combined with every search term when both are given.

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

Only products with an active sale price below the regular price. Filtered by the store's API, so it does not waste requests.

## `onlyInStock` (type: `boolean`):

Only products in stock; sold-out products and products on backorder are skipped.

## `maxItems` (type: `integer`):

Stop after this many products in total (all stores together). Keeps the cost predictable; a listing page holds 100 products. With Only new or changed items on, this is the number of products checked per run.

## `maxPagesPerStore` (type: `integer`):

How many listing pages (100 products each) to read per store, search term or category, so one big store does not use up Max products for the others. Up to 1000 (100,000 products).

## `includeReviews` (type: `boolean`):

Also save the customer reviews of every product that has any, as separate items (type = "review"): reviewer display name as the store publishes it, rating, text, date, verified-purchase flag and the product. One request per up to 100 reviews; each review saved is charged as a 'review' event (see pricing).

## `maxReviewsPerProduct` (type: `integer`):

Newest reviews kept per product when Include reviews is on (100 when empty).

## `onlyNewOrChanged` (type: `boolean`):

Remember what earlier runs of this input returned and output only new products or products whose price or stock status changed (with Include reviews on, also products with new reviews, together with those reviews). Use with a Schedule; unchanged products are not charged. With this on, Max products is the number of products checked per run.

## `monitoringKey` (type: `string`):

Name for this watch, so several schedules on the same stores stay separate; defaults to a key derived from the store, search and category input

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

Apify Proxy (datacenter) is the default and enough for most stores: the Store API is public and a 100-product page is about 1 MB. If a store's firewall refuses datacenter addresses (HTTP 403 in the run summary), switch to residential proxies.

## Actor input object example

```json
{
  "storeUrls": [
    "https://barefootbuttons.com"
  ],
  "onlyOnSale": false,
  "onlyInStock": false,
  "maxItems": 50,
  "maxPagesPerStore": 1,
  "includeReviews": false,
  "maxReviewsPerProduct": 100,
  "onlyNewOrChanged": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (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://barefootbuttons.com"
    ],
    "maxItems": 50,
    "maxPagesPerStore": 1,
    "maxReviewsPerProduct": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tortuga/woocommerce-store-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://barefootbuttons.com"],
    "maxItems": 50,
    "maxPagesPerStore": 1,
    "maxReviewsPerProduct": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("tortuga/woocommerce-store-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://barefootbuttons.com"
  ],
  "maxItems": 50,
  "maxPagesPerStore": 1,
  "maxReviewsPerProduct": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call tortuga/woocommerce-store-scraper --silent --output-dataset

```

## MCP server setup

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