# WooCommerce Scraper: Products, Prices, Stock, USD 0.60/1K (`usefulapi/woocommerce-products`) Actor

Scrape any WooCommerce shop, category or product URL through its public Store API: products, variations, prices, sale prices, stock, categories and images. Track price drops, stock and new or removed products, with alerts. USD 0.60 per 1,000.

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

## Pricing

from $0.60 / 1,000 result rows

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 Scraper: products, prices, stock and price changes

Get every product from any WooCommerce shop: names, prices, sale prices, discounts, stock, variations with their own
price and SKU, categories, tags, brands, attributes, images, ratings and descriptions. Give it a shop, a category, a tag
or a product URL, or a list of hundreds of shops. No login, no API key, no browser.

It reads the **WooCommerce Store API** (`/wp-json/wc/store/v1/products`), the public API WooCommerce itself provides
for shop front ends. That makes it fast and exact: 1,668 products from 12 shops in 54 seconds in our own test, with the
same prices the shop shows its visitors. Works as a **WooCommerce products API** for any shop, a **WordPress shop
scraper** and a **WooCommerce price monitor** with alerts.

### Why this one

- **Every variation, with its own price.** Variable products (sizes, colours, packs) come with each variation's price,
  regular and sale price, stock, SKU, image and options, for example `Size: Large, Colour: Blue`. One extra request per
  100 variations, not one per product.
- **A clear answer for every shop, never a failed run.** Give it 500 shop addresses: shops it can read are read, and
  every other one gets a status saying why not: robots.txt asks bots to stay out, firewall, Store API switched off, a
  plain WordPress site, a Shopify store, not reachable. The summary counts them, so you can clean your list.
- **Change tracking with alerts.** Schedule it daily or hourly and each row says what changed since the last run:
  `new`, `price-drop`, `price-increase`, `back-in-stock`, `sold-out`, `stock-changed`, `variations-changed`,
  `content-changed`, or `removed`. Rows carry the last 5 earlier prices and the day the product was first seen. Get a
  message in Slack, Discord, Zapier or Make at the end of each run.
- **Filters run on the shop's side.** Categories, tags, search words, on sale, in stock and price range are sent to the
  Store API, so only matching pages are read and billed. (With change tracking on, stock, sale and price filters are
  applied after reading, so that a product that sells out or leaves the price range is still reported.)
- **Product count up front.** Each shop's summary shows how many products it has, from the Store API's own count.
- **A readable shop report.** Each run saves an HTML page with one card per shop: status, product count, price range,
  share on sale and in stock, product types, top categories and brands, reviews, changes since the last run.
- **Polite by design.** Reads robots.txt first (and again after a redirect to another host) and checks every request,
  query string included, against it; follows `Crawl-delay` up to 10 s; one request at a time per shop; never tries to
  get around a firewall.
- **USD 0.60 per 1,000 products**, plus USD 0.0015 per shop.

### What people use it for

- **Competitor price monitoring.** Track a rival's whole catalogue or one category every day; get the price drops and
  restocks in Slack.
- **Product research and catalogue exports.** Pull a shop's products into a spreadsheet: one row per product, or one
  row per variation with SKU and stock.
- **Lead lists for agencies and app makers.** Paste a list of shop addresses and see which ones run WooCommerce, how big
  their catalogue is and what they sell.
- **Price comparison and feeds.** Prices, sale prices and currency for comparison sites or your own repricing.
- **Stock watching.** Know when a sold-out product is back, or when a shop shows a low stock count.

### Get alerts when prices drop

1. Switch on **Track changes since the last run**, and **Only changed products** if you only want the changes.
2. Paste a Slack or Discord webhook, or a Zapier or Make webhook, into **Send changes to**.
3. Schedule the run (Apify Schedules: daily or hourly).

The first run saves a starting point. From the second run on you get rows like:

```json
{ "name": "32oz Narrow Mouth Oasis Bottle", "changeType": "price-drop", "price": 12.99, "previousPrice": 15.99,
  "priceHistory": { "665763": [{ "until": "2026-11-20", "price": 15.99 }] }, "firstSeen": "2026-11-03",
  "url": "https://nalgene.com/product/32oz-oasis-bottle/" }
```

(Example shape; the price drop above is illustrative, not a real change.)

### Input

| Field | What it does |
|---|---|
| **Shop, category or product URLs** | A shop (`offermanwoodshop.com`), a category (`.../product-category/bottles/`), a tag (`.../product-tag/sale/`) or a product (`.../product/slug/`). As many as you like. |
| **Max products per URL** | Stop each URL after this many products. 0 = all. |
| **One row per** | Product (variations nested) or Variation (flat, one row per size or colour). |
| **Variations** | Read each variation's own price, stock, SKU and options. On by default. |
| **Description** | Plain text, HTML, both, or left out. |
| **Categories, Tags, Search** | Products in any of these categories or tags (slugs, ids or category page URLs), or matching words. |
| **Only in stock, Only on sale, Minimum and Maximum price** | Filters, in the shop's currency. |
| **Track changes, Only changed products, Monitor name** | Monitoring (see above). |
| **Send changes to** | Slack, Discord, Zapier or Make webhook. Free. |
| **Proxy** | Not needed for most shops. Datacenter proxy only. |

Example: a whole shop and one category of another shop, 100 products each.

```json
{
  "startUrls": ["https://offermanwoodshop.com", "https://nalgene.com/product-category/bottles/"],
  "maxProductsPerShop": 100
}
```

Example: daily monitor of a shop's sale items, changes only, sent to Slack.

```json
{
  "startUrls": ["https://www.nutribullet.com"],
  "maxProductsPerShop": 0,
  "onSaleOnly": true,
  "trackChanges": true,
  "changesOnly": true,
  "notifyUrl": "https://hooks.slack.com/services/..."
}
```

Example: one row per variation from two shops, for a price sheet.

```json
{
  "startUrls": ["https://bianchi.com", "https://porterandyork.com"],
  "outputMode": "variations",
  "maxProductsPerShop": 0
}
```

### Output

One row per product (a real row from nalgene.com, 3 Nov 2026, shortened):

```json
{
  "shopUrl": "https://nalgene.com",
  "shopName": "Nalgene",
  "productId": 1046,
  "name": "32oz Narrow Mouth Oasis Bottle",
  "slug": "32oz-oasis-bottle",
  "url": "https://nalgene.com/product/32oz-oasis-bottle/",
  "type": "variable",
  "sku": "Z00043",
  "price": 15.99,
  "regularPrice": 15.99,
  "salePrice": null,
  "priceMin": 15.99,
  "priceMax": 15.99,
  "currency": "USD",
  "onSale": false,
  "discountPercent": null,
  "inStock": true,
  "stockStatus": "in-stock",
  "stockQuantity": null,
  "stockText": "In stock",
  "categories": ["By Shape", "By Size", "Water Bottles"],
  "categorySlugs": ["by-shape", "by-size", "bottles"],
  "tags": [],
  "brands": [],
  "attributes": [{ "name": "Bottle Color", "values": ["Blue", "Coyote", "Foliage", "Gray", "Red"], "usedForVariations": true }],
  "variationsCount": 5,
  "variations": [
    { "id": 665763, "sku": "1777-9910", "title": "Bottle Color: Foliage", "options": { "Bottle Color": "Foliage" },
      "price": 15.99, "regularPrice": 15.99, "salePrice": null, "onSale": false, "inStock": true,
      "stockStatus": "in-stock", "stockQuantity": null, "stockText": "In stock",
      "imageUrl": "https://nalgene.com/wp-content/uploads/2022/12/32oz-NM-Oasis-Foliage.jpg",
      "url": "https://nalgene.com/product/32oz-oasis-bottle/?attribute_pa_color=foliage", "discountPercent": null }
  ],
  "imageUrl": "https://nalgene.com/wp-content/uploads/2020/06/1777-9903_threeQview.jpg",
  "shortDescription": "Tenacity meets capacity a modern take on the classic camping canteen.",
  "averageRating": 3.58,
  "reviewCount": 39,
  "weight": "0.2 lbs",
  "dimensions": "11.5 × 4.75 × 5.5 in",
  "source": "category",
  "scrapedAt": "2026-11-03T16:14:26.586Z"
}
```

- **Prices** are numbers in the shop's currency (`currency`), as the Store API gives them. Whether they include tax
  depends on the shop's setting; a shop that hides tax for foreign visitors can show your browser a lower price than the
  API gives (in our test: vegemite.com.au 44.95 in the API, 40.86 on the page seen from abroad, GST removed).
- **Currency by location:** a few shops price by the visitor's country (custhom.co.uk answered in GBP to our test from
  Asia and in USD to Apify's US servers). Every row has its own `currency`; the summary notes a shop that mixes
  currencies within one run.
- **No price:** a product the shop does not sell online (no cart button) has `price: null` and `purchasable: false`,
  never a misleading 0. `onSale`, `salePrice` and `discountPercent` follow the shop's own sale flag.
- **Variable products:** `priceMin` and `priceMax` cover all variations; `discountPercent` is the largest variation
  discount.
- **Stock:** `inStock` and `stockStatus` always; `stockQuantity` only when the shop shows a count (for example "12 in
  stock", "Only 3 left" or a low-stock number; other numbers in the text, such as "ships in 24 hours", are ignored);
  `stockText` is the shop's own wording.
- **`variationsNotRead: true`** on a product row means its variations could not be read in this run (the row has the
  product's own prices only). In variation mode such a product is left out and the scan is marked incomplete.
- **Ratings:** `averageRating` only when the product has at least one review (`reviewCount`). No reviewer names or
  review texts are collected.

Variation rows (One row per: Variation) have `variationId`, `variationName`, `options`, `sku`, `price`,
`regularPrice`, `salePrice`, `discountPercent`, `inStock`, `stockQuantity`, `imageUrl` and the product's `name`,
`productUrl` and categories. A simple product gives one row with `variationId: null`.

The run also saves:

- **OUTPUT** (key-value store): per shop, `status`, name, currency, `productsInShop`, products read, rows saved, pages,
  change counts and any message; totals per status.
- **REPORT**: the readable HTML shop report.

#### Shop status

| Status | Meaning |
|---|---|
| `ok` | Read through the Store API. |
| `robots-disallowed` | The shop's robots.txt asks bots not to read `/wp-json/`. Not read. |
| `robots-unreadable` | robots.txt answered with a server error, which by the robots.txt standard means "do not crawl". |
| `crawl-delay` | robots.txt asks for more than 10 seconds between requests. Not read. |
| `blocked` | A firewall or bot check answered instead of the shop. Not read; no way around it is tried. |
| `rate-limited` | The shop's rate limit answered. |
| `api-closed` | WordPress, but its REST API or Store API is closed to visitors. |
| `api-empty` | The Store API answers with an empty page (a plugin or setting on the shop). |
| `no-store-api` | WordPress without WooCommerce, or WooCommerce without the Store API. |
| `shopify` | A Shopify store: use our [Shopify Products Scraper](https://apify.com/usefulapi/shopify-products). |
| `not-wordpress` | Not a WordPress or WooCommerce site. |
| `unreachable` | No answer (no such site, or down). |
| `too-slow` | Stopped because the shop answers too slowly. |
| `not-found` | A product URL whose product the Store API does not have. |

In our own test on 3 Nov 2026, 14 of 19 WooCommerce shops were open, 3 asked bots to stay out of
`/wp-json/` in robots.txt, 1 was behind a firewall and 1 answered empty.

### Pricing

Pay per event, nothing else:

| Event | Price |
|---|---|
| Run start | USD 0.001 |
| Shop checked (once per shop per run, read or not) | USD 0.0015 |
| Catalog page (a Store API page with data: up to 100 products or 100 variations; empty pages are free) | USD 0.0005 |
| Result row (a product, or a variation in variation mode) | USD 0.0006 |

Examples: 1,000 products from one shop with variations about **USD 0.61**. 10 shops of 50 products about **USD 0.33**.
A daily monitor of a 2,000-product shop that saves only the day's 30 changes about **USD 0.04 a day**. Set a
**maximum cost per run** and the run stops cleanly just before it, with its summary saved.

### Good to know

- The Store API is meant to be public: WooCommerce describes it as unauthenticated and without access to sensitive
  store data or customer information. Some shops still switch it off, block it with a firewall, or ask bots to stay
  out in robots.txt; those shops are reported, not read.
- What a shop hides from its front end (private products, and out-of-stock items when the shop is set to hide them)
  may be missing from the Store API too.
- Pages are read in product-id order, so products added during a run land at the end and none is read twice. Before a
  product is reported `removed`, the run asks the shop for it by id (one request per 100 such products, billed as a
  catalog page), so a product skipped because another one disappeared mid-scan is not reported by mistake.
- Change tracking works for up to 25,000 products per URL (the run refuses before reading when a shop has more; monitor
  some of its categories instead). With tracking on, stock, sale and price filters are applied after reading: a product
  that matched last time and no longer does (sold out, sale ended, price left the range) comes with its real change
  (`sold-out`, `price-increase`...), never as `removed`. If a shop's prices come in another currency than last time,
  the run saves a new starting point instead of reporting every product as a price change.
- **Max products per URL** counts per URL. A product reached through two URLs of the same shop in one run (the shop and
  one of its categories) is saved and billed once.
- The shop must be at the root of its domain (`shop.com`, not `example.com/store/`).
- Names and texts keep the shop's own characters (accents, symbols, dashes); HTML entities are decoded.
- Very old WooCommerce versions have no Store API (`no-store-api`).

### FAQ

**Is it legal to scrape WooCommerce shops?** This tool reads only the public Store API that WooCommerce provides for
shop front ends, follows robots.txt, and collects no personal data. Whether your use is allowed depends on what you do
with the data and where you are; check the shop's terms and your local law.

**Do I need an API key or a login?** No. The Store API needs neither. (WooCommerce's other REST API, `wc/v3`, needs the
shop owner's keys; this tool does not use it.)

**Can I scrape many shops in one run?** Yes, up to 1,000 URLs per run, 8 shops at a time.

**Why did a shop give no rows?** Look at its `status` in OUTPUT or REPORT; the table above says what it means.

**Does it work with WordPress sites that are not shops?** It detects them and reports `no-store-api`; it does not read
blog posts or pages.

**How is this different from a Shopify scraper?** WooCommerce shops run on WordPress and publish a different API. For
Shopify stores use our [Shopify Products Scraper](https://apify.com/usefulapi/shopify-products); this tool tells you
when an address is a Shopify store.

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/usefulapi~woocommerce-products/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":["https://offermanwoodshop.com"],"maxProductsPerShop":50}'
```

Or with the `apify-client` package for JavaScript or Python; schedule it in Apify and connect it to other tools through
Apify's integrations.

### Responsible use

Reads only public product data from WooCommerce's public Store API, one request at a time per shop, with the shop's
robots.txt and Crawl-delay respected. No personal data: no customer, order or reviewer information is read. Shops that
block bots are reported as blocked and left alone.

# Actor input Schema

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

Any WooCommerce shop address (offermanwoodshop.com), a category page (.../product-category/bottles/), a tag page (.../product-tag/sale/) or a product page (.../product/slug/). One per line, as many as you like. Shops that are not WooCommerce, or that block bots, get a status saying why; the run carries on.

## `maxProductsPerShop` (type: `integer`):

Stop each URL after this many products are saved (in variation mode all variations of those products are saved). 0 = all products. Through the API, leaving this out means 25.

## `outputMode` (type: `string`):

Product: one row per product, with its variations inside. Variation: one row per size, colour or other option, best for price and stock sheets.

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

Reads every variation of variable products: its own price, sale price, stock, SKU, image and options (for example Size: L, Colour: Blue). One extra request per 100 variations, billed as a catalog page.

## `descriptionFormat` (type: `string`):

How the description and short description are saved: plain text (default), the shop's HTML, both, or left out to keep rows small.

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

Category slugs, ids or category page URLs; products in any of them. Applied by the shop's Store API, so only matching pages are read.

## `tags` (type: `array`):

Tag slugs or ids; products with any of them.

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

Words, searched the way the shop's own search box does.

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

Keep products that are in stock (variation rows: only variations in stock).

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

Keep products the shop marks as on sale.

## `minPrice` (type: `integer`):

In the shop's currency, whole units.

## `maxPrice` (type: `integer`):

In the shop's currency, whole units.

## `trackChanges` (type: `boolean`):

Each row gets changeType: new, price-drop, price-increase, back-in-stock, sold-out, stock-changed, variations-changed, content-changed or unchanged; products gone since the last run come as removed. Rows also carry the day the product was first seen and its last 5 earlier prices. The snapshot is kept in a key-value store on your account. Up to 25,000 products per URL.

## `changesOnly` (type: `boolean`):

Save only rows that changed since the last run. The first run saves the starting point and outputs nothing.

## `monitorName` (type: `string`):

Optional. Keeps separate histories for different monitors of the same shop (letters, digits, dashes).

## `notifyUrl` (type: `string`):

Optional. A Slack or Discord webhook link, or a Zapier or Make webhook (which can send you an email). At the end of each run you get a short message: per shop, the number of price drops, new, back-in-stock, sold-out and removed products, with up to 10 examples and their links. With Track changes on, a message is sent only when something changed. Free: not billed.

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

Not needed for most shops. Datacenter proxy only; residential proxy is not supported. Shops that block bots are reported as blocked: the Actor never tries to get around a firewall or robots.txt.

## Actor input object example

```json
{
  "startUrls": [
    "https://offermanwoodshop.com",
    "https://nalgene.com/product-category/bottles/"
  ],
  "maxProductsPerShop": 100,
  "outputMode": "products",
  "includeVariations": true,
  "descriptionFormat": "text",
  "onlyInStock": false,
  "onSaleOnly": false,
  "trackChanges": false,
  "changesOnly": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One row per product, or per variation in variation mode. Download as JSON, CSV or Excel.

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

Per shop: status (read, or why not: robots.txt, firewall, Store API closed, not WooCommerce), name, currency, product count, rows saved, change counts.

## `report` (type: `string`):

One card per shop: status, catalogue size, price range, share on sale and in stock, top categories and brands, changes since the last run.

# 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://offermanwoodshop.com",
        "https://nalgene.com/product-category/bottles/"
    ],
    "maxProductsPerShop": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("usefulapi/woocommerce-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 = {
    "startUrls": [
        "https://offermanwoodshop.com",
        "https://nalgene.com/product-category/bottles/",
    ],
    "maxProductsPerShop": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("usefulapi/woocommerce-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 '{
  "startUrls": [
    "https://offermanwoodshop.com",
    "https://nalgene.com/product-category/bottles/"
  ],
  "maxProductsPerShop": 100
}' |
apify call usefulapi/woocommerce-products --silent --output-dataset

```

## MCP server setup

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