# Shopify & WooCommerce Product Price Scraper (`jobdata-tools/store-products`) Actor

Scrape public product and price data from Shopify and WooCommerce stores via official catalog APIs. Get titles, variants, SKUs, prices, compare-at prices, stock status and images in one schema. No login, no browser, no personal data, no residential proxies.

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

## Pricing

from $1.20 / 1,000 product results

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

## Shopify & WooCommerce Product Price Scraper

This **product scraper** reads **public product and price data** from **Shopify** and **WooCommerce** storefronts and returns one normalized record per product.

### What this product price scraper does

This Actor reads **public product and price data** from **Shopify** and **WooCommerce** storefronts and returns one normalized record per product. It auto-detects the platform and calls only unauthenticated catalog JSON:

- Shopify: [`/products.json`](https://shopify.dev) (fallback: `/collections/all/products.json`)
- WooCommerce: the public [Store API](https://developer.woocommerce.com/docs/apis/store-api) at `/wp-json/wc/store/v1/products`

It does **not** log in, open carts or checkout, use residential proxies, or collect customer, reviewer or personal contact details.

### Why use this product price scraper?

- **One schema, two platforms.** Compare or monitor prices across Shopify and WooCommerce shops without writing a mapper for each.
- **Public catalog APIs, not a browser.** Paginated JSON is faster and cheaper than rendering storefront HTML.
- **Variant-level prices when published.** Optional SKU, availability and compare-at / regular prices sit on each variant.
- **Robots.txt is honoured at run time.** Disallowed catalog paths are skipped. Cart, checkout, account and admin URLs are never requested.
- **Safe by default.** An empty input uses two well-known public demo stores and a small per-store cap, so a first run (and Apify's daily auto-test) finishes quickly.
- **Runs on Apify.** Schedule it, call it from the API, or send the dataset to a warehouse integration.

### Use cases

- **Price monitoring** across Shopify and WooCommerce catalogs (current and compare-at prices, stock status)
- **Product catalog research** and competitive assortment checks at variant and SKU level
- **E-commerce analytics** pipelines that need a consistent product schema from public storefront APIs

This Actor does not scrape reviews, customer records or store-owner contact details.

### What data can this Actor extract?

| Field | Type | Description |
|---|---|---|
| `storeDomain` | string | Store hostname without a leading `www` |
| `platform` | string | `shopify` or `woocommerce` |
| `productId` | string | Platform product id |
| `title` | string | Product title |
| `handle` | string | Shopify handle or WooCommerce slug |
| `url` | string | Public product URL |
| `vendor` | string | Vendor or brand, when published |
| `productType` | string | Shopify product type or primary WooCommerce category |
| `categories`, `tags` | string\[] | Public taxonomy values |
| `price`, `compareAtPrice` | number | Current and compare-at / regular price in major units |
| `currency` | string | ISO currency code, when available |
| `availability` | string | `in_stock`, `out_of_stock`, or `unknown` |
| `variants` | object\[] | Optional id, title, SKU, price, compare-at price, availability |
| `images` | string\[] | Public image URLs |
| `createdAt`, `updatedAt` | string | ISO 8601 timestamps, when the catalog publishes them |
| `descriptionText` | string | Optional plain-text description (emails and phone numbers stripped) |

### How to scrape Shopify and WooCommerce product prices

1. Open the Actor in [Apify Console](https://console.apify.com) and go to the **Input** tab.
2. Paste one or more public storefront URLs (the shop homepage is enough). Subdirectory WordPress shops such as `https://example.com/shop` are supported.
3. Optionally set **Max products per store**, and toggle descriptions or variants.
4. Click **Start**. When the run finishes, download the dataset as JSON, CSV, HTML or Excel, or read it from the API tab.

### Pricing

Pricing is pay-per-event: **$1.20 per 1,000 products, to be confirmed** before this Actor is published. Each written product is one `product-result` event. Platform compute for ordinary catalog JSON is typically a few cents or less per 1,000 products, because the Actor only makes paginated HTTP requests and does not start a browser or use residential proxies.

The run stops when `ACTOR_MAX_PAID_DATASET_ITEMS` or the user's spend cap is reached, so a run is not billed for extra items.

### Input

See the **Input** tab for the full form. The fields are:

- **startUrls** — Public Shopify or WooCommerce storefront URLs. Strings or `{ "url": "..." }` items are accepted. If you leave this empty, the Actor uses two public demo stores: the [Shopify Dawn theme demo](https://theme-dawn-demo.myshopify.com) and the [Woostify WooCommerce demo](https://demo.woostify.com).
- **maxProductsPerStore** — Per-store cap (default `8`).
- **includeDescription** — Add plain-text descriptions (default `false`).
- **includeVariants** — Add variant rows when the catalog publishes them (default `true`).

#### Input example

```json
{
  "startUrls": [
    { "url": "https://theme-dawn-demo.myshopify.com" },
    { "url": "https://demo.woostify.com" }
  ],
  "maxProductsPerStore": 25,
  "includeDescription": false,
  "includeVariants": true
}
```

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. One dataset item is one product.

#### Output example

```json
[
  {
    "storeDomain": "theme-dawn-demo.myshopify.com",
    "platform": "shopify",
    "productId": "6920737783897",
    "title": "Puff",
    "handle": "puff-olive-leaf",
    "url": "https://theme-dawn-demo.myshopify.com/products/puff-olive-leaf",
    "vendor": "Mlouye",
    "productType": "Handbags",
    "categories": ["Handbags"],
    "tags": ["handbag", "tote"],
    "price": 465,
    "compareAtPrice": 500,
    "currency": "CAD",
    "availability": "in_stock",
    "variants": [
      {
        "id": "39577056936025",
        "title": "Olive Leaf",
        "sku": "10-039-065",
        "price": 465,
        "compareAtPrice": 500,
        "available": true
      }
    ],
    "images": ["https://cdn.shopify.com/s/files/1/0551/9242/0441/products/puff.jpg"],
    "createdAt": "2021-11-17T00:16:27.000Z",
    "updatedAt": "2026-11-23T12:19:26.000Z"
  },
  {
    "storeDomain": "demo.woostify.com",
    "platform": "woocommerce",
    "productId": "720",
    "title": "574 Pebbled Sport",
    "handle": "574-pebbled-sport",
    "url": "https://demo.woostify.com/product/574-pebbled-sport/",
    "vendor": "New Balance",
    "productType": "Shoes",
    "categories": ["Shoes", "Sport"],
    "tags": ["rubber"],
    "price": 65,
    "compareAtPrice": 80,
    "currency": "USD",
    "availability": "in_stock",
    "variants": [
      {
        "id": "721",
        "title": "Red",
        "sku": "RED-1",
        "price": 65,
        "compareAtPrice": 80,
        "available": true
      }
    ],
    "images": ["https://demo.woostify.com/wp-content/uploads/shoe.jpg"],
    "createdAt": null,
    "updatedAt": null
  }
]
```

### Limits and tips

- Only stores that expose the public catalog endpoints can be scraped. If a shop blocks `products.json` or the WooCommerce Store API, or robots.txt disallows those paths, that store is skipped.
- Shopify currency is taken from a public `cart_currency` cookie on the catalog response when present. The Actor never requests `/cart.js`, `/cart` or checkout.
- WooCommerce `createdAt` / `updatedAt` are usually absent from the public Store API list and are left `null`.
- Concurrency is 1 request at a time per store, with a short delay (and `Crawl-delay` from robots.txt when it is higher). Up to 2 stores run in parallel.
- Password-protected, login-only or bot-challenged catalogs are skipped. Residential proxies are not used.

### FAQ, disclaimers, and support

#### Is this legal to use?

This Actor only extracts **public product and price data** that the store already exposes on its catalog endpoints. It does not extract customer records, reviewer identities, emails, phone numbers or other personal data (any emails or phone numbers that appear in a product description are stripped). We therefore believe that this Actor, when used for ethical purposes by Apify users, is safe. Each merchant's robots.txt is checked at run time, and you should also respect that shop's terms of use. If you are unsure whether your use is legitimate, consult your lawyers. Personal data is protected by the GDPR in the European Union and by other regulations around the world.

#### Why was a store skipped?

Typical reasons are a missing public catalog, HTTP 401/403/404 on the catalog endpoint, or a robots.txt rule that disallows the catalog path. The run log records the reason. Other stores in the same run still complete.

#### How do I run this from code?

Use the **API** tab in the Actor's Apify Console page to generate a ready-made call. Feedback and bug reports can go to the **Issues** tab once the Actor is published.

Suggested list price is a placeholder until Mathias confirms publishing and monetization for this second Actor.

# Actor input Schema

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

Public Shopify or WooCommerce storefront URLs. The Actor auto-detects the platform and reads only public catalog JSON (Shopify /products.json, WooCommerce Store API). Cart, checkout, account and admin paths are never requested. If this list is empty, two public demo stores are used so a default run returns items quickly.

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

Cap on how many products are written for each store. The run also respects ACTOR_MAX_PAID_DATASET_ITEMS and the user's max spend so they are never overcharged.

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

If enabled, add a plain-text product description. Emails and phone numbers are stripped. Leave this off for a smaller, faster price catalog.

## `includeVariants` (type: `boolean`):

If enabled, include variant-level id, title, SKU, price and availability when the public catalog exposes them. Product-level price is always set from the public catalog.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://theme-dawn-demo.myshopify.com"
    },
    {
      "url": "https://demo.woostify.com"
    }
  ],
  "maxProductsPerStore": 8,
  "includeDescription": false,
  "includeVariants": true
}
```

# Actor output Schema

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

Default dataset of normalized product records, shown in the overview view (store, platform, title, price, currency, availability, and URL).

## `dataset` (type: `string`):

The same default dataset without a view filter, including variants, images and optional description text when requested.

# 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://theme-dawn-demo.myshopify.com"
        },
        {
            "url": "https://demo.woostify.com"
        }
    ],
    "maxProductsPerStore": 8,
    "includeDescription": false,
    "includeVariants": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("jobdata-tools/store-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": [
        { "url": "https://theme-dawn-demo.myshopify.com" },
        { "url": "https://demo.woostify.com" },
    ],
    "maxProductsPerStore": 8,
    "includeDescription": False,
    "includeVariants": True,
}

# Run the Actor and wait for it to finish
run = client.actor("jobdata-tools/store-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": [
    {
      "url": "https://theme-dawn-demo.myshopify.com"
    },
    {
      "url": "https://demo.woostify.com"
    }
  ],
  "maxProductsPerStore": 8,
  "includeDescription": false,
  "includeVariants": true
}' |
apify call jobdata-tools/store-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jobdata-tools/store-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/C69WOon4TdX2kS19W/builds/65GROJOZ4PnsxBQ3X/openapi.json
