# Shopify Store Scraper & Price Monitor (`padmaraj1994/shopify-products-monitor`) Actor

Scrape products, prices, discounts and stock from any Shopify store or collection, and track changes between runs: new products, price changes, back in stock, out of stock and removed products. No browser, no login.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

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

Get every product from any Shopify store, including **prices, discounts, stock and variants**, and track what changes between runs: **new products, price changes, back in stock, out of stock and removed products**. Use it for competitor price monitoring, restock alerts, product research and catalog exports. No browser, no login, and about 1,500 products in 5 seconds.

### Why use this Shopify scraper?

- **Change tracking built in.** Turn on **Only changes since the last run**, schedule it daily, and get just the price drops, restocks, new arrivals and removals. You pay only for the changes.
- **Silent baseline.** Optionally record the first run without output, so you never pay for a full catalog you don't need.
- **Sale detection.** `onSale`, `compareAtPrice` and `discountPercent` for every product, plus per-variant prices.
- **Whole store or one collection.** Paste `allbirds.com` for everything, or a collection URL like `/collections/sale`.
- **Fast and light.** It reads Shopify's public product feed directly: 250 products per request, no browser.

### What data does it extract?

| Field | Description |
| --- | --- |
| `title`, `handle`, `url` | Product name and link |
| `price`, `maxPrice` | Lowest and highest variant price |
| `compareAtPrice`, `onSale`, `discountPercent` | Original price and discount when on sale |
| `currency` | Store currency, e.g. `USD` |
| `available`, `availableVariantsCount`, `variantsCount` | Stock status |
| `variants` | Every variant: `variantId`, `title`, `sku`, `price`, `compareAtPrice`, `available`, `option1`–`option3` |
| `vendor`, `productType`, `tags`, `options` | Catalog details |
| `image`, `images`, `description` | Media and plain-text description |
| `createdAt`, `updatedAt`, `publishedAt` | Product dates |
| `changeType` | With change tracking: `new`, `price_changed`, `back_in_stock`, `out_of_stock`, `variants_changed` or `removed` |
| `previousPrice`, `previousMaxPrice`, `previousAvailable` | Values before the change |
| `store`, `storeName` | Store domain and name |

A **SUMMARY** record in the run's key-value store lists every store with its product count, changes and any error.

#### Input example

```json
{
    "stores": ["allbirds.com", "https://www.allbirds.com/collections/mens"],
    "trackChanges": true,
    "emitAllOnFirstRun": false
}
```

#### Output example (change tracking, shortened)

```json
{
    "store": "allbirds.com",
    "storeName": "Allbirds",
    "title": "Women's Wool Runner NZ - Shadow Blue (Natural White Sole)",
    "url": "https://www.allbirds.com/products/womens-wool-runner-nz-shadow-blue-natural-white-sole",
    "price": 120,
    "currency": "USD",
    "available": true,
    "changeType": "back_in_stock",
    "previousPrice": 120,
    "previousAvailable": false
}
```

### How to set up price and stock alerts

1. Add the stores or collections and turn on **Only changes since the last run**.
2. Optionally turn off **Return all products on the first run** for a free, silent baseline.
3. Save the input as a task and add a **Schedule** (for example every morning).
4. Connect an integration to get the changes where you work: Slack, email, Google Sheets, Zapier, Make, n8n or a webhook.

### How much does it cost?

You pay per product record saved, shown on the **Pricing** tab. With change tracking, only changed products are saved, so a quiet day costs almost nothing. Set a **maximum cost per run** in the run options to cap your spend.

### FAQ

**Which stores work?** Stores that run on Shopify's standard storefront, which is most Shopify stores. A few large brands use a fully custom (headless) storefront or password protection that hides the product feed; the SUMMARY record says so for those. Try the bare domain (`brand.com`) as well as `www.brand.com`.

**How many products can I get?** Up to 20,000 per store or collection per run.

**When is a product "removed"?** When it was in the previous run but isn't in the store's feed anymore. Removals are only reported when the whole catalog was loaded, so a capped run never reports false removals.

### Need help?

Open an issue on the **Issues** tab with the store you tried, and it will be looked at quickly.

# Actor input Schema

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

One per line: a store domain (allbirds.com), a store URL, or a collection URL (https://www.allbirds.com/collections/mens) to get only that collection.

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

Stop after this many products per store or collection.

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

Add every variant (size, color...) with its own price, compare-at price, SKU and stock status.

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

Return only products that are new, changed price, came back in stock, went out of stock, changed variants, or were removed since the previous run for the same store. Schedule the Actor (e.g. daily) for price and stock alerts.

## `emitAllOnFirstRun` (type: `boolean`):

With change tracking on, the first run sees every product as new. Turn this off to record a silent baseline on the first run and only pay for real changes afterwards.

## `monitoringId` (type: `string`):

Optional name that keeps the saved product state separate for different schedules that track the same store.

## `maxConcurrency` (type: `integer`):

How many stores to check at the same time.

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

Usually not needed. Turn on Apify Proxy if a store rate-limits the requests.

## Actor input object example

```json
{
  "stores": [
    "allbirds.com",
    "https://www.allbirds.com/collections/mens"
  ],
  "maxProductsPerStore": 1000,
  "includeVariants": true,
  "trackChanges": false,
  "emitAllOnFirstRun": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (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": [
        "allbirds.com"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("padmaraj1994/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 = {
    "stores": ["allbirds.com"],
    "proxyConfiguration": { "useApifyProxy": False },
}

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

```

## MCP server setup

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