# WooCommerce Products Scraper - Prices, Stock, SKUs, Variations (`rel8ble/woocommerce-store-products-scraper`) Actor

WooCommerce products scraper and API: paste store, category or product URLs, filter by keyword, category, price, sale or stock. One row per product: name, SKU, price, sale price, stock qty, categories, attributes, variations, rating, images. No login. Daily price monitoring. $0.75 per 1,000.

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

## Pricing

$0.75 / 1,000 results

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 Products Scraper - Prices, Stock, SKUs, Variations

**WooCommerce products scraper** and **WooCommerce price scraper** for any WordPress + WooCommerce store. Paste store domains, category URLs or product URLs (one store or hundreds) and get every product as a row: **name, SKU, price, regular and sale price, discount %, currency, stock status and stock quantity, categories, tags, brands, attributes, variations (size / colour with their own SKU, price and stock), rating, review count, images and description**. It reads the store's public **WooCommerce Store API** (`/wp-json/wc/store/v1/products`), the same JSON the store's own cart and product blocks use: plain HTTP, no browser, no login, no API keys, **$0.75 per 1,000 products**, no start fee.

Use it as a **WooCommerce product export**, a **competitor price monitor**, a **WooCommerce stock checker**, a catalog feed for dropshipping or comparison sites, or an unofficial WooCommerce product API for Google Sheets, Make, Zapier, n8n or an AI agent.

**What goes in:** store, category or product URLs, plus optional keywords, categories and filters. **What comes out:** one row per product. **When to use it:** you need prices and stock from WooCommerce shops you do not own (for your own store, the WooCommerce admin export is enough). **Typical cost:** $0.75 for 1,000 products; the default run (one demo store, 61 products) costs about $0.05.

### How to use

1. **Stores**: add one line per store, any mix of
   - a domain or homepage: `nalgene.com`, `https://porterandyork.com` = all products,
   - a category URL: `https://porterandyork.com/product-category/steaks/` = only that category,
   - a product URL: `https://barefootbuttons.com/product/replacement-set-screw-and-allen-wrench-kit/` = that product.
2. Optional: **Search keywords** (`bottle`, `gift card`, a SKU ...) run the store's own product search, one search per keyword in every store.
3. Optional filters: **categories** (slug or name), **on sale only**, **in stock only**, **min / max price**, **name must / must not contain**, **only products with a SKU**.
4. Optional: **Include variations** adds each variation's SKU, attributes, price, sale price and stock.
5. **Max products per store** (default 100, 0 = all) and **Sort by** (date, price, popularity, rating, title, store order, last modified).
6. Run, then download JSON, CSV or Excel, or read the dataset over the API.

### Input example

```json
{
    "storeUrls": ["barefootbuttons.com", "porterandyork.com", "nalgene.com"],
    "maxProductsPerStore": 4,
    "includeVariations": true,
    "sortBy": "popularity"
}
```

This exact input returned 12 products from 3 stores (4 best sellers each, variations included) in a local run on 18 Nov 2026. Nalgene asks crawlers for a 10-second Crawl-delay in robots.txt, so that store took about 50 seconds; the other two took under 2 seconds each.

### Output example

Real rows from that run (18 Nov 2026):

| Store | Product | SKU | Price | Currency | In stock | Stock qty | Categories | Variations |
|---|---|---|---|---|---|---|---|---|
| porterandyork.com | Filet Mignon | PY1330 | 28 - 50 | USD | yes | | Steaks, Beef | 6 (8 / 10 / 12 oz, Choice+ / Prime) |
| porterandyork.com | Natural Frenched Pork Chop | 3580 | 11 | USD | yes | | Chops, Pork | 2 |
| porterandyork.com | Natural Airline Chicken Breasts (2pk) | PY6530 | 14 | USD | yes | | Poultry, Chicken | - |
| nalgene.com | 32oz Wide Mouth Bottle | Z00098 | 16.99 | USD | yes | | Everyday, Outdoors | 32 colours |
| nalgene.com | Wide Mouth Cap | Z00041 | 4.41 | USD | yes | | Accessories, Caps | 12 |
| barefootbuttons.com | Barefoot Buttons V1 Standard Black- Guitar Pedal Footswitch Topper | 17-V1-ST-BK | 9.95 | USD | yes | 505 | V1 | - |
| barefootbuttons.com | Barefoot Buttons V1 Mini Black - Guitar Pedal Footswitch Topper | 19-V1-MN-BK | 8.95 | USD | no | 0 | V1 | - |

One full row (shortened):

```json
{
    "storeDomain": "porterandyork.com",
    "productId": 132,
    "name": "Filet Mignon",
    "url": "https://porterandyork.com/product/buy-filet-mignon/",
    "type": "variable",
    "sku": "PY1330",
    "price": 28,
    "regularPrice": 28,
    "salePrice": null,
    "onSale": false,
    "discountPercent": null,
    "priceMin": 28,
    "priceMax": 50,
    "currency": "USD",
    "inStock": true,
    "stockStatus": "in-stock",
    "categories": ["Steaks", "Beef"],
    "attributes": [{ "name": "Size", "values": ["8 oz, USDA Choice+", "8 oz, USDA Prime", "10 oz, USDA Choice+", "10 oz, USDA Prime", "12 oz USDA Prime", "24oz Chateaubriand USDA Prime", "..."], "usedForVariations": true }],
    "variationCount": 6,
    "variations": [
        { "variationId": 1227, "sku": "py13308", "attributes": "Size: 8 oz, USDA Choice+", "price": 28, "regularPrice": 28, "salePrice": null, "onSale": false, "inStock": true, "stockQuantity": null, "imageUrl": null },
        { "variationId": 58794, "sku": "PY133512", "attributes": "Size: 12 oz USDA Prime", "price": 50, "regularPrice": 50, "salePrice": null, "onSale": false, "inStock": true, "stockQuantity": null, "imageUrl": null }
    ],
    "imageUrl": "https://porterandyork.com/wp-content/uploads/AB2A20022-e1498795584257.jpg",
    "searchKeyword": null,
    "sourceQuery": "all products",
    "storeApiUrl": "https://porterandyork.com/wp-json/wc/store/v1/products",
    "scrapedAt": "2026-11-19T02:33:04.444Z"
}
```

Sale rows carry `salePrice`, `regularPrice` and `discountPercent` (e.g. nalgene.com "24oz Neoprene Sleeve": 5.00 instead of 13.99 = 64.3% off). The full field list (46 fields) is in the dataset schema; `sample-output.json` in the source has complete rows.

### Use cases

- **Competitor price monitoring**: schedule a daily run over competitor shops with `onSaleOnly` or a keyword, and diff `price` / `salePrice` by `storeDomain + productId`.
- **Stock and availability tracking**: `inStock`, `stockStatus` and, where the store shows it, `stockQuantity`.
- **Catalog export and migration**: SKUs, attributes, variations, images and descriptions from a WooCommerce shop into a sheet, a PIM or another platform.
- **Dropshipping and supplier research**: find products and price points across many niche WooCommerce stores at once.
- **Market research**: count products, price ranges and categories per store.

### Pricing

Pay per result: **$0.75 per 1,000 products** (event `result`), no start fee. One product = one result, also with variations nested. Stores that fail (not WooCommerce, bot protection, robots.txt barring the Store API, offline) and rows removed by your filters are never charged.

### Speed and price compared

Numbers from the Apify Store on 18 Nov 2026 and from our own local runs; check the Store for current figures.

| | This actor | trovevault WooCommerce Products Scraper (most used WooCommerce product actor, 16 users / 30 days) |
|---|---|---|
| Price per 1,000 products | $0.75 | $1.00 |
| Start fee | none | $0.001 per run |
| Bulk stores in one run | yes, up to 1,000 stores + 100 keywords | see its page |
| Variations with own SKU / price / stock | yes (optional) | see its page |
| Speed | 61 products in 0.6 s (one Store API page; local run) | not measured |

Speed depends on the store: the Store API returns 100 products per request, and the actor honours each store's robots.txt Crawl-delay (up to 10 seconds between requests), so a store that asks for a delay is slower on purpose.

### Integrations

Run it from the Apify API or a schedule, and send the dataset to Google Sheets, Make, Zapier, n8n, Airbyte, Slack or a webhook. AI agents can call it through the Apify MCP server: pass store URLs and a keyword, read back the product rows.

### FAQ

**Which stores work?** Any WooCommerce store (WooCommerce 4 or newer) with the Store API on, which is the default. The actor finds the API at `/wp-json/wc/store/v1`, the older `/wp-json/wc/store`, or `?rest_route=` for sites without pretty permalinks, also when WordPress lives in a sub-folder. Shopify, Magento and other platforms are reported as failed and not charged.

**Why did a store fail?** The run summary (`RUN_SUMMARY` in the key-value store) gives the reason per store: not WooCommerce, the store turned its REST API off, bot protection (Cloudflare challenge / captcha), robots.txt bars `/wp-json/`, DNS or TLS errors. Failed stores cost nothing.

**Does it respect robots.txt?** Yes. It reads each store's robots.txt first, skips stores that disallow the Store API, and waits the requested Crawl-delay (capped at 10 seconds) between requests to that store. Stores are read in parallel, but the pages of one store one after another.

**Are customer or order data included?** No. The Store API only exposes the public catalog the store shows to every visitor: no customers, orders, emails or prices behind a login.

**Why is the stock quantity often empty?** Stores decide whether to show stock numbers. When the store shows "91 in stock" or a low-stock count, `stockQuantity` has the number; otherwise only `inStock` / `stockStatus`.

**Can I get only new or changed products?** Sort by `date` or `modified` with a small `maxProductsPerStore` on a schedule, and keep the latest rows by `storeDomain + productId`.

**Is this an official WooCommerce product?** No. This actor is not affiliated with, endorsed by or connected to WooCommerce, Automattic or the stores it reads. It reads public product data that the stores publish through the standard Store API.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

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

Required (empty = demo store barefootbuttons.com). One per line, any mix of: a store domain or URL ("nalgene.com", "https://porterandyork.com") = every product; a category URL ("https://example.com/product-category/shoes/") = only that category; a product URL ("https://example.com/product/blue-shirt/") = that one product. Works for any WordPress + WooCommerce store whose public Store API is on (WooCommerce 4+, the default). Paste hundreds of stores for bulk runs. Sites that are not WooCommerce, block bots, or bar /wp-json/ in robots.txt are listed as failed in the run summary and never charged.

## `searchKeywords` (type: `array`):

Optional. One store search per keyword in every store (the store's own WooCommerce product search: name, description, SKU), e.g. "bottle", "gift card", "SKU-123". Bulk: up to 100 keywords x many stores; a product found by two keywords is saved once. Empty = all products.

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

Optional. Keep only products in these store categories, by slug or name as the store shows it ("accessories", "Water Bottles"); case does not matter. Unknown names are listed in the run summary with the store's real category slugs. Applies to whole-store inputs; a category URL already sets its category.

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

Optional. true = only products with a sale price (the store filters, then the actor double-checks). Default false.

## `inStockOnly` (type: `boolean`):

Optional. true = only products in stock. Default false.

## `minPrice` (type: `string`):

Optional. Lowest price in the store's own currency, e.g. "10" or "49.99". Empty = no limit.

## `maxPrice` (type: `string`):

Optional. Highest price in the store's own currency, e.g. "100". Empty = no limit.

## `nameKeywords` (type: `array`):

Optional. Keep only products whose name contains at least one of these words (case- and accent-insensitive). Filtered rows are not charged.

## `excludeKeywords` (type: `array`):

Optional. Drop products whose name contains any of these words, e.g. "gift card", "sample". Not charged.

## `withSkuOnly` (type: `boolean`):

Optional. true = skip products without a SKU. Default false.

## `sortBy` (type: `string`):

Optional. Order the store returns products in (matters when Max products per store cuts the list): date (newest, default), price, popularity (best sellers), rating, title, menu_order (the store's own order), modified (last changed).

## `sortOrder` (type: `string`):

Optional. desc (default: newest, most expensive, best selling first) or asc.

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

Optional. Products to save per store, counted after filters. Default 100; 0 = every product. Typical cost: 1,000 products = $0.75.

## `includeVariations` (type: `boolean`):

Optional. true = for variable products (sizes / colours) add a variations array with each variation's SKU, attributes, price, sale price and stock. One extra request per variable product; still one charged result per product. Default false.

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

Optional. true (default) = full product description as plain text. false = short description only (smaller rows).

## `maxConcurrency` (type: `integer`):

Optional, advanced. Stores read at the same time, 1-20. Default 5. Pages of one store are always read one after another, and robots.txt Crawl-delay is honoured (up to 10 s).

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

Optional. Default: direct connection, with an automatic retry through Apify Proxy when a store times out or refuses. Set a proxy group here only if many stores fail with access denied.

## Actor input object example

```json
{
  "storeUrls": [
    "barefootbuttons.com"
  ],
  "onSaleOnly": false,
  "inStockOnly": false,
  "withSkuOnly": false,
  "sortBy": "date",
  "sortOrder": "desc",
  "maxProductsPerStore": 20,
  "includeVariations": false,
  "includeDescription": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per WooCommerce product: name, SKU, price, regular / sale price, discount, currency, stock, categories, tags, brands, attributes, optional variations, rating, images, description, URL.

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

Per store: Store API endpoint, currency, products in store, saved / filtered / duplicate counts, pages, Crawl-delay used, failures (never charged) and warnings.

# 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": [
        "barefootbuttons.com"
    ],
    "maxProductsPerStore": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/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 = {
    "storeUrls": ["barefootbuttons.com"],
    "maxProductsPerStore": 20,
}

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

```

## MCP server setup

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