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

WooCommerce Store Scraper SD - WooCommerce Store Scraper is an e-commerce data tool that extracts products, variations, categories and reviews of any WooCommerce store via its public Store API: SKU, prices, sale prices, stock status, ratings, attributes and images. No login.

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

## Pricing

from $2.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Store Scraper

WooCommerce Store Scraper exports the catalogue of any WooCommerce shop through the public **Store API** that
WooCommerce itself publishes (`/wp-json/wc/store/v1/...`). No login, no API keys, no browser.

- **Products**: name, SKU, type, price, regular/sale price, price range, currency, stock status, rating, review
  count, categories, tags, attributes, variation list, images, descriptions, weight and dimensions.
- **Variations**: one row per purchasable variation (size, colour ...) with its own SKU, price and stock.
- **Categories**: id, name, slug, URL, parent, product count, review count, image.
- **Reviews**: rating, reviewer, text, verified-buyer flag and date - for a whole store, a category or one product.
- Works with any permalink format and with WordPress installed in a sub-folder: the API root and the id of the
  product/category a URL shows are read from that page on every run.

#### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Store home/shop page (`https://nalgene.com`), category page (`/product-category/bottles/`), product page, or a bare domain. |
| `outputType` | `products` / `variations` / `categories` / `reviews` | Row type. Default `products`. |
| `searchTerms` | array | Optional keywords searched inside each store or category (the store's own search). |
| `sort` | `default` / `newest` / `price-asc` / `price-desc` / `popularity` | Listing order. |
| `maxItems` | integer | Maximum rows in total. Default 20. |
| `proxyConfiguration` | proxy | Default Apify automatic proxy; use RESIDENTIAL if a store answers 403/429. |

#### Output (products)

| Field | Example |
|---|---|
| `id`, `name`, `slug`, `url`, `type`, `sku` | `905247`, `Four Wheeling Sticker`, ..., `simple`, `682020-0117` |
| `price`, `regularPrice`, `salePrice`, `priceMin`, `priceMax`, `onSale`, `currency` | `5.0`, `5.0`, `null`, `5.0`, `5.0`, `false`, `USD` |
| `inStock`, `stockStatus`, `isPurchasable` | `true`, `In stock`, `true` |
| `averageRating`, `reviewCount` | `4.78`, `156` |
| `categories`, `tags`, `attributes`, `variationsCount`, `variations` | names; `[{"name":"Bottle Color","values":[...]}]`; `[{"id":877590,"attributes":{...}}]` |
| `image`, `images`, `shortDescription`, `description`, `weight`, `dimensions` | URLs, plain text, `0.1 lbs`, `3 × 1 × 3 in` |
| `searchTerm` (when searching), `storeName`, `storeDomain`, `inputUrl`, `scrapedAt` | |

Variation rows: `id`, `productId`, `name`, `variation` (`Graphic: Clear with Black Sasquatch`), `attributes`, `sku`,
`price`, `regularPrice`, `salePrice`, `onSale`, `currency`, `inStock`, `stockStatus`, `isPurchasable`, `image`, `url`.
Review rows: `id`, `productId`, `productName`, `productUrl`, `rating`, `reviewer`, `review`, `verified`, `date`.

#### Measured limits (2026-10-03)

- 10 of 30 probed shops answered the Store API (others: not WooCommerce, API disabled, or blocked by a firewall);
  a WordPress site without WooCommerce, or with the API switched off, is skipped with an error line.
- 100 products per request (the API's maximum: `per_page=101` -> HTTP 400). 250 products in 9 s; 150 reviews in 6 s.
- Variations: one batched request per listing page (40 variation rows in 14 s on nalgene.com).
- Prices are the store's own (`currency_code` + minor units); affiliate (`external`) products carry whatever price
  the shop entered.
- Weight/dimensions exist only for physical goods; ratings only where the shop has reviews enabled.

#### Example

```json
{"startUrls": [{"url": "https://nalgene.com"}], "outputType": "variations", "searchTerms": ["wide mouth"], "maxItems": 100}
```

# Actor input Schema

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

One URL per line. A store home or shop page (https://nalgene.com) returns the whole catalogue, a product category page (https://nalgene.com/product-category/bottles/) that category, a product page (https://nalgene.com/product/four-wheeling-sticker/) that product. A bare domain such as nalgene.com works too.

## `outputType` (type: `string`):

products = one row per product; variations = one row per purchasable variation (size, colour ...) with its own SKU, price and stock - each variation costs one extra request; categories = one row per product category; reviews = one row per product review (of the whole store, a category, or one product).

## `searchTerms` (type: `array`):

Keywords searched inside every store or category given above (the store's own product search), one per line. Example: bottle. Leave empty for the whole catalogue. Used for products and variations.

## `sort` (type: `string`):

Order of products in the listing.

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

Maximum number of rows in total. Pages of 100 are read until this number is reached or the store has no more. Use e.g. 5000 for a whole catalogue.

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

Most WooCommerce stores accept Apify's automatic (datacenter) proxy, the default. Switch to RESIDENTIAL if a store answers 403 or 429.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://nalgene.com"
    }
  ],
  "outputType": "products",
  "searchTerms": [],
  "sort": "default",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": [
        {
            "url": "https://nalgene.com"
        }
    ],
    "searchTerms": [],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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