# Shopify & WooCommerce Price Tracker - Price Drop Alerts (`betterscaperever/shopify-woocommerce-price-tracker`) Actor

Track prices, discounts and stock of any Shopify or WooCommerce store. Price drop, back in stock, new and removed product alerts, 30-day lowest price. $0.30 per 1,000 products.

- **URL**: https://apify.com/betterscaperever/shopify-woocommerce-price-tracker.md
- **Developed by:** [Simone](https://apify.com/betterscaperever) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 20.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 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/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 Price Tracker - Price Drop Alerts

**Track prices, discounts and stock of any Shopify or WooCommerce store and get alerts for price drops, restocks, new and removed products.** $0.30 per 1,000 products saved; in alerts mode, unchanged products cost $0.01 per 1,000. A Shopify scraper and WooCommerce scraper with change detection built in: no spreadsheet diffing.

- 🛍️ **Two platforms, one table:** Shopify and WooCommerce stores in the same run, with the same columns. The platform is detected automatically.
- 🔔 **Alerts built in:** new product, price drop, price increase, back in stock, sold out, discount started, removed from the store. Each product says what changed since the previous run, size by size.
- 📉 **Is that discount real?** Every product carries its **lowest price of the last 30 days**, from the Actor's own price history (the "prior price" the EU Omnibus rules talk about).
- 💸 **Predictable cost:** in "Only changes" mode you pay $0.30 per 1,000 alerts and $0.01 per 1,000 products checked. A daily watch on a 2,000-product competitor costs about $0.02 a day plus its alerts.
- 🤝 **Polite by design:** public catalog endpoints only, an honest user agent, slow pace, waits when a store asks. No logins, no fake carts, no bot-protection bypass.

### What can I track?

Paste any mix of URLs in **Store, collection or product URLs**:

| URL | What is read |
|---|---|
| Store home page, e.g. `https://www.deathwishcoffee.com` | The whole catalog |
| Shopify collection, e.g. `https://shop.example.com/collections/sale` | Products of that collection |
| WooCommerce category, e.g. `https://shop.example.com/product-category/coffee/` | Products of that category |
| Product page (`/products/...` on Shopify, `/product/...` on WooCommerce) | That product |

Other e-commerce platforms are reported as unsupported in the run summary.

### Who is it for?

- **Brands and retailers** watching competitors' prices, markdowns and new launches.
- **Resellers, dropshippers and deal hunters** waiting for price drops and restocks of specific products or sizes.
- **Analysts** building price history and discount data across many stores.
- **Pipelines and AI agents** that need clean, stable product data from Shopify and WooCommerce stores.

### How it compares

| | This Actor | Typical Shopify/WooCommerce product scrapers on the Store |
|---|---|---|
| Platforms | Shopify **and** WooCommerce in one run | Usually one platform per Actor |
| Change detection | Built in: alerts and per-variant changes | Usually none: compare the datasets of two runs yourself |
| Price history | Lowest price of the last 30 days on every product | Not available |
| Price per 1,000 products | **$0.30** | $1.00 (most-used Shopify and WooCommerce product scrapers), up to $10.00 |
| Unchanged products in alerts mode | $0.01 per 1,000 | Charged as full results |

Prices checked on the Apify Store in November 2026.

### How to use it

1. Paste one or more store, collection or product URLs.
2. Choose **What to save**: *Every product* (full catalog plus alerts) or *Only changes* (alerts only).
3. Run it once: this first run records prices and stock.
4. **Schedule it** (daily or hourly): from the second run, every product that changed is marked with its alerts.

Runs with the same **Tracker name** share their memory of prices. Use one name per watch list.

#### Example: daily alerts on two competitors

```json
{
  "startUrls": ["https://www.deathwishcoffee.com", "https://shop.example.com"],
  "outputMode": "changes",
  "alertTypes": ["price_drop", "back_in_stock", "new_product"],
  "minDropPercent": 10,
  "maxProductsPerSource": 0,
  "trackerKey": "competitors"
}
```

#### Example: one-off catalog export

```json
{
  "startUrls": ["https://woocommerce.com/product-category/themes/"],
  "trackChanges": false,
  "includeDescription": true
}
```

### Alerts

| Alert | When |
|---|---|
| `new_product` | A product appears that was not in the catalog before (known once the tracker has read the whole catalog, or from the store's own publish date) |
| `price_drop` | A variant got cheaper (respecting *Minimum price drop* % and amount) |
| `price_increase` | A variant got more expensive |
| `back_in_stock` | The product was sold out and is available again |
| `out_of_stock` | The product was available and is now sold out |
| `discount_started` | A compare-at ("was") price appeared |
| `removed` | The product is no longer listed |

Changes of single sizes or colors (price, compare-at price, availability, variants added or removed) are listed in `changes`, even when they do not trigger an alert.

**Reliable removals.** A product is reported as removed only after **two complete reads in a row** without it. If a run could not read the whole catalog (a limit, an error), nothing is reported as removed.

**First run.** The first run of a tracker records prices and reports no alerts. In *Only changes* mode it saves nothing and charges only the checks.

### Output

One record per product, the same fields for Shopify and WooCommerce. A value the store does not publish is `null`, never missing.

| Field | Description |
|---|---|
| `platform`, `store`, `storeName` | `shopify` or `woocommerce`, host name, store name (Shopify) |
| `productId`, `handle`, `url`, `title`, `vendor`, `productType`, `categories`, `tags` | Product identity |
| `price`, `priceMax`, `currency` | Lowest and highest current price among variants |
| `compareAtPrice`, `discountPercent`, `onSale` | "Was" price of the cheapest variant, largest discount among variants |
| `available`, `variantCount`, `availableVariantCount` | Stock flags |
| `events`, `changes`, `previousPrice`, `priceChangePercent` | What changed since the previous run |
| `lowestPrice30d`, `historyDays` | Lowest price of the last 30 days, days of history behind it |
| `rating`, `reviewCount`, `lowStockRemaining` | WooCommerce reviews and "only N left" |
| `imageUrl`, `imageUrls`, `options`, `variants`, `description` | Images, options, every variant with price, SKU, barcode and stock flag |
| `createdAt`, `publishedAt`, `updatedAt`, `firstSeenAt`, `lastSeenAt`, `scrapedAt` | Dates |

Example record (illustrative, shortened):

```json
{
  "platform": "shopify",
  "store": "www.deathwishcoffee.com",
  "storeName": "Death Wish Coffee",
  "productId": "1234567890123",
  "url": "https://www.deathwishcoffee.com/products/death-wish-coffee",
  "title": "Dark Roast Coffee",
  "vendor": "Death Wish Coffee Co.",
  "currency": "USD",
  "price": 17.99,
  "compareAtPrice": 19.99,
  "discountPercent": 10.0,
  "onSale": true,
  "available": true,
  "events": ["price_drop", "discount_started"],
  "previousPrice": 19.99,
  "priceChangePercent": -10.0,
  "lowestPrice30d": 17.99,
  "historyDays": 14,
  "changes": [
    {"field": "price", "variantId": "40000000000001", "variantTitle": "1 lb / Whole Bean", "from": 19.99, "to": 17.99, "changePercent": -10.0},
    {"field": "compareAtPrice", "variantId": "40000000000001", "variantTitle": "1 lb / Whole Bean", "from": null, "to": 19.99, "changePercent": null}
  ]
}
```

The run summary (`OUTPUT` in the key-value store) lists, for every URL, the platform, products checked and saved, alerts, whether the whole catalog was read and any error.

### How much does it cost?

Pay per event, with Apify platform costs included:

| Event | Price |
|---|---|
| Run start | $0.002 |
| Product saved to the dataset | $0.0003 ($0.30 per 1,000) |
| Product checked but unchanged (*Only changes* mode) | $0.00001 ($0.01 per 1,000) |

Examples:

- Export a 1,000-product catalog: about **$0.30**.
- Watch 5 competitors with 2,000 products each, daily, *Only changes*, 1% of products changing per day: about **$0.13 a day**.
- Apify's free plan ($5 of monthly credit) covers about 16,000 saved products a month.

Set **Maximum cost per run** in the run options: the Actor works out beforehand how many products it may check and save, and never charges more.

### How it treats stores

- It reads only **public catalog endpoints** that stores expose for their own storefronts and apps: Shopify's product feed (`/products.json`, `/meta.json`) and WooCommerce's public Store API.
- It says who it is (an honest user agent) and reads each store **slowly**, one request every few seconds.
- When a store answers "too many requests", it **waits as asked** before continuing. When a store shows a bot-protection page or refuses access, the store is **skipped and reported**, never worked around.
- It never adds products to carts, never logs in and collects **no personal data**: only product data and the store's public name.

### Limits

- **Some stores limit automated traffic.** In our tests from Apify's network (November 2026), 5 of 10 well-known Shopify brands served their product feed and 5 kept answering "too many requests"; 1 of 2 WooCommerce stores showed a bot-protection page. Such stores are skipped after at most about 3 minutes of waiting, reported in the summary as `rateLimited` or `blocked`, and do not stop the other URLs. A skipped store costs nothing beyond the run start.
- **Shopify collection URLs are limited more often than whole-store URLs.** If a collection is rate limited, track the whole store (it is often just as cheap) or the product URLs you care about.
- **Headless storefronts** (custom front ends that do not serve Shopify's product feed on their domain) are reported as `unsupported`.
- **Stock counts:** stores publish in-stock/sold-out flags (and WooCommerce "only N left"), not exact quantities. The Actor does not guess them.
- **WooCommerce variable products** come with their lowest and highest option price, not every option.
- Stores that disable their public catalog feed, password-protected stores and other platforms are reported as unsupported.

### FAQ

**Why did my run stop before reading everything?** Check **Max products per URL** (default 1,000; 0 = whole catalog) and **Maximum cost per run** in the run options. Apify fills in a default maximum cost; when the run reaches it, it stops cleanly and keeps everything saved so far.

**Can I watch only some products?** Yes: paste their product URLs. All product URLs of a store share one memory.

**How do I get alerts by email or Slack?** Use Apify integrations or a webhook on the run, or connect the dataset to Make, Zapier or n8n and filter on `events`.

**Is it legal?** The Actor reads public product data that stores publish for their storefronts, at a gentle pace, and no personal data. Check the terms of the stores you track and the laws that apply to your use.

### Changelog

- **0.1** - First release: Shopify and WooCommerce, alerts, 30-day lowest price, spending limit.

# Actor input Schema

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

Any mix of Shopify or WooCommerce store home pages (the whole catalog), collection or category pages, and product pages. The platform is detected automatically. Examples: https://www.deathwishcoffee.com, https://shop.example.com/collections/sale, https://woocommerce.com/product-category/themes/

## `outputMode` (type: `string`):

<b>Every product</b>: the full catalog on every run, each product marked with what changed since the previous run. <b>Only changes</b>: only products with an alert (price drop, back in stock, new, removed...); unchanged products are just checked, for $0.01 per 1,000. The first run records prices and reports changes from the second run on.

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

Remember prices and stock between runs to detect changes and the lowest price of the last 30 days. Turn off for a one-off catalog export.

## `trackerKey` (type: `string`):

Runs with the same name share their price memory. Use a different name for each independent watch list, e.g. "competitors-eu". Letters, digits and hyphens.

## `alertTypes` (type: `array`):

Which changes count as alerts. In "Only changes" mode only these are saved.

## `minDropPercent` (type: `number`):

Ignore smaller drops. 0 = every drop.

## `minDropAmount` (type: `number`):

Ignore drops smaller than this amount, in the store's currency. 0 = every drop.

## `maxProductsPerSource` (type: `integer`):

Products read from each URL (0 = the whole catalog). In "Only changes" mode it caps the products checked, so a scheduled run costs a predictable amount.

## `maxProductsTotal` (type: `integer`):

Products read in the whole run, across all URLs (0 = no limit). Your Maximum cost per run is always respected too.

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

Each size/color with its own price, compare-at price, SKU and stock flag.

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

The product description as plain text (up to 2,000 characters).

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

Apify datacenter proxy by default. Stores are read slowly and politely; the Actor never works around a store's bot protection.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.deathwishcoffee.com",
    "https://woocommerce.com/products/"
  ],
  "outputMode": "all",
  "trackChanges": true,
  "trackerKey": "default",
  "alertTypes": [
    "new_product",
    "price_drop",
    "price_increase",
    "back_in_stock",
    "out_of_stock",
    "discount_started",
    "removed"
  ],
  "minDropPercent": 0,
  "minDropAmount": 0,
  "maxProductsPerSource": 100,
  "maxProductsTotal": 0,
  "includeVariants": true,
  "includeDescription": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

One record per product, with alerts since the previous run.

## `summary` (type: `string`):

Status, products checked and saved, alerts and errors for every URL.

# 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": [
        "https://www.deathwishcoffee.com",
        "https://woocommerce.com/products/"
    ],
    "maxProductsPerSource": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("betterscaperever/shopify-woocommerce-price-tracker").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": [
        "https://www.deathwishcoffee.com",
        "https://woocommerce.com/products/",
    ],
    "maxProductsPerSource": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("betterscaperever/shopify-woocommerce-price-tracker").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": [
    "https://www.deathwishcoffee.com",
    "https://woocommerce.com/products/"
  ],
  "maxProductsPerSource": 100,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call betterscaperever/shopify-woocommerce-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,betterscaperever/shopify-woocommerce-price-tracker"
        }
    }
}
```

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/MRZv016lSxp13s6Lz/builds/7xRlvdMMAreOvbezJ/openapi.json
