# WooCommerce Store Products Scraper (`properscraper/woocommerce-store-products-scraper`) Actor

Export the product catalogue of any WooCommerce store: prices, sale prices, stock status, categories, images and descriptions. Uses the store's public WooCommerce Store API.

- **URL**: https://apify.com/properscraper/woocommerce-store-products-scraper.md
- **Developed by:** [jake mcclure](https://apify.com/properscraper) (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.50 / 1,000 product saveds

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

Export the product catalogue of any WooCommerce store. Give it a store's address and it returns every product with its price, sale price, stock status, categories, attributes, images and description.

It reads the WooCommerce Store API, the public API WooCommerce provides for storefronts, so it needs no login and no browser, and gets up to 100 products per request.

Use it to:

- monitor competitors' prices, sales and new products
- check what is in or out of stock
- build a product database or price comparison for a niche
- migrate or back up a catalogue

### Input

| Field | What it does |
|---|---|
| **WooCommerce stores** | One per line. A store's domain (`nalgene.com`) or any URL on the store. |
| **Maximum products per store** | Stop after this many matching products per store. 0 means no limit. |
| **Product title contains** | Keep only products whose title contains one of these words or phrases. |
| **In stock only** | Keep only products that are in stock. |
| **On sale only** | Keep only products currently on sale. |
| **Include product descriptions** | Adds the short and full description. On by default. |

```json
{
    "stores": ["nalgene.com"],
    "onlyOnSale": true,
    "maxProductsPerStore": 500
}
```

### Output

One record per product:

```json
{
    "store": "nalgene.com",
    "currency": "USD",
    "productId": "929986",
    "title": "32oz Wide Mouth Mythical Creatures Bottle",
    "url": "https://nalgene.com/product/32oz-wide-mouth-mythical-creatures-2-0/",
    "sku": "32OZWMMCB2-0",
    "type": "variable",
    "price": 18.99,
    "regularPrice": 18.99,
    "salePrice": null,
    "priceMin": 18.99,
    "priceMax": 18.99,
    "onSale": false,
    "inStock": true,
    "onBackorder": false,
    "lowStockRemaining": null,
    "purchasable": true,
    "categories": ["By Shape", "By Size", "Collections", "Water Bottles"],
    "tags": [],
    "brands": [],
    "attributes": [{ "name": "Bottle Color", "values": ["Denim", "Grey", "Woodsman"] }],
    "variationCount": 3,
    "variations": [{ "variationId": "929988", "attributes": { "Graphic": "smoke-grey-with-red-mothman" } }],
    "averageRating": null,
    "reviewCount": 0,
    "imageUrl": "https://nalgene.com/wp-content/uploads/2026/10/Mothman_Front.avif",
    "images": ["https://nalgene.com/wp-content/uploads/2026/10/Mothman_Front.avif"],
    "shortDescriptionText": "...",
    "descriptionText": "...",
    "descriptionHtml": "<p>...</p>",
    "scrapedAt": "2026-11-11T19:30:00.000Z"
}
```

- Prices are numbers in the store's currency. `salePrice` is set only when the product is on sale.
- For products with variations, `priceMin` and `priceMax` give the range across them. Individual variation prices are not in the public API.
- `lowStockRemaining` is set only when the store chooses to show a low-stock count.

A `SUMMARY` record in the run's key-value store lists, for each store, how many products were read and saved, and any error.

### Pricing

Pay per result. You are charged once for each product saved to the dataset, at the per-result price shown on this page.

You are not charged for products removed by your filters or for stores that cannot be read. The run stops as soon as it reaches the maximum charge you set for it.

### Limits

- Only WooCommerce stores are supported. For anything else the run reports that the site has no WooCommerce Store API.
- A store can switch the Store API off or restrict it. Those stores cannot be read, and the Actor does not try to get around that.
- Very old WooCommerce versions do not have the Store API.
- If a store asks the Actor to slow down, it waits and carries on, so a very large store can take a few minutes.

### Is this allowed?

The Actor reads only the product API a store exposes openly for its own storefront, without logging in, at a gentle pace. It collects product information, not personal data. You are responsible for how you use the data.

# Actor input Schema

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

One per line. A store's domain (nalgene.com) or any URL on the store.

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

Stop after this many matching products for each store. 0 means no limit.

## `titleKeywords` (type: `array`):

Only keep products whose title contains at least one of these words or phrases. Not case sensitive. Leave empty for all products.

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

Only keep products that are in stock.

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

Only keep products currently on sale.

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

Add the short and full product description. Turn off for smaller results.

## Actor input object example

```json
{
  "stores": [
    "nalgene.com"
  ],
  "maxProductsPerStore": 0,
  "onlyInStock": false,
  "onlyOnSale": false,
  "includeDescription": true
}
```

# Actor output Schema

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

Every product saved by the run, one record per product.

## `summary` (type: `string`):

Totals for the run and, for each store, how many results were saved and any error.

# 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": [
        "nalgene.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("properscraper/woocommerce-store-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": ["nalgene.com"] }

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

```

## MCP server setup

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