# Shopify Price and Stock Monitor: Drops, Restocks (`maniginam/shopify-price-stock-monitor`) Actor

Watch any Shopify store for price drops, price increases, restocks, sell-outs, new products, and removed products.  Reads the store's public product list, compares it with the last run, and returns one row per change.  Schedule it daily for alerts.

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

## Pricing

from $2.55 / 1,000 product changes

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

Watch Shopify stores for price drops, price increases, restocks, sell-outs, new products, and removed products.  This Actor reads each store's public product list, compares every variant with what it saw on the last run, and returns one clean row per change with the old and new price, the percent move, stock, and a direct product link.

Add a schedule and you have a price and stock alert feed for competitors, suppliers, or the brands you resell, without logins, browser automation, or a store's API keys.

### What does it do?

- Reads the public `/products.json` list that every Shopify storefront serves, 250 products a request, politely and within the store's robots.txt.
- Remembers each variant's price and stock per store, and on every later run reports only what changed: `new`, `removed`, `priceDrop`, `priceIncrease`, `outOfStock`, and `backInStock`.
- Lets you choose which kinds of change become rows, and ignore price moves smaller than a percent you set.
- Follows a store from its `myshopify.com` address or an old domain to its main domain, and reads up to five stores side by side.
- Leaves one free note row when a run finds nothing to report, so every run has a readable result.
- Never delivers or charges the same change twice, even when the platform moves a run to another server.

### Who is it for?

- **Ecommerce and DTC brands** tracking competitor prices, discounts, and new launches.
- **Resellers, dropshippers, and deal sites** who need to know the moment a product is back in stock or on sale.
- **Brand and channel managers** checking that retailers keep to the agreed minimum advertised price.
- **Market researchers and analysts** building price history and assortment data from Shopify catalogs.

### How to use

1. Open the Actor and paste the stores to watch into **Shopify stores**, one per line, for example `https://shop.ugmonk.com`.
2. Optionally pick the **Changes to report**, such as only price drops and restocks, and set a **Smallest price change to report**.
3. Decide on **Report every variant on the first run**.  Leave it on to get the whole catalog with prices as the first result, or turn it off to save the starting prices quietly and for free.
4. Set **Max change records** to cap the run and its cost.
5. Click **Start** and open the **Output** tab to see the changes, or download them as CSV, Excel, or JSON.
6. Add a schedule on the **Schedules** page, for example daily or hourly, so each run reports what changed since the one before.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `stores` | array of strings | Required.  Shopify store links or domains, up to 100. |
| `changeTypes` | array of strings | Which changes become rows: `new`, `removed`, `priceDrop`, `priceIncrease`, `outOfStock`, `backInStock`.  Empty means all. |
| `minPriceChangePercent` | number | Report a price move only when it is at least this many percent from the last reported price.  Default 0. |
| `reportFirstRun` | boolean | Return every variant as `new` on a store's first run.  Default true. |
| `monitorName` | string | A separate history for each name, for two schedules on the same store.  Default history when empty. |
| `maxProductsPerStore` | integer | Stop reading a store after this many products.  Default 5,000, up to 25,000. |
| `maxResults` | integer | Stop after this many change records in one run.  Default 1,000. |

Example input for a daily alert on price drops of 10% or more and restocks:

```json
{
  "stores": ["https://shop.ugmonk.com", "allbirds.com"],
  "changeTypes": ["priceDrop", "backInStock"],
  "minPriceChangePercent": 10,
  "reportFirstRun": false,
  "maxResults": 500
}
```

### Output

Each row is one variant that changed.  A variant whose price and stock both changed is one row with both changes listed.

```json
{
  "store": "allbirds.com",
  "storeName": "Allbirds",
  "storeUrl": "https://www.allbirds.com",
  "changes": ["priceDrop", "backInStock"],
  "productTitle": "Men's Tree Runners",
  "variantTitle": "10 / Natural Black",
  "sku": "TR3MNBK100",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "price": 79.0,
  "previousPrice": 98.0,
  "priceChangePercent": -19.39,
  "compareAtPrice": 98.0,
  "currency": "USD",
  "available": true,
  "previousAvailable": false,
  "productUrl": "https://www.allbirds.com/products/mens-tree-runners?variant=40346843021392",
  "imageUrl": "https://cdn.shopify.com/s/files/1/1104/4168/products/tree-runner.png",
  "productId": "6991135490128",
  "variantId": "40346843021392",
  "checkedAt": "2026-11-02T14:00:05Z",
  "note": null
}
```

A run that finds nothing to report leaves one free row with an empty `changes` list and a `note`, such as "No changes since the last check of 2 stores".  Filter on a non-empty `changes` list if you pass rows on to another tool.

The `MONITOR_SUMMARY` record in the run's key-value store lists the stores checked, the stores that failed and why, stores that were only partly read, variants checked, changes found, and records published.  It is free.

### Monitor history

Each store's last known prices and stock are kept in the `shopify-price-stock-monitor` named key-value store in your account, one record per store and monitor name (split into numbered records past 7 MB), so the history survives between runs and schedules.  A change is remembered only once it reaches your dataset, so a change cut off by `maxResults` or your spending limit is reported again on the next run.  Each history holds up to 150,000 variants, and past that the variants remembered longest ago are forgotten.  To start a store over, delete its record from that store or use a new **Monitor name**.

Removed variants are reported only when the whole catalog was read, so a store cut short by **Max products per store** or a failed page never reports false removals.  A store that suddenly lists no products is counted as failed, not as every variant removed.  Two links that lead to the same store, such as `shop.ugmonk.com` and `ugmonk.com`, are checked and charged once.

### Pricing

This Actor uses pay-per-event pricing.

- **Product change:** $3.00 per 1,000 change records delivered to your dataset ($0.003 each).
- **Actor start:** Apify's standard start event ($0.00005).
- Checking a store that has not changed costs nothing beyond the start event.  The summary, the note row, and a quiet first run are free.

Watching 10 stores daily that see 20 changes a day between them costs about $1.80 a month.  The first run of a store with 1,000 variants costs $3.00 when **Report every variant on the first run** is on, or nothing when it is off.  You can cap any run with Apify's maximum charge setting.  The Actor stops cleanly at your limit, and you are only charged for changes that actually reach your dataset.

#### Estimated compute cost

Default memory is 512 MB, and a run usually needs under 100 MB.  Each store is read at one request a second, 250 products a request, so a store with 2,000 products takes about 10 seconds and five stores are read at once.  Compute stays well under a cent for a typical run.

### Data sources and freshness

Every price and stock value is read live from the store's own public `/products.json` and `/meta.json` at run time, so the data is as fresh as the storefront.  Stock is the storefront's own in-stock flag; Shopify does not publish exact inventory counts.  Password-protected stores, stores that turned off the public product list, and sites that are not on Shopify are listed in `MONITOR_SUMMARY` with the reason.

### Is it legal to use this data?

The Actor reads product names, prices, and stock that stores publish on their public storefronts for anyone to view, through the same public product list their own pages use, without logging in.  It honors each store's robots.txt and reads slowly.  Product and price information is business data, not personal data.  The data is provided as is, without any guarantee that it is complete, current, or accurate.  This Actor is an independent tool and is not affiliated with or endorsed by Shopify or any store it reads.  You are responsible for how you use the results and for following any terms that apply to you.

### API and integrations

You can start this Actor and read its results with the [Apify API](https://docs.apify.com/api/v2), the Apify Python and JavaScript clients, or the Apify CLI.  The API returns each run's dataset in the same formats as the Console.

Apify integrations can pass results on when a run finishes, for example to Google Sheets, Slack, Zapier, Make, or your own webhook.  Set them up on the Actor's **Integrations** tab, and pair them with a schedule for hands-off price and restock alerts.

### FAQ

**How do I know a site is a Shopify store?**  Add it and run.  A site that is not on Shopify, or that hides its product list, fails with a clear reason in `MONITOR_SUMMARY` and costs nothing.

**Why did the first run return the whole catalog?**  The first run has nothing to compare with, so every variant is new.  Turn off **Report every variant on the first run** to save the starting prices for free and get only real changes from then on.

**Can I watch one product instead of a whole store?**  The Actor reads whole stores, which is what makes new and removed products visible.  Filter the rows by `productUrl` or `sku` in your integration, or pick only the change types you need.

**Does a small price move get lost when I set a threshold?**  No.  Moves are measured from the last reported price, so several small cuts add up until together they pass your threshold.

**Does it see discount codes or cart prices?**  No.  It reads the listed storefront price and the crossed-out compare-at price.

### Related Actors

- [CPSC Recall Monitor: US Product Safety Recalls](https://apify.com/maniginam/cpsc-recall-monitor): Track US Consumer Product Safety Commission recalls by keyword, brand, retailer, or product type, including new or updated recalls.
- [DTC Price and Stock Monitor: Any Brand Site](https://apify.com/maniginam/dtc-price-stock-monitor): Track prices and stock on direct-to-consumer brand sites, and report drops, increases, restocks, and sell-outs.
- [SaaS and AI Pricing Page Monitor: Price Alerts](https://apify.com/maniginam/saas-pricing-page-monitor): Watch SaaS and AI tool pricing pages for dollar amounts that were added or removed since the last check.
- [News & Brand Mention Monitor (RSS & Atom Feeds)](https://apify.com/maniginam/news-brand-mention-monitor): Find news mentions of a brand or keyword in the publisher RSS and Atom feeds you choose.
- [AI Brand Visibility: ChatGPT, Perplexity, Gemini](https://apify.com/maniginam/ai-brand-visibility-tracker): Ask ChatGPT, Perplexity, Gemini, and Claude your buyers' questions and see whether your brand is named, in what position, and which sources are cited.

Browse the full ManiGinaM catalog at [apify.com/maniginam](https://apify.com/maniginam).

### Feedback and custom requests

Found a bug or a store the Actor cannot read?  Open an issue on the Actor's Issues tab and it will be looked at quickly.  For a custom request, such as another store platform or a tailored export, describe it on the Issues tab as well.

# Changelog

This Actor's version history is a separate document: https://apify.com/maniginam/shopify-price-stock-monitor/changelog.md

# Actor input Schema

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

One store per line, as a link or a domain, for example https://shop.ugmonk.com, allbirds.com, or mystore.myshopify.com.  Any page of the store works, since only its domain is used.

## `changeTypes` (type: `array`):

Which kinds of change become rows.  Changes you leave out are still remembered, so they never pile up.  Leave empty for every kind.

## `minPriceChangePercent` (type: `number`):

Report a price change only when it moves at least this many percent from the last reported price, for example 5.  Smaller moves add up until they pass it.  0 reports every change.

## `reportFirstRun` (type: `boolean`):

On: the first run of a store returns every variant as new, which gives you the full catalog with prices.  Off: the first run saves prices and stock quietly, free of charge, and only later runs return rows.

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

Keeps a separate history for each name, so two schedules watching the same store with different settings do not affect each other.  Leave empty to use the default history.

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

Stop reading a store after this many products.  A store that is cut short reports no removed products that run, since the rest were not read.

## `maxResults` (type: `integer`):

Stop after this many change records in one run.  Changes left over are reported by the next run.

## Actor input object example

```json
{
  "stores": [
    "https://shop.ugmonk.com"
  ],
  "minPriceChangePercent": 0,
  "reportFirstRun": true,
  "maxProductsPerStore": 5000,
  "maxResults": 50
}
```

# Actor output Schema

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

No description

## `monitorSummary` (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://shop.ugmonk.com"
    ],
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("maniginam/shopify-price-stock-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://shop.ugmonk.com"],
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("maniginam/shopify-price-stock-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://shop.ugmonk.com"
  ],
  "maxResults": 50
}' |
apify call maniginam/shopify-price-stock-monitor --silent --output-dataset

```

## MCP server setup

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