# WooCommerce Scraper: Products, Prices and Stock (`scrapewise/woocommerce-scraper`) Actor

Scrape WooCommerce products from any store address: name, SKU, price, sale price, stock status, categories, tags, brands, ratings, attributes and images. Run a WooCommerce store scraper with search, category, sale and price filters. Error rows are free.

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

## Pricing

from $0.76 / 1,000 product delivereds

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 Scraper: WooCommerce products, prices, stock, SKU and ratings from any store

WooCommerce Scraper is a WooCommerce store scraper that collects **the product catalog of any WooCommerce store** from its address, without an account. Each product comes back as one clean row: name, SKU, price, sale price, discount, stock status, categories, tags, brands, rating, attributes, description and images.

Use it for competitor price monitoring, stock tracking, product feeds, catalog migrations and dropshipping research. Paste store addresses like `shop.example.com` into `startUrls`, then narrow by `search`, `categories`, `onlyOnSale`, `onlyInStock` or a price range, and set `maxItems`.

### At a glance

| What | Price |
|---|---|
| Product delivered | **US$ 1.00 per 1,000 products** (US$ 0.001 each) |
| Run start | US$ 0.005 per run |

- 1,000 products = **US$ 1.005**.
- 100 products = **US$ 0.105**.
- Error rows and duplicates are never charged. `maxItems` is a hard cap, and a spending limit set on the run stops it
  cleanly with everything delivered so far.

### Quick start

```json
{
  "startUrls": ["https://woocommerce.com"],
  "maxItems": 200
}
```

Only discounted products in stock, between two prices, from two stores:

```json
{
  "startUrls": ["store-one.example.com", "https://store-two.example.com"],
  "onlyOnSale": true,
  "onlyInStock": true,
  "minPrice": 10,
  "maxPrice": 100,
  "maxItems": 500
}
```

### Input

| Field | What it does |
|---|---|
| `startUrls` | Store domains or any link inside the store. Only the domain is used. |
| `search` | Optional text: only products that match it. |
| `categories` | Optional category slugs or IDs, one per line. Empty = the whole catalog. |
| `onlyOnSale` | Only discounted products. |
| `onlyInStock` | Only products that can be bought now. |
| `minPrice`, `maxPrice` | Optional price range in the store currency. |
| `maxItems` | Cap for the whole run, across all stores (default 50; 0 = no cap). |
| `proxyConfiguration` | Apify datacenter proxy by default. |

### Output

Every row has `type` (`product` or `error`), `scrapedAt`, `errorCode` and `error`.

| Field | Meaning |
|---|---|
| `store`, `productId` | The store domain and the product ID, unique per product |
| `position` | Position of the product in the catalog order, counting from 1 |
| `name`, `sku`, `productType` | Name, SKU and type (simple, variable, grouped...) |
| `price`, `regularPrice`, `salePrice`, `onSale`, `discountPercent`, `currency` | Prices in the store currency, sale flag and discount |
| `priceRange` | Lowest and highest price of variable products |
| `inStock`, `stockText`, `lowStockRemaining`, `isPurchasable` | Stock status and what the store shows about it |
| `rating`, `reviewCount` | Average rating and number of reviews |
| `categories`, `tags`, `brands` | Names of the categories, tags and brands |
| `attributes`, `variationCount` | Attributes with their values and the number of variations |
| `shortDescription`, `description` | Descriptions as plain text |
| `image`, `images`, `url` | Image links and the product page |

#### Example (real row, trimmed)

```json
{
  "type": "product",
  "store": "woocommerce.com",
  "position": 1,
  "productId": "18734006988324",
  "name": "Sellslink",
  "sku": null,
  "productType": "simple",
  "price": 129,
  "regularPrice": 129,
  "salePrice": null,
  "onSale": false,
  "discountPercent": null,
  "currency": "USD",
  "priceRange": null,
  "inStock": true,
  "stockText": null,
  "lowStockRemaining": null,
  "isPurchasable": true,
  "rating": null,
  "reviewCount": 0,
  "categories": [
    "WooCommerce extensions",
    "Marketing"
  ],
  "tags": [],
  "brands": [],
  "attributes": [],
  "variationCount": 0,
  "shortDescription": "See which link, post, or campaign actually drives WooCommerce sales, using your own order data. No Google Analytics needed.",
  "description": "https://woocommerce.com/wp-content/uploads/2026/10/demo.mp4\nCreate trackable links, follow them for 30 days, and see which links, blog posts, and channels...",
  "image": "https://woocommerce.com/wp-content/uploads/2026/10/logo-1.png",
  "images": [
    "https://woocommerce.com/wp-content/uploads/2026/10/logo-1.png",
    "https://woocommerce.com/wp-content/uploads/2026/10/screen-1.png",
    "https://woocommerce.com/wp-content/uploads/2026/10/screen-2.png",
    "https://woocommerce.com/wp-content/uploads/2026/10/screen-3.png"
  ],
  "url": "https://woocommerce.com/products/sellslink/",
  "scrapedAt": "2026-10-31T02:23:55Z"
}
```

### Errors you may see

Error rows are free and have `type: "error"`, an `errorCode` and a plain explanation.

| errorCode | When |
|---|---|
| `NOT_AVAILABLE` | The store does not share its product list publicly (it is not WooCommerce, or the store turned it off); nothing is charged |
| `INVALID_INPUT` | A value is not a store address, or a field has a value the Actor cannot use |
| `UNEXPECTED` | Something unexpected ended the run; what was already delivered is kept |

### Integrations, scheduling and AI agents

- **Schedule** the same input daily or weekly in [Apify schedules](https://docs.apify.com/platform/schedules) and compare the datasets to follow changes over time.
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier or Google Sheets through [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp) in Claude, ChatGPT, Cursor or any MCP client, for example "list every product on sale in this WooCommerce store with its discount and stock status".

### FAQ

**Do I need access to the store?** No. The Actor reads the product list the store shows publicly.

**How do I know if a store works?** Open `https://<store>/wp-json/wc/store/v1/products` in your browser: if you see a list of products, it works.

**Are prices in the store currency?** Yes. `currency` tells which one; there is no conversion.

**Can I read only one category?** Yes: put the category slug or ID in `categories`.

**Does it collect customers, orders or reviewer data?** No. Only the product catalog.

### Limitations

- Stores that turn off their public product list, or that are not WooCommerce, return an error row.
- Customer, order and reviewer data are never collected.
- Stock numbers are shown only when the store makes them public (for example "only 3 left").

### Changelog

- **31 Oct 2026**: first version.

# Actor input Schema

## `startUrls` (type: `array`):

WooCommerce store addresses, one per line, for example https://woocommerce.com or shop.example.com. Any link inside the store works; only the domain is used.

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

Only products matching this text.

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

Category slugs or numeric IDs, one per line (the category slug is in the store's category address). Empty = whole catalog.

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

On: only discounted products.

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

On: only products that can be bought now.

## `minPrice` (type: `number`):

In the store currency, for example 10 or 19.99.

## `maxPrice` (type: `number`):

In the store currency.

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

Hard cap for the whole run, across all stores. 0 = no cap.

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

Apify datacenter proxy by default. Change it only if you know you need to.

## Actor input object example

```json
{
  "startUrls": [
    "https://woocommerce.com"
  ],
  "onlyOnSale": false,
  "onlyInStock": false,
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "startUrls": [
        "https://woocommerce.com"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/woocommerce-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 = {
    "startUrls": ["https://woocommerce.com"],
    "maxItems": 50,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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