# Shopify Products Scraper & Price Monitor (`cancap/shopify-products-monitor`) Actor

Scrape all products from any Shopify store: prices, sale prices, stock, variants, SKUs and images. Monitor mode returns only what changed since the last run: new products, price drops, price increases, back in stock, sold out, removed. One row per product or per variant. Export to CSV, Excel, JSON.

- **URL**: https://apify.com/cancap/shopify-products-monitor.md
- **Developed by:** [CANCAP](https://apify.com/cancap) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 row returneds

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 Products Scraper & Price Monitor

Scrape **every product from any Shopify store** and, on later runs, get **only what changed**: new products, price drops, price increases, back in stock, sold out and removed products.

No coding, no API key and no Shopify account needed. Paste a store URL, click Start, and export to **Excel, CSV, JSON or Google Sheets**.

### What you get for each product

- **Prices**: current price, highest variant price, compare-at (crossed-out) price, discount %, on-sale flag, currency
- **Stock**: in stock / sold out, number of available variants
- **Variants & SKUs**: every size and color with its own SKU, price and stock, either inside the product row or as **one row per variant**
- **Catalog data**: title, vendor, product type, tags, options, images, product URL, created / published / updated dates, optional description
- **Changes since your last run**: `changeType` (`new`, `price_drop`, `price_increase`, `back_in_stock`, `sold_out`, `variant_change`, `removed`), previous price, price change and % change

### Who uses this

- **Store owners & brands** watching competitor prices, sales and new launches.
- **Dropshippers & resellers** finding new and restocked products before others.
- **Agencies & analysts** exporting a full catalog for research, pricing studies or migration.
- **Deal and price-comparison sites** that need a daily feed of price drops.
- **Developers** who want clean product JSON through an API, Zapier, Make or n8n.

### How to use

#### Export a full catalog

1. Paste one or more store URLs, e.g. `https://www.allbirds.com` or `gymshark.com`.
2. Set **Max products per store** to `0` for everything.
3. Click **Start** and download the results.

To scrape one collection only, paste the collection URL: `https://www.allbirds.com/collections/mens`.

#### Monitor prices and stock (change feed)

1. Turn on **Monitor mode: return only what changed since the last run**.
2. Set **Max products per store** to `0` so removed products can be detected.
3. **Schedule** the Actor (daily or hourly). The first run saves the baseline and returns the full catalog; every later run returns only the changes.
4. Connect the dataset to Slack, email, Google Sheets or your own app.

```json
{
    "storeUrls": ["https://www.allbirds.com", "gymshark.com/collections/sale"],
    "maxProductsPerStore": 0,
    "onlyChanges": true,
    "rowPerVariant": false
}
```

### Output example

```json
{
    "store": "acme-shoes.example",
    "storeName": "Acme Shoes",
    "productId": 7340901859408,
    "title": "Wool Runner",
    "handle": "wool-runner",
    "url": "https://www.acme-shoes.example/products/wool-runner",
    "vendor": "Acme",
    "productType": "Shoes",
    "tags": ["wool", "mens"],
    "price": 84,
    "maxPrice": 98,
    "compareAtPrice": 98,
    "discountPct": 14,
    "onSale": true,
    "currency": "USD",
    "available": true,
    "variantsCount": 2,
    "availableVariants": 1,
    "mainImage": "https://cdn.shopify.com/s/files/wool-runner.jpg",
    "variants": [
        { "variantId": 1001, "variantTitle": "8", "sku": "WR-8", "price": 84, "compareAtPrice": 98, "discountPct": 14, "available": true, "options": { "Size": "8" } },
        { "variantId": 1002, "variantTitle": "9", "sku": "WR-9", "price": 98, "compareAtPrice": null, "discountPct": null, "available": false, "options": { "Size": "9" } }
    ],
    "createdAt": "2026-03-02T10:00:00-05:00",
    "updatedAt": "2026-09-30T08:12:44-04:00",
    "changeType": "price_drop",
    "changes": ["price_drop"],
    "previousPrice": 98,
    "priceChange": -14,
    "priceChangePct": -14.3,
    "previousAvailable": true,
    "scrapedAt": "2026-10-01T10:00:00.000Z"
}
```

#### Change types

| changeType | Meaning |
|---|---|
| `baseline` | First run for this store: nothing to compare with yet |
| `new` | Product (or variant) was not there last run |
| `price_drop` / `price_increase` | Lowest price changed; see `previousPrice`, `priceChange`, `priceChangePct` |
| `back_in_stock` / `sold_out` | Availability changed |
| `variant_change` | A single size/color changed price or stock while the product's lowest price and overall stock stayed the same; details are in `variantChanges` |
| `removed` | Product was in the last run and is gone now (needs a full catalog run) |
| `unchanged` | Nothing changed (not returned in Monitor mode) |

A summary with the counts per store is saved to the run's key-value store under `SUMMARY`.

### Pricing: built for cheap daily monitoring

Two simple fees:

- **Row returned**: one product, or one variant when **One row per variant** is on.
- **Product checked**: a very small fee for each product read from a store's catalog.

In Monitor mode unchanged products are **not returned**, so you pay only the small checking fee plus the rows that actually changed. Watching a large catalog every day costs a fraction of scraping it in full each time. Stores that fail are free. Set a **maximum cost per run** in the run options and the Actor stops cleanly at your limit.

### Filters

Keywords (title, tags, type, vendor, SKU), minimum and maximum price, only on sale, only in stock. Filters decide which rows you receive; monitoring always tracks the whole catalog, so changing a filter later does not break your history.

### FAQ

**Does it work on every Shopify store?** It works on stores with the standard public product feed, which is the large majority. Password-protected stores and stores that disabled the feed are listed under `FAILED_STORES` in the run's key-value store and not charged.

**Can I see exact inventory quantities?** No. Shopify stores publish only in stock / sold out per variant.

**Which currency are prices in?** The store's own default currency, shown in `currency`.

**How are changes remembered?** A small snapshot (product ID, price, stock) is saved in your own Apify account in the key-value store `shopify-products-monitor-state`. Delete that store to reset all baselines.

**How do I find Shopify stores to monitor?** Use [Shopify Store Leads Finder](https://apify.com/cancap/shopify-store-leads) to discover stores by product keyword, with contacts and installed apps.

### Responsible use

This Actor reads only public product information that stores publish for shoppers. It uses no logins and bypasses no protection. Requests are paced to be polite to the stores.

# Actor input Schema

## `storeUrls` (type: `array`):

One store per line, e.g. "https://www.allbirds.com" or just "gymshark.com". To scrape only one collection, paste its URL, e.g. "https://www.allbirds.com/collections/mens".

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

How many products to read from each store. Use 0 for the whole catalog (recommended for monitoring, so removed products can be detected).

## `rowPerVariant` (type: `boolean`):

Off: one row per product with all variants inside. On: one row per variant with its own SKU, price and stock, best for spreadsheets and SKU-level price tracking.

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

Returns only new products, price drops, price increases, back in stock, sold out and removed products. Unchanged products are not returned, so you pay only the small checking fee. The first run returns the full catalog as the baseline. Schedule the Actor daily to get a change feed.

## `monitorName` (type: `string`):

Changes are compared with the last run that used the same monitor name. Use different names if you track the same store in separate schedules.

## `keywords` (type: `array`):

Only return products whose title, tags, type, vendor or SKU contain any of these words. Leave empty for all products.

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

Only return products that cost at least this much (in the store's currency). Leave empty for no limit.

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

Only return products that cost at most this much (in the store's currency). Leave empty for no limit.

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

Only return products with a crossed-out "compare at" price higher than the current price.

## `onlyInStock` (type: `boolean`):

Skip sold-out products.

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

Adds the product description as plain text. Turn off for smaller, faster exports.

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

Stores are requested directly first and through Apify Proxy only when needed. Switch to RESIDENTIAL only if a store keeps blocking requests.

## Actor input object example

```json
{
  "storeUrls": [
    "https://www.allbirds.com"
  ],
  "maxProductsPerStore": 100,
  "rowPerVariant": false,
  "onlyChanges": false,
  "monitorName": "default",
  "onlyOnSale": false,
  "onlyInStock": false,
  "includeDescription": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per product (or per variant) with price, stock and what changed since the last run.

## `allFields` (type: `string`):

No description

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

Per store: products read, rows returned and counts of new, price drop, price increase, back in stock, sold out and removed.

## `failedStores` (type: `string`):

Stores that could not be read, with the reason. Not charged.

# 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 = {
    "storeUrls": [
        "https://www.allbirds.com"
    ],
    "maxProductsPerStore": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("cancap/shopify-products-monitor").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 = {
    "storeUrls": ["https://www.allbirds.com"],
    "maxProductsPerStore": 100,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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

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/83kpojAtP7GkC35yf/builds/bvUyaa4G38LWuyDhk/openapi.json
