# Price & Stock Monitor for Any Online Shop (`tindacloud/price-stock-monitor`) Actor

Price change monitor and stock tracker for any online shop, including Shopify price monitoring. Reads the product data shops publish, and returns only what changed since the last run.

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

## Pricing

from $2.00 / 1,000 products

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 & Stock Monitor for Any Online Shop

A **price change monitor** for any online shop, Shopify price monitoring included. Paste product URLs and get price and stock — no per-site scraper, no selectors to maintain.

Most shops publish their product data for Google in the page itself. This Actor reads that first (instant, cheap), falls back to the shop platform's own product API, and only opens a browser when a shop insists on drawing the price with JavaScript.

### How this prices and stock monitor reads a page

1. **schema.org JSON-LD** — what shops publish for Google Shopping
2. **Open Graph / microdata** — `product:price:amount` and friends
3. **Shopify / WooCommerce product API** — exact price, stock and variants
4. **Rendered page** — last resort, for JavaScript-only storefronts

The result tells you which path was used, in `priceSource`.

### Monitoring is the point

Turn on `onlyChanged` and the Actor remembers each product. The next run returns **only what moved**, with `previousPrice`, `priceChange` and `priceChangePercent`. `onlyPriceDrops` narrows it to drops.

Run it daily against your competitors' products and you pay for the handful that changed, not the whole list.

### How to monitor prices and stock

| Field | What it does |
|---|---|
| `productUrls` | Product pages from any shop |
| `onlyChanged` / `onlyPriceDrops` | Monitoring modes |
| `onlyInStock`, `maxPrice` | Filters |
| `renderJavaScript` | Browser fallback (on by default) |

### What the price output looks like

```json
{
  "url": "https://allbirds.com/products/womens-dasher-nz-blizzard-deep-navy",
  "parsed": true,
  "shop": "allbirds.com",
  "title": "Women's Dasher NZ",
  "price": 140,
  "currency": "USD",
  "inStock": true,
  "brand": "Allbirds",
  "sku": "WOMENS_DASHER_NZ",
  "gtin": null,
  "rating": null,
  "reviewCount": null,
  "seller": null,
  "imageUrl": "https://www.allbirds.com/cdn/shop/files/A12464_26Q1_Dasher-NZ-Blizzard-Deep-Navy-Blizzard_PDP_LEFT_e38509e9-51da-49a3-a794-53de6797a109.png?v=1768948779&width=100",
  "priceSource": "json-ld",
  "availabilityRaw": "https://schema.org/InStock",
  "changeType": "new",
  "checkedAt": "2026-09-21T11:05:14.671Z"
}
```

### Limits you should know about

- Give it **product** pages, not category pages — a listing page has no single price.
- Pages where no price can be found are reported and **not charged**.
- Some large retailers block automated visits entirely; those are reported too.

### Ready-made examples

Open one, change the fields, press Start — nothing to configure:

- [Price change monitor for any shop](https://apify.com/tindacloud/price-stock-monitor/examples/price-change-monitor-for-any-shop)
- [Get alerted when a product is back in stock](https://apify.com/tindacloud/price-stock-monitor/examples/get-alerted-when-a-product-is-back-in-stock)
- [Shopify price monitor](https://apify.com/tindacloud/price-stock-monitor/examples/shopify-price-monitor)
- [Watch for price drops on a wishlist](https://apify.com/tindacloud/price-stock-monitor/examples/watch-for-price-drops-on-a-wishlist)

### Frequently asked questions

#### Do I need an API key or a login?

No. Paste your input, press Start. There is nothing to connect and no account on the target site to create.

#### How do I export the results?

Every run produces a dataset you can download as JSON, CSV, Excel, XML or HTML, or read through the Apify API from your own code. You can also connect it to Make, Zapier or n8n.

#### Can I run this on a schedule?

Yes. Apify schedules run it every hour, day or week without you being there. With the monitoring option on, a scheduled run returns only the products whose price or stock changed.

#### Can I call it from Python or JavaScript?

Yes — the Apify API runs any Actor and returns the dataset, and the official Python and JavaScript clients wrap it in a few lines. AI agents can call it too, through Apify's MCP server.

#### What does it cost?

You pay per result, not per hour. Filters are applied before anything is charged, so narrowing the input directly lowers the bill. Pages that cannot be read are reported in the log and never charged.

#### Is this data public?

Everything collected here is what any online shop shows to anyone without logging in. Check the target site's terms and the rules that apply to you before using the data commercially.

### Related scrapers

- [Shopify Store Products Scraper](https://apify.com/tindacloud/shopify-products-scraper) — a whole catalogue at once
- [AliExpress Product Search Scraper](https://apify.com/tindacloud/aliexpress-products-scraper) — search with order counts
- [Website Change Monitor](https://apify.com/tindacloud/website-change-monitor) — watch any page, not just products

# Actor input Schema

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

Product pages from any online shop. No per-shop setup — the Actor reads the structured data shops publish for Google.

## `renderJavaScript` (type: `boolean`):

Most shops publish their price in the page source and are read instantly. When one does not, the Actor opens it in a browser instead. Turn this off to stay HTTP-only.

## `onlyChanged` (type: `boolean`):

Monitoring mode. Returns a row only when the price or stock differs from the previous run, with the old value attached.

## `onlyPriceDrops` (type: `boolean`):

Like the above, but only when the price went down.

## `onlyInStock` (type: `boolean`):

Skip products that are sold out.

## `maxPrice` (type: `integer`):

Skip anything above this price.

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

Total limit.

## `proxy` (type: `object`):

Apify Proxy is used as a fallback when a shop blocks a direct request.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.gymshark.com/products/gymshark-everyday-holdall-black-aw22",
    "https://allbirds.com/products/mens-wool-runners"
  ],
  "renderJavaScript": true,
  "onlyChanged": false,
  "onlyPriceDrops": false,
  "onlyInStock": false,
  "maxResults": 1000,
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All results in a table view.

# 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.gymshark.com/products/gymshark-everyday-holdall-black-aw22",
        "https://allbirds.com/products/mens-wool-runners"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("tindacloud/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 = { "productUrls": [
        "https://www.gymshark.com/products/gymshark-everyday-holdall-black-aw22",
        "https://allbirds.com/products/mens-wool-runners",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("tindacloud/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 '{
  "productUrls": [
    "https://www.gymshark.com/products/gymshark-everyday-holdall-black-aw22",
    "https://allbirds.com/products/mens-wool-runners"
  ]
}' |
apify call tindacloud/price-stock-monitor --silent --output-dataset

```

## MCP server setup

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