# Scrape a WooCommerce store's products, prices and stock

**Use case:** 

Every product of a WooCommerce store from its product sitemap: price, sale price, stock, SKU, GTIN, brand and images. Shopify and others work too.

## Input

```json
{
  "storeUrls": [
    "https://porterandyork.com"
  ],
  "maxProductsPerStore": 20,
  "compareWithPreviousRun": false,
  "onlyChanges": false,
  "minPriceChangePercent": 0,
  "includeVariants": true,
  "includeDescription": true,
  "maxConcurrency": 4
}
```

## Output

```json
{
  "image": {
    "label": "Image",
    "format": "image"
  },
  "name": {
    "label": "Product",
    "format": "text"
  },
  "brand": {
    "label": "Brand",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "number"
  },
  "currency": {
    "label": "Currency",
    "format": "text"
  },
  "listPrice": {
    "label": "Before",
    "format": "number"
  },
  "discountPercent": {
    "label": "Off %",
    "format": "number"
  },
  "availability": {
    "label": "Stock",
    "format": "text"
  },
  "variantCount": {
    "label": "Variants",
    "format": "number"
  },
  "sku": {
    "label": "SKU",
    "format": "text"
  },
  "gtin": {
    "label": "GTIN",
    "format": "text"
  },
  "rating": {
    "label": "Rating",
    "format": "number"
  },
  "reviewCount": {
    "label": "Reviews",
    "format": "number"
  },
  "url": {
    "label": "Page",
    "format": "link"
  },
  "store": {
    "label": "Store",
    "format": "text"
  },
  "platform": {
    "label": "Platform",
    "format": "text"
  },
  "changes": {
    "label": "Changes",
    "format": "object"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "error": {
    "label": "Why",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The E-commerce Product Scraper for Any Online Store Actor is ready to run with the inputs already set for "Scrape a WooCommerce store's products, prices and stock". [Sign up or log in](https://console.apify.com/create-task-from-example/D9jD6SnD5bwpmR3f9) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scrape a WooCommerce store's products, prices and stock" task

The E-commerce Product Scraper for Any Online Store Actor will start running based on the input automatically. You can also change all the input fields, like stores (whole catalog), max products per store, and more, to match your specific use case.

### 3. Receive the "Scrape a WooCommerce store's products, prices and stock" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as image, product, brand, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scrape a WooCommerce store's products, prices and stock" task via API](https://apify.com/digital_influx/product-data.md).

## FAQ

### Which stores does it work with?

Most online stores. It reads the structured data each product page publishes (schema.org, Open Graph), so it is not tied to one platform. The Platform field shows what each store runs on.

### Does it only read public pages?

Yes. It only requests public product pages, respects each store's robots.txt, never logs in and uses no private endpoints.

### What happens if a page has no product data?

The row is saved free with a status that says why, for example not_found, blocked_by_site, blocked_by_robots or no_product_data (often a category page or one built by JavaScript).

### Is there a free plan and what are its limits?

On the free Apify plan a run reads up to 50 products. Paid Apify plans have no such limit.

## About this Actor

This example demonstrates how to use [E-commerce Product Scraper for Any Online Store](https://apify.com/digital_influx/product-data.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/digital_influx/product-data.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/digital_influx/product-data.md

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`).
