# Shopify Competitor Monitor — Price, Stock & New Product Alerts (`talowire/shopify-monitor`) Actor

Monitor any Shopify store or collection: get one record per price change, sale, restock, sell-out and new product. Only changes, never the whole catalog again. A pay-per-change alternative to price monitoring SaaS.

- **URL**: https://apify.com/talowire/shopify-monitor.md
- **Developed by:** [Talowire](https://apify.com/talowire) (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.05 / 1,000 product checkeds

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 Competitor Monitor — Price, Stock & New Product Alerts

Keep an eye on your competitors' Shopify stores without paying for a price-monitoring SaaS.
Add store or collection URLs, schedule the Actor, and get **one record per change**: price drops and increases,
sales starting or ending, products going out of stock or coming back, new products and removed products.
**Only changes — never the whole catalog again.**

**Why this Actor**

- ✅ **Changes only, out of the box** — other Shopify scrapers tell you to "diff the datasets yourself". Here the first run saves a baseline and every next run returns only what changed.
- ✅ **Pay for what you watch** — $0.05 per 1,000 products checked + $2 per 1,000 changes. A 1,000-product store checked daily costs about **$1.50/month**, vs ~$99/month for typical price-monitoring tools.
- ✅ **Whole store or one collection** — `https://shop.com` or `https://shop.com/collections/sale`.
- ✅ **Useful change records** — old and new price, % change, compare-at price, availability, variant, SKU, image and product link, in the store's currency.
- ✅ **Honest about limits** — stores that hide their catalog (custom headless storefronts) are reported as not supported and never billed.
- ✅ **Polite by design** — Shopify rate limits are respected; no anti-bot circumvention.

### How to use it

#### Monitor competitors (recommended)

```json
{
  "stores": ["https://www.competitor-one.com", "https://competitor-two.com/collections/sale"],
  "stateKey": "my-competitors",
  "track": ["price", "sale", "stock", "new"],
  "minPriceChangePercent": 2
}
```

Create a **Schedule** (daily or every few hours). Connect Slack, e-mail, Google Sheets, n8n, Make or Zapier to get alerts.
The first run only saves the baseline (no changes reported).

#### Export a store's catalog once

```json
{ "stores": ["https://www.competitor-one.com"], "maxProductsPerStore": 2000 }
```

### Output (monitoring mode)

```json
{
  "type": "price_drop",
  "store": "www.deathwishcoffee.com",
  "storeName": "Death Wish Coffee",
  "currency": "USD",
  "productTitle": "Triple Threat Chocolate Bark Bundle",
  "variantTitle": "Default Title",
  "oldPrice": 50.0,
  "newPrice": 45.0,
  "changePercent": -10.0,
  "available": true,
  "productUrl": "https://www.deathwishcoffee.com/products/triple-threat-chocolate-bark-bundle",
  "detectedAt": "2026-11-22T22:10:41+00:00"
}
```

Change types: `price_drop`, `price_increase`, `sale_started`, `sale_ended`, `out_of_stock`, `back_in_stock`, `new_product`, `new_variant`, `product_removed`.
A `SUMMARY` record in the run's key-value store lists every store with its status (`baseline`, `monitored`, `unsupported`, `empty`).

### Pricing

| Event | Price |
|---|---|
| Product checked | $0.05 / 1,000 |
| Change detected | $2.00 / 1,000 |
| Run start (Apify standard) | $0.00005 per run |

Unsupported or empty stores cost nothing. Set a maximum cost per run: when it is reached, the Actor stops cleanly and the remaining changes are reported on the next run — nothing is lost or billed twice.

### FAQ

**Which stores work?** Stores built on Shopify with the standard storefront (the vast majority). Some large brands use a custom "headless" front end that does not publish the catalog; they are flagged as unsupported.

**Stock quantities?** Shopify publishes availability (in stock / out of stock) per variant, not exact quantities.

**How often can I check?** As often as you like; checking many large stores very frequently makes runs longer because Shopify rate limits are respected.

**Is it legal?** The Actor reads the public product catalog that each store exposes to every visitor, at a moderate rate. You are responsible for how you use the data.

Shopify is a trademark of Shopify Inc. This Actor is not affiliated with or endorsed by Shopify.

# Actor input Schema

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

Shopify store URLs (https://shop.com) or collection URLs (https://shop.com/collections/sale). Each is monitored separately.

## `stateKey` (type: `string`):

Any name, e.g. 'competitors'. First run saves a baseline of each store; every next run with the same key returns ONLY what changed. Leave empty to export the current catalog once.

## `track` (type: `array`):

Types of changes to report in monitoring mode.

## `minPriceChangePercent` (type: `integer`):

Ignore price changes smaller than this percentage.

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

Products read (and billed as checked) per store and per run.

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

Not needed for normal use.

## Actor input object example

```json
{
  "stores": [
    "https://www.deathwishcoffee.com"
  ],
  "track": [
    "price",
    "sale",
    "stock",
    "new",
    "removed"
  ],
  "minPriceChangePercent": 0,
  "maxProductsPerStore": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

One record per detected change (or per product in export mode)

# 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.deathwishcoffee.com"
    ],
    "maxProductsPerStore": 500
};

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

# Run the Actor and wait for it to finish
run = client.actor("talowire/shopify-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 '{
  "stores": [
    "https://www.deathwishcoffee.com"
  ],
  "maxProductsPerStore": 500
}' |
apify call talowire/shopify-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,talowire/shopify-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/I1OPdXPxlPuX4rIDq/builds/Frps1luNwLTyqHmzs/openapi.json
