# WooCommerce Products & Prices Scraper — any store, no login (`oddlyclever/woocommerce-products-prices`) Actor

Get every product of any WooCommerce store: price, regular and sale price, discount, stock, SKU, GTIN, categories, brands, ratings and images. Just paste store URLs. Fast, no proxies, no login. Ideal for competitor price monitoring.

- **URL**: https://apify.com/oddlyclever/woocommerce-products-prices.md
- **Developed by:** [Oddly Clever](https://apify.com/oddlyclever) (community)
- **Categories:** E-commerce, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 products

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/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 & Prices Scraper — any store, no login

Paste the URLs of **any WooCommerce stores** and get **every product** with its **price, regular price,
sale price, discount, stock status, SKU, GTIN/EAN, categories, brands, attributes, rating and images**.

WooCommerce powers millions of online shops. This Actor reads the store's own public product API
(the one WooCommerce uses for its cart and product blocks): **no browser, no proxies, no login** — fast and cheap.

### Use cases

- **Competitor price monitoring**: run it daily on your competitors and track price changes and promotions.
- **Stock monitoring**: know when products go out of stock or come back.
- **MAP / reseller compliance**: check what your resellers really charge.
- **Catalogue import**: copy a supplier's catalogue (with their permission) into your own system.
- **Market research**: compare assortments and price levels across stores.

### How much does it cost?

**$1 per 1,000 products**. Stores that cannot be read are skipped and not charged.

| Example | Cost |
|---|---|
| A 300-product store | $0.30 |
| 10 competitor stores × 1,000 products | $10 |

Apify's free plan ($5 of monthly credit) covers about **5,000 products a month**. You pay only for products delivered, and you can cap spending per run.

### How to use it

1. Paste one or more **store URLs** (home page is enough).
2. Optionally filter: search term, category, on-sale or in-stock only, price range.
3. Click **Start** — schedule it daily to track price changes and promotions.

### Input

| Field | What it does |
|---|---|
| `startUrls` | Store URLs (home page or any page). |
| `search` | Only products matching a search term. |
| `categorySlug` | Only one store category. |
| `onSaleOnly` / `inStockOnly` | Only discounted / in-stock products. |
| `minPrice` / `maxPrice` | Price range, in the store currency. |
| `includeDescription` | Add product descriptions (plain text). |
| `maxProductsPerStore` / `maxItems` | Limits. You pay per product returned. |

### Output (one item per product)

```json
{
  "store": "https://shop.example.com",
  "name": "Organic cotton T-shirt",
  "url": "https://shop.example.com/product/organic-cotton-t-shirt/",
  "sku": "TS-001",
  "gtin": "4006381333931",
  "price": 19.9,
  "regular_price": 24.9,
  "sale_price": 19.9,
  "on_sale": true,
  "discount_percent": 20.1,
  "currency": "EUR",
  "in_stock": true,
  "stock_status": "in-stock",
  "categories": ["T-shirts"],
  "brands": ["Acme"],
  "attributes": {"Size": ["S", "M", "L"]},
  "average_rating": 4.6,
  "review_count": 31,
  "image": "https://shop.example.com/wp-content/uploads/tshirt.jpg",
  "scraped_at": "2026-12-01T17:30:00+00:00"
}
```

### Notes

- Works with WooCommerce stores that keep the standard public Store API (the default). Stores that disabled it
  are skipped and reported in the run log (you are not charged for them).
- Prices are those shown to a visitor without an account (no customer-specific prices).

### Use it from AI agents, automation tools or code

- **AI assistants (Claude, ChatGPT, Cursor, VS Code…)**: add the MCP server `https://mcp.apify.com/?tools=oddlyclever/woocommerce-products-prices` — the assistant can then run this Actor on demand. Also listed in the official MCP Registry.
- **AI agents without an Apify account** can pay per run themselves (x402, card) through [agi.apify.com](https://agi.apify.com) — this Actor runs with limited permissions, so it is eligible.
- **n8n, Make, Zapier**: use the Apify integration and pick this Actor; schedule it and send results to Google Sheets, Slack, email or your CRM.
- **API** (Python):

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("oddlyclever/woocommerce-products-prices").call(run_input={...})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

### FAQ

**How do I know a store runs WooCommerce?**\
Just try it: non-WooCommerce stores are detected, skipped and reported in the log, free of charge.

**Is it fast?**\
Yes — it reads the store's public product API, no browser: thousands of products per minute.

**Is it legal?**\
It collects only **public** data, without login, and never bypasses blocks. You are responsible for how you use personal data (GDPR) in your country.

**What if a run fails?**\
You are charged only for products actually delivered. Every Actor of ours is tested daily with real runs and content-quality checks.

**Can you add a feature?**\
Yes — open an issue on this Actor's page.

# Actor input Schema

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

Home page (or any page) of each WooCommerce store, e.g. https://shop.example.com

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

Only products matching this search (uses the store's own search).

## `categorySlug` (type: `string`):

Only this store category (its slug, as in the category URL).

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

Keep only discounted products.

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

Keep only products in stock.

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

Keep products at or above this price (store currency).

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

Keep products at or below this price (store currency).

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

Add short and full product descriptions (plain text).

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

Stop each store after this many products. Empty = all.

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

The run stops at this number of products. You pay per product.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://woocommerce.com"
    }
  ],
  "onSaleOnly": false,
  "inStockOnly": false,
  "includeDescription": false,
  "maxItems": 10000
}
```

# Actor output Schema

## `results` (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": [
        {
            "url": "https://woocommerce.com"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oddlyclever/woocommerce-products-prices").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://woocommerce.com" }] }

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,oddlyclever/woocommerce-products-prices"
        }
    }
}
```

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/etsfdbc9UUbLSaH7h/builds/Lie4qJiwKUjbUM9BI/openapi.json
