# Price Monitor & Stock Tracker for Any Store, Changes Only (`yugenox/universal-product-price-monitor`) Actor

Track prices and stock for product URLs on any online store: Shopify, WooCommerce and any store with schema.org data. Price, sale price, currency, availability, stock level, SKU/GTIN per variant. Changes-only mode returns just price drops, rises, back-in-stock and MAP violations. No login.

- **URL**: https://apify.com/yugenox/universal-product-price-monitor.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (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 $0.80 / 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.

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

## Price Monitor & Stock Tracker for Any Store, Changes Only

Paste product links from almost any online store and get the current **price, sale / compare-at price, currency, availability, stock level, SKU, GTIN/barcode and MPN** for every variant. Schedule it daily or hourly with **Changes only** turned on and you get a clean change feed: **price drops, price rises, back in stock, out of stock, new variants and removed products**, with an optional **MAP floor** check.

Works with **Shopify** stores (every variant, with barcode and stock quantity when the store shows it), **WooCommerce** stores (every variation, low-stock count) and **any store that publishes standard product data** on its pages (schema.org Product / Offer, microdata or product price tags). That covers most independent shops, brand stores, IKEA, Adafruit and many more.

### Use cases

- **Competitor price monitoring**: watch rivals' prices on the products you also sell and react the same day.
- **MAP compliance**: give your minimum advertised prices and get every reseller listing that goes below them, with the gap in %.
- **Back-in-stock alerts**: dropshippers and resellers watching suppliers' stock.
- **Deal sites**: a daily feed of price drops across hundreds of small stores.
- **Price history**: run it on a schedule in full mode and keep every row.

### How much does it cost?

Pay per result, no subscription:

| What | Price |
|---|---|
| Product row saved (one per variant) | **$0.80 per 1,000** |
| Product URL checked in Changes only mode | **$0.20 per 1,000** |
| Run start | $0.002 |

A daily Changes-only check of **1,000 product URLs** with ~20 changes costs about **$0.22 a day** (~$6.60 a month). Stores that block automated access, URLs that are gone or pages without a readable price are **never charged**.

### Input

| Field | What it does |
|---|---|
| **Product URLs** | Product page links, one per line (up to 5,000 per run). |
| **Changes only** | Save only products that changed since the last run. The first run saves everything as `new` to set the baseline. |
| **Changes to report** | Pick which changes produce rows: price drop, price rise, back in stock, out of stock, new variant, removed. |
| **Minimum price change (%)** | Ignore tiny price moves. |
| **MAP floors** | `{"<url, SKU, GTIN or MPN>": floor}`, e.g. `{"3405": 21}`. |
| **Watch list name** | Keep separate memories for separate watch lists. |
| **Max rows** | Stop after this many rows. |

```json
{
  "productUrls": [
    "https://www.adafruit.com/product/3405",
    "https://www.allbirds.com/products/womens-wool-runner-nz-shadow-blue-natural-white-sole"
  ],
  "changesOnly": true,
  "notifyOn": ["price_drop", "back_in_stock"],
  "mapFloors": { "3405": 21 }
}
```

### Output

One row per product variant (trimmed real example, 2026-11-07):

```json
{
  "url": "https://www.allbirds.com/products/womens-wool-runner-nz-shadow-blue-natural-white-sole",
  "domain": "www.allbirds.com",
  "platform": "shopify",
  "title": "Women's Wool Runner NZ - Shadow Blue (Natural White Sole)",
  "brand": "Allbirds",
  "sku": "A12799W050",
  "gtin": "196942323809",
  "variantId": "41314103427152",
  "variantTitle": "5",
  "price": 120,
  "compareAtPrice": null,
  "onSale": false,
  "currency": "USD",
  "availability": "InStock",
  "inStock": true,
  "stockLevel": 30,
  "changeType": "new",
  "previousPrice": null,
  "changePct": null,
  "mapFloor": null,
  "belowMap": null,
  "checkedAt": "2026-11-07T21:21:11.871Z"
}
```

On later runs `changeType` is `price_drop`, `price_rise`, `back_in_stock`, `out_of_stock`, `new_variant`, `removed` or `unchanged` (unchanged rows only appear when Changes only is off), with `previousPrice`, `previousAvailability` and `changePct`.

The run's **RUN_REPORT** (key-value store) lists every store checked and every URL that gave no price, with the reason: blocked, not found, not a product page any more, no machine-readable price, or excluded by the store's robots.txt.

### Tips

- **Schedule it.** Create a task with Changes only on, then schedule it daily or hourly. Connect the dataset to email, Slack, Google Sheets or a webhook through Apify integrations to get alerts.
- **Variant links**: a Shopify URL with `?variant=<id>` watches just that variant.
- **Many URLs on one store** are checked politely one after another (about 1-2 per second), while different stores run side by side. A run with thousands of URLs on a single store takes longer than the same number spread across stores.
- **Retired products**: when a product page redirects to a category page, you get a `removed` row instead of a wrong price.

### Limits

- Large marketplaces and big-box retailers that block automated visitors (for example LEGO, Walmart, Target) are reported as **blocked** and are not charged. **Amazon store pages are not supported.**
- Stores that show prices only through JavaScript, with no product data in the page, are reported as "no machine-readable price".

### FAQ

**Is it legal to scrape online stores?**
The actor reads public product pages and public store endpoints, the same information any shopper sees, without logging in. It follows each store's robots.txt and keeps a polite request rate. Prices and stock levels are factual product data. You are responsible for how you use the data; check the rules that apply to you if in doubt.

**Does it access any private data?**
No. It reads only public product information: names, prices, stock, identifiers and images. It never logs in, never reads customer accounts, carts or review authors, and collects no personal data.

**Which stores work best?**
Shopify and WooCommerce stores give the richest rows (every variant, barcodes, stock counts). Any other store works when its product pages carry standard product data, which most modern shops do.

**What happens when a store blocks the actor?**
That store is skipped for the rest of the run, listed in RUN_REPORT as blocked, and none of its URLs are charged.

**Why did my first Changes-only run return everything?**
The first run sets the baseline: every product is saved once as `new`. From the second run on you only get changes.

# Actor input Schema

## `productUrls` (type: `array`):

Product page links from any online store (Shopify, WooCommerce and any store that publishes schema.org product data). One URL per line. Up to 5,000 per run.

## `changesOnly` (type: `boolean`):

Save only products whose price or stock changed since the last run with the same Watch list name. The first run saves every product as "new" to set the baseline. Schedule the actor daily or hourly to get a change feed.

## `notifyOn` (type: `array`):

Which changes produce a row in changes-only mode. Leave empty for all.

## `minChangePct` (type: `integer`):

Ignore price changes smaller than this percentage in changes-only mode. 0 = report every change.

## `mapFloors` (type: `object`):

Minimum advertised prices, keyed by product URL, SKU, GTIN/barcode or MPN, for example {"3405": 21}. Rows get belowMap = true and the gap in % when the store's price is under the floor.

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

Name of the memory changes-only mode compares against. Use a different name for each separate watch list you run in parallel.

## `maxItems` (type: `integer`):

Stop after saving this many rows (0 = no limit). Changes not saved because of the limit are reported on the next run.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.adafruit.com/product/3405",
    "https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/",
    "https://auntfannies.com/product/laundry-detergent/"
  ],
  "changesOnly": false,
  "notifyOn": [],
  "minChangePct": 0,
  "mapFloors": {},
  "stateKey": "default",
  "maxItems": 0
}
```

# Actor output Schema

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

Product and variant rows with price, stock and change fields.

## `run` (type: `string`):

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, stores checked, blocked stores and URLs that gave no price.

# 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 = {
    "productUrls": [
        "https://www.adafruit.com/product/3405",
        "https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/",
        "https://auntfannies.com/product/laundry-detergent/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/universal-product-price-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 = { "productUrls": [
        "https://www.adafruit.com/product/3405",
        "https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/",
        "https://auntfannies.com/product/laundry-detergent/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("yugenox/universal-product-price-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 '{
  "productUrls": [
    "https://www.adafruit.com/product/3405",
    "https://www.ikea.com/us/en/p/billy-bookcase-white-20522046/",
    "https://auntfannies.com/product/laundry-detergent/"
  ]
}' |
apify call yugenox/universal-product-price-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/universal-product-price-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/IaexnTbhgyic3kRpU/builds/NpY1Xyv443trfyg9v/openapi.json
