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

Export every product from WooCommerce stores through their public Store API: name, SKU, regular and sale price, stock status, categories, tags, attributes, images, rating and link. Paste store URLs, no login.

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

## Pricing

from $1.00 / 1,000 products

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 catalog of any WooCommerce store to JSON, CSV or Excel. Paste store URLs and get one row per product with its name, SKU, current, regular and sale price, currency, stock status, categories, tags, attributes (sizes, colors and so on), images, rating and product link.

It reads the public WooCommerce Store API (`/wp-json/wc/store/v1/products`) that WooCommerce stores expose for their own shop pages. No login, no API key, no browser and no proxy needed.

### What you can use it for

- **Price monitoring**: track competitor prices and sales on a schedule.
- **Catalog research**: see the full range, categories and attributes of a store.
- **Stock tracking**: follow which products go in and out of stock.
- **Dropshipping and reselling**: build product lists with SKUs, prices and images.
- **Market analysis**: compare several WooCommerce stores in one dataset.

Looking for Shopify stores? Use the companion [Shopify Store Products Scraper](https://apify.com/dabooti/shopify-products-scraper).

### What data you get

| Field | Description |
|---|---|
| `name`, `productId`, `slug`, `sku`, `url` | Product identity and link |
| `price`, `regularPrice`, `salePrice`, `currency`, `onSale` | Prices in normal units (for example 18.99) |
| `priceRange` | Min and max price for variable products, when the store reports it |
| `inStock`, `stockText`, `lowStockRemaining`, `isPurchasable` | Availability |
| `type`, `variationCount` | simple, variable, grouped or external, and how many variations |
| `categories`, `tags`, `attributes` | Classification and options (for example color and size values) |
| `shortDescription`, `description` | Text (full description optional) |
| `imageUrl`, `images` | Main image and all images |
| `averageRating`, `reviewCount` | Ratings |
| `store`, `scrapedAt` | Source store and time |

### How to use it

1. Add store home page URLs in **Store URLs** (for example `https://www.nalgene.com`).
2. Set **Max products per store**.
3. Optionally filter by a search term, sale items only or in-stock items only.
4. Click **Start** and download the results from the **Output** tab.

#### Example input

```json
{
  "storeUrls": ["https://www.nalgene.com", "https://www.awesomeinventions.com"],
  "maxProductsPerStore": 1000,
  "onSaleOnly": false,
  "inStockOnly": true,
  "includeDescription": false
}
```

#### Example output

One record from a real run:

```json
{
  "name": "32oz Wide Mouth Mythical Creatures Bottle",
  "price": 18.99,
  "regularPrice": 18.99,
  "salePrice": null,
  "currency": "USD",
  "inStock": true,
  "sku": "32OZWMMCB2-0",
  "categories": [
    "By Shape",
    "By Size",
    "Collections",
    "Water Bottles"
  ],
  "url": "https://nalgene.com/product/32oz-wide-mouth-mythical-creatures-2-0/",
  "store": "https://www.nalgene.com",
  "productId": 929986,
  "slug": "32oz-wide-mouth-mythical-creatures-2-0",
  "type": "variable",
  "onSale": false,
  "priceRange": null,
  "stockText": null,
  "lowStockRemaining": null,
  "isPurchasable": true,
  "shortDescription": "From dark forests to mysterious waters to the most untamed stretches of the wilderness, adventure is out there. And you’re not alone…",
  "description": null,
  "tags": [],
  "attributes": [
    {
      "name": "Bottle Color",
      "values": [
        "Denim",
        "Grey",
        "Woodsman"
      ]
    },
    {
      "name": "Bottle Volume",
      "values": [
        "32oz"
      ]
    },
    {
      "name": "Lid Type",
      "values": [
        "Wide Mouth"
      ]
    },
    {
      "name": "Country of Origin",
      "values": [
        "USA"
      ]
    },
    {
      "name": "Graphic",
      "values": [
        "Denim with Seaside Nessie",
        "Smoke Grey with Red Mothman",
        "Woodsman with Yellow Jackalope"
      ]
    }
  ],
  "variationCount": 3,
  "imageUrl": "https://nalgene.com/wp-content/uploads/2026/10/Mothman_Front.avif",
  "images": [
    "https://nalgene.com/wp-content/uploads/2026/10/Mothman_Front.avif"
  ],
  "averageRating": 0,
  "reviewCount": 0,
  "scrapedAt": "2026-11-14T00:27:26.203Z"
}
```

### Pricing

Pay per event: **$1.00 per 1,000 products** saved, plus a tiny standard start fee and Apify platform usage, which for this lightweight HTTP Actor is usually a fraction of a cent per run. Stores that cannot be read cost nothing. You can cap spending with **Max cost per run** in the run options; the Actor stops cleanly when the cap is reached.

### Tips and limits

- **It works on WooCommerce stores that leave the Store API on**, which is the default in current WooCommerce versions. Sites that are not WooCommerce, have the API turned off, or sit behind a Cloudflare bot challenge are skipped, and the reason is written to the log and to `RUN_SUMMARY`.
- Products are read 100 per page with a short pause, so 1,000 products take about 10 to 20 seconds.
- Variable products are one row each. `price` is the lowest variation price, and the option values are in `attributes`.
- Prices are what the store shows to a guest visitor, in the store's currency.
- A `RUN_SUMMARY` record in the key-value store lists each store with the number of matching products it reported, the number saved and any error.

### FAQ

**How do I know if a site uses WooCommerce?** Open `https://<store>/wp-json/wc/store/v1/products` in your browser. If you see product data, this Actor can read it.

**Does it get customer or order data?** No. It only reads the public product catalog.

**Can I schedule it?** Yes. Use Apify Schedules for daily price or stock checks and send the results to Google Sheets, Slack or a webhook.

### Legal note

This Actor reads public product information that stores publish for their own shop pages. Check each store's terms before reuse, keep request volumes modest, and respect product images and descriptions as the store's content.

# Actor input Schema

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

Home page URLs of WooCommerce stores, for example https://www.nalgene.com. One store per line.

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

Stop after this many products for each store. Products are read 100 per page.

## `searchTerm` (type: `string`):

Only products matching this text, using the store's own search.

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

Only products that currently have a sale price.

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

Only products the store marks as in stock.

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

Add the long product description as plain text.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.nalgene.com"
  ],
  "maxProductsPerStore": 200,
  "onSaleOnly": false,
  "inStockOnly": false,
  "includeDescription": false
}
```

# Actor output Schema

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

No description

## `resultsFull` (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": [
        "https://www.nalgene.com"
    ]
};

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

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

```

## MCP server setup

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