# WooCommerce Store Products Scraper: prices, stock, ratings (`agebreak/woocommerce-store-products`) Actor

Export products from any WooCommerce store via the public Store API: prices, sale flag, stock status, categories, attributes, images and ratings. No login, no browser.

- **URL**: https://apify.com/agebreak/woocommerce-store-products.md
- **Developed by:** [age break](https://apify.com/agebreak) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 product scrapeds

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 Products Scraper: prices, sale flags, stock and ratings

Export **products from any WooCommerce store**: name, SKU, **price, regular price, sale price and discount %** (correct for every currency), on-sale flag, stock status, categories, tags, brands, attributes (size, color...), variation IDs, images, permalink, **average rating and review count**. Paste store domains or any page URL of the store.

The actor reads the **public WooCommerce Store API** (`/wp-json/wc/store/v1/products`), the same API that WooCommerce's own cart and checkout blocks use. If the `/wp-json/` path is blocked or pretty permalinks are off, it falls back to `/?rest_route=/wc/store/v1/products`, and then to the older unversioned route. No browser, no login and no proxies.

### Why use this actor

- **Correct prices in every currency.** The Store API sends prices in minor units ("1999"). The actor converts them using the store's `currency_minor_unit`, so USD 19.99, JPY 1999 and KWD 19.990 all come out right.
- **Price ranges for variable products** (`priceMin`, `priceMax`), plus `onSale` and `discountPercent`.
- **Rich catalog data:** categories, tags, brands, attributes with their values, variation IDs, all image URLs, ratings and review counts.
- **Server-side filters:** category (ID or slug), search term and on-sale only. Plus *Only in-stock*.
- **Graceful errors.** Sites that are not WooCommerce, WordPress sites without WooCommerce and stores that block the API become clear error rows (free of charge). One bad store never stops the run.
- **Polite by design:** one request at a time per store (max 2), a pause between requests, retries with backoff, `429` / `Retry-After` honored, and a User-Agent that names the actor.
- About **$0.50 per 1,000 products**, cheaper than the other WooCommerce scrapers in the Store.

### Use cases

- **Competitor price monitoring:** schedule a daily run and track `price`, `regularPrice`, `onSale` and `stockStatus` over time.
- **Catalog export and migration:** export a full product list with SKUs, categories, attributes and images to CSV or Excel, for example before moving to another platform.
- **Dropshipping and product research:** find what a store sells, its price points, discounts, best-rated products and what is out of stock.
- **Marketplace and affiliate feeds:** build product feeds from partner stores that run WooCommerce.
- **AI and data pipelines:** clean JSON for LLM enrichment, search indexes or BI tools.

### How to use

1. Click **Try for free** and add one or more stores (for example `nalgene.com`).
2. Optional: set a category, a search term, *Only in-stock*, *Only on sale* and *Max products per store*.
3. Click **Start**, then download the results as **JSON, CSV, Excel or HTML**, or get them through the **Apify API**, webhooks, Make, Zapier, n8n or the Apify MCP server.
4. For monitoring, **schedule** the actor daily and compare runs.

#### Input example

```json
{
  "storeUrls": ["nalgene.com", "https://www.ilovewine.com"],
  "category": "",
  "search": "",
  "onlyInStock": false,
  "onSaleOnly": false,
  "maxProductsPerStore": 500
}
```

#### Example output

Real row from a test run on 2026-11-23 (lists shortened):

```json
{
  "store": "nalgene.com",
  "storeUrl": "https://nalgene.com",
  "productId": 744150,
  "name": "12oz Kids On-The-Fly Lock-Top Bottle",
  "slug": "12oz-kids-on-the-fly-lock-top-tritan-bottle-copy",
  "type": "variable",
  "sku": "Z0116-1",
  "permalink": "https://nalgene.com/product/12oz-kids-on-the-fly-lock-top-tritan-bottle-copy/",
  "price": 10.99,
  "regularPrice": 16.99,
  "salePrice": 10.99,
  "priceMin": null,
  "priceMax": null,
  "currency": "USD",
  "currencySymbol": "$",
  "currencyMinorUnit": 2,
  "onSale": true,
  "discountPercent": 35.3,
  "stockStatus": "instock",
  "isPurchasable": true,
  "categories": [{ "id": 17, "name": "Kids Water Bottles", "slug": "kids" }],
  "tags": [{ "id": 682, "name": "Sale", "slug": "sale" }],
  "attributes": [{ "name": "Filter Color", "taxonomy": "pa_filter-color", "usedForVariations": false, "values": ["Blue", "Green", "Pink", "Purple"] }],
  "variationIds": [744151],
  "imageUrls": ["https://nalgene.com/wp-content/uploads/2024/03/Kids-OTF-Glow.jpeg"],
  "averageRating": 0,
  "reviewCount": 0,
  "shortDescriptionText": "Controlled sipping for little water-drinkers with a lock-top that makes it leak-proof and spill-proof.",
  "scrapedAt": "2026-11-23T14:57:53.749Z"
}
```

Error rows look like this and are not charged:

```json
{ "store": "allbirds.com", "input": "allbirds.com", "error": true, "errorType": "not-woocommerce",
  "errorMessage": "No public WooCommerce Store API found (wp-json/v1: HTTP 404; rest_route/v1: response is not valid JSON (application/json); wp-json/legacy: HTTP 404). The site is probably not a WooCommerce store." }
```

`errorType` is one of `invalid-input`, `not-woocommerce`, `blocked`, `bad-request` (for example an unknown category) or `request-failed`. A per-store summary (endpoint used, products the store reports, products saved, pages) is saved as `SUMMARY` in the key-value store.

### Limitations (please read)

- **Public API only.** The actor reads what any visitor's browser can load from the Store API. It does not log in and does not bypass passwords, firewalls or security plugins.
- **Some stores disable or block it.** Security plugins, "disable REST API" settings, Cloudflare rules or headless setups can return 401, 403 or 404. You get an error row for those stores.
- **One row per product.** Variable products come with their price range, attributes and variation IDs, not one row per variation with its own price and stock.
- **Stock status, not stock counts.** You get in stock / out of stock / on backorder and, where the store shows it, "only N left". Exact quantities are not public. For variable products the status is the parent product's.
- **Store-visible prices.** Prices are what a logged-out visitor sees, in the store's currency. Member, wholesale, role-based and cart-level discounts are not included. Taxes depend on the store's display settings.
- **Old WooCommerce versions** (before the Store API existed, roughly 2020) are not supported. Category slugs need a recent version; use the numeric category ID on older stores.

### Pricing

Pay per event: **$0.50 per 1,000 products** (event `product`, $0.0005 each). Error rows are free. Example: a store with 3,000 products costs about $1.50.

Apify's free plan includes monthly platform credit, which is enough to try this actor at no cost.

### Is it legal?

This actor only reads **product data that stores publish publicly** through WooCommerce's public Store API, without logging in. It does not collect customer or personal data. You are responsible for using the results in line with each store's terms and with laws such as the GDPR and database rights in your country.

### Built with AI assistance

This actor was built with AI assistance (Claude by Anthropic). A human operator reviews and publishes it. It was tested with real stores before release. If something breaks or you need a feature, please open an issue on the **Issues** tab.

### Related actors and keywords

woocommerce scraper, woocommerce products scraper, woocommerce store api, wordpress shop scraper, woocommerce price monitoring, competitor price tracker, woocommerce catalog export, product feed, dropshipping product research, ecommerce price scraper

# Actor input Schema

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

One store per line: a domain (nalgene.com) or any page URL of the store. Sites without a public WooCommerce Store API get a clear error row instead of crashing the run.

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

Optional. Only products in this category, e.g. 15 or bottles. Several: comma separated. Slugs need a recent WooCommerce version; use the numeric ID on older stores.

## `search` (type: `string`):

Optional. Uses the store's own product search.

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

Skip products marked out of stock.

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

Keep only products the store marks as on sale.

## `includeDescription` (type: `boolean`):

Adds the long description as plain text (the short description is always included).

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

0 = the whole catalog.

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

0 = no limit. You also control cost with the run's max charge setting.

## `maxConcurrentStores` (type: `integer`):

How many different stores are read at the same time. Requests to one store are always made one by one (see below).

## `perHostConcurrency` (type: `integer`):

1 is the most polite and the least likely to be rate limited. 2 is faster for big catalogs.

## `delayBetweenRequestsMs` (type: `integer`):

Minimum pause between two requests to one store. 429 responses and Retry-After headers are always honored on top of this.

## Actor input object example

```json
{
  "storeUrls": [
    "nalgene.com",
    "https://www.ilovewine.com"
  ],
  "onlyInStock": false,
  "onSaleOnly": false,
  "includeDescription": false,
  "maxProductsPerStore": 50,
  "maxResults": 0,
  "maxConcurrentStores": 3,
  "perHostConcurrency": 1,
  "delayBetweenRequestsMs": 700
}
```

# 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 = {
    "storeUrls": [
        "nalgene.com",
        "https://www.ilovewine.com"
    ],
    "maxProductsPerStore": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("agebreak/woocommerce-store-products").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": [
        "nalgene.com",
        "https://www.ilovewine.com",
    ],
    "maxProductsPerStore": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("agebreak/woocommerce-store-products").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": [
    "nalgene.com",
    "https://www.ilovewine.com"
  ],
  "maxProductsPerStore": 50
}' |
apify call agebreak/woocommerce-store-products --silent --output-dataset

```

## MCP server setup

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

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/fUxwyUA24oO5dSSkl/builds/JXN4TqXfdfHbgSqin/openapi.json
