# Shopify Store Monitor | Prices, Stock & New Products (`joaocamargo/shopify-store-monitor`) Actor

Track products, prices and stock across many Shopify stores. Catalogue mode exports every variant; monitor mode delivers only changes: price drops, new products, back in stock and sold out.

- **URL**: https://apify.com/joaocamargo/shopify-store-monitor.md
- **Developed by:** [Joao Pedro Camargo](https://apify.com/joaocamargo) (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.70 / 1,000 product rows

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 Store Monitor (Prices, Stock & New Products)

Track **products, prices and stock across many Shopify stores** at once. Two modes:

- **Catalogue mode:** export every product variant of each store with price, compare-at price, discount %, stock status, SKU, vendor, type, tags, image and link.
- **Monitor mode:** schedule it daily or hourly and receive **only what changed**: new products and variants, price drops, price increases, back in stock, sold out and removed products.

Built for **e-commerce brands watching competitors, resellers and deal hunters, market researchers and agencies** reporting on client categories.

### Quick start

1. Add store domains in **Shopify stores**, one per line (e.g. `www.allbirds.com`).
2. Run in catalogue mode to see everything, or turn on **Monitor mode** and schedule the Actor.
3. Filter by keywords, product type, vendor, price range, stock or discount if needed.

### Output (catalogue mode)

```json
{
  "storeDomain": "www.allbirds.com",
  "storeName": "Allbirds",
  "currency": "USD",
  "productId": "7235869147216",
  "variantId": "41397085732944",
  "productTitle": "Men's Cruiser Terry - Warm White (Warm White Sole)",
  "variantTitle": "8",
  "vendor": "Allbirds",
  "productType": "Shoes",
  "sku": "...",
  "price": 75,
  "compareAtPrice": 110,
  "discountPercent": 32,
  "available": true,
  "productUrl": "https://www.allbirds.com/products/mens-cruiser-terry?variant=41397085732944",
  "imageUrl": "https://cdn.shopify.com/...",
  "publishedAt": "2026-07-30T09:00:00-07:00"
}
```

### Output (monitor mode)

Each row is one change, with `changeType` (`new_product`, `new_variant`, `price_drop`, `price_increase`, `back_in_stock`, `out_of_stock`, `removed`), `previousPrice`, `price`, `previousAvailable`, `available` and `detectedAt`.

The **first run saves a baseline** and delivers no rows. Changes start from the second run. Use a different **Monitor name** for each list of stores.

### Pricing

Pay per result: a small fixed amount per row delivered plus the standard Actor start fee. In monitor mode you only pay for changes, so a daily check of a stable store usually costs very little. Cap any run with *Maximum cost per run*.

### How it works and limits

- Reads the **public product catalogue** that Shopify stores publish for browsers and apps (`/products.json`). No login, no checkout pages, no customer data.
- **Respects robots.txt**: stores that disallow the catalogue are skipped and listed in `RUN_STATS.storeErrors`. Stores that block public access (HTTP 403) are skipped too; we never try to get around that.
- Requests are paced per store to stay polite.
- Stock is the yes/no availability Shopify shows to shoppers; exact quantities are not public.

**Questions?** Open an issue on the *Issues* tab; we usually reply within one business day.

# Actor input Schema

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

One store per line: domain or any URL of the store (www.allbirds.com, https://shop.example.com/collections/all). Works with Shopify stores that publish their public catalogue.

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

First run saves a baseline (no rows). Each later run delivers only what changed: new products and variants, price drops and increases, back in stock, sold out, removed. Schedule it daily or hourly.

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

Monitor mode only. Leave empty for all.

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

Separate baseline per monitor, so you can track different store lists.

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

Keeps products whose title, variant, type, vendor or tags contain ANY of these terms.

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

Exact Shopify product types, e.g. Shoes, Bundle.

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

Exact vendor names, useful for multi-brand stores.

## `minPrice` (type: `number`):

In the store currency.

## `maxPrice` (type: `number`):

In the store currency.

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

Drops sold-out variants (sold-out and removed changes are still reported in monitor mode).

## `onlyDiscounted` (type: `boolean`):

Keeps variants with a compare-at price higher than the price.

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

Adds the plain-text product description (first 3,000 characters).

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

Products (not variants) read per store.

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

Stop after this many rows in total. You pay per row delivered.

## Actor input object example

```json
{
  "stores": [
    "www.allbirds.com"
  ],
  "onlyChanges": false,
  "monitorId": "default",
  "onlyAvailable": false,
  "onlyDiscounted": false,
  "includeDescription": false,
  "maxProductsPerStore": 5000,
  "maxResults": 100
}
```

# Actor output Schema

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

One row per variant with price, discount and stock.

## `changes` (type: `string`):

Monitor mode: price drops, new products, stock changes and removals.

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

Every field, including tags, SKU and dates.

## `stats` (type: `string`):

Stores read, errors, baselines and change counts.

# 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": [
        "www.allbirds.com"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("joaocamargo/shopify-store-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": ["www.allbirds.com"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("joaocamargo/shopify-store-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": [
    "www.allbirds.com"
  ],
  "maxResults": 100
}' |
apify call joaocamargo/shopify-store-monitor --silent --output-dataset

```

## MCP server setup

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