# Shopify & WooCommerce Store Products Scraper: Prices, Stock (`apt_squirrel/ecommerce-store-products`) Actor

Get the full product catalogue of any Shopify or WooCommerce store: prices, sale prices, stock, variants, images, tags and descriptions. Just paste store addresses, the platform is detected for you. Fast, no browser, ideal for competitor price monitoring.

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

## Pricing

from $0.67 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Shopify & WooCommerce Store Products Scraper

Get the full product catalogue of any Shopify or WooCommerce store as clean rows: titles, prices, sale prices, stock, variants, SKUs, images, tags and descriptions.

Paste store addresses and the actor works out which platform each store runs on. It reads the same public catalogue feeds the storefronts themselves use, so it is fast, light and does not need a browser.

### What you get that other scrapers do not

- **Shopify collections**: give a collection link and get just that collection.
- **Discount in percent** and **days since the product went live** on every row.
- **Filters**: price range, minimum discount, brands, product types, new arrivals in the last N days, excluded words.

### What it is for

- **Competitor price monitoring**: run it daily on competitors' stores and see every price change and every new discount.
- **Dropshipping and product research**: find what a store sells, at what price, and what is sold out.
- **Catalogue migration**: export a store's products to move them to another platform.
- **Market research**: compare assortments and price ranges across a niche.

### Output

| Field | Meaning |
|---|---|
| `store`, `platform` | the store and `shopify` or `woocommerce` |
| `productId`, `title`, `handle`, `url` | the product and its page |
| `vendor`, `productType`, `categories`, `tags` | how the store classifies it |
| `price`, `priceMax` | lowest and highest variant price |
| `compareAtPrice`, `onSale` | the original price when the product is discounted |
| `currency` | store currency, for example `USD` |
| `available` | in stock (any variant) |
| `sku`, `variantCount`, `variants`, `options` | sizes, colours and their prices and stock |
| `imageUrl`, `images` | product photos |
| `description` | as plain text |
| `rating`, `reviewCount` | WooCommerce stores that show reviews |
| `createdAt`, `updatedAt`, `publishedAt` | Shopify stores |

Turn on **One row per variant** to get a separate row for every size or colour of Shopify products, each with its own price, SKU and stock: the best shape for price tracking.

### Input

```json
{
  "stores": ["allbirds.com", "https://woocommerce.com"],
  "maxProductsPerStore": 0,
  "titleKeywords": ["runner"],
  "onlyAvailable": false,
  "onlyOnSale": false,
  "oneRowPerVariant": false,
  "includeDescription": true
}
```

### Good to know

- Works on stores that keep their public catalogue feed on, which is the default on both platforms. A store that has switched it off, or that blocks automated traffic, is reported in the log and skipped.
- Shopify's feed does not include stock quantities, only whether each variant can be bought.
- You pay only for the rows that pass your filters.

### Price and stock monitoring

Turn on **Track price and stock changes** and schedule the actor daily. Every product (or variant) is compared with the previous run of the same input and gets a `changeType`:

| changeType | Meaning |
|---|---|
| `new` | not in the previous run |
| `price_drop`, `price_increase` | with `previousPrice`, `priceChange` and `priceChangePct` |
| `back_in_stock`, `out_of_stock` | availability changed |
| `unchanged` | nothing changed |
| `removed` | was there last time and is gone now (only reported when the whole catalogue was read, without filters or a row limit) |

Turn on **Return only changes** to receive, and pay for, only the products that changed.

### Run summary

Besides the rows, every run saves a short report as the `SUMMARY` record of the run's key-value store (linked in the run's Output tab): per store: product count, in stock, on sale, lowest, median and highest price; with tracking on, the number of each kind of change and the ten biggest price drops.

### Use it from code, no-code tools and AI agents

- **API**: start a run and get the results in one HTTP call, or use the Apify Python and JavaScript clients. Results download as JSON, CSV, Excel or XML.
- **Integrations**: Make, Zapier, n8n, Google Sheets, Slack and webhooks, from the run's Integrations tab.
- **AI agents**: the actor is available as a tool through the Apify MCP server, so AI assistants and agents can call it directly.

### Pricing

Pay per result: one result is one product (or one variant when **One row per variant** is on). Users on paid Apify plans get an automatic discount of up to 33%.

# Actor input Schema

## `stores` (type: `array`):

Store addresses, for example allbirds.com. Any page of the store works; only the domain is used. A Shopify collection link (shop.com/collections/sale) reads just that collection.

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

Stop after this many rows per store. 0 means the whole catalogue.

## `titleKeywords` (type: `array`):

Keep products whose title contains any of these words.

## `onlyAvailable` (type: `boolean`):

Skip products that are sold out.

## `onlyOnSale` (type: `boolean`):

Keep only discounted products.

## `excludeKeywords` (type: `array`):

Skip products whose title contains any of these words.

## `minPrice` (type: `integer`):

Skip cheaper products (store currency).

## `maxPrice` (type: `integer`):

Skip more expensive products (store currency).

## `minDiscountPct` (type: `integer`):

Keep only products discounted at least this much against the crossed-out price.

## `vendors` (type: `array`):

Keep only these brands (exact names, case-insensitive).

## `productTypes` (type: `array`):

Keep only these product types (exact names, case-insensitive).

## `publishedWithinDays` (type: `integer`):

Keep only products published in the last N days: new arrivals. 0 keeps all.

## `oneRowPerVariant` (type: `boolean`):

Shopify stores: a separate row for every size, colour or other variant, each with its own price, SKU and stock. Best for price monitoring.

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

Product description as plain text. Turn off for smaller results.

## `trackChanges` (type: `boolean`):

Compare every product with the previous run of this same input and mark it new, price_drop, price_increase, back_in_stock, out_of_stock, unchanged or removed, with the previous price and the change in percent. Schedule the actor daily to monitor competitors.

## `onlyChanges` (type: `boolean`):

With tracking on, leave out unchanged products: you pay only for what changed.

## `monitorId` (type: `string`):

Optional. Runs with the same name compare against each other. Leave empty to use one memory per distinct input.

## Actor input object example

```json
{
  "stores": [
    "https://www.allbirds.com",
    "https://woocommerce.com"
  ],
  "maxProductsPerStore": 20,
  "onlyAvailable": false,
  "onlyOnSale": false,
  "oneRowPerVariant": false,
  "includeDescription": true,
  "trackChanges": false,
  "onlyChanges": false
}
```

# Actor output Schema

## `results` (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 = {
    "stores": [
        "https://www.allbirds.com",
        "https://woocommerce.com"
    ],
    "maxProductsPerStore": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("apt_squirrel/ecommerce-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 = {
    "stores": [
        "https://www.allbirds.com",
        "https://woocommerce.com",
    ],
    "maxProductsPerStore": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("apt_squirrel/ecommerce-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 '{
  "stores": [
    "https://www.allbirds.com",
    "https://woocommerce.com"
  ],
  "maxProductsPerStore": 20
}' |
apify call apt_squirrel/ecommerce-store-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apt_squirrel/ecommerce-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/XJmm8SHbH9iAm9cnN/builds/36UXU02T2staxIeQy/openapi.json
