# DTC Price and Stock Monitor: Any Brand Site (`maniginam/dtc-price-stock-monitor`) Actor

Track prices and stock on direct-to-consumer brand sites, Shopify or not.  Paste product pages for mattresses, standing desks, office chairs, or anything else.  Reads schema.org data and Shopify product JSON, then reports price drops, increases, restocks, and sell-outs.

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

## Pricing

from $4.25 / 1,000 variant price records

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 prices and stock on direct-to-consumer brand sites, whether they run on Shopify or not.  Paste product pages for mattresses, standing desks, office chairs, or anything else, and get every variant's price and stock with what changed since the last run.

### What does it do?

DTC Price and Stock Monitor reads each product page you list and returns one row per variant with its price, currency, stock, and what changed since the previous run: `new`, `price_drop`, `price_increase`, `back_in_stock`, `sold_out`, or `unchanged`.

- Works on Shopify stores through Shopify's public product JSON, which lists every size and color with its stock.
- Works on other platforms, such as Salesforce Commerce, BigCommerce, WooCommerce, and custom sites, through the schema.org product data most brand sites publish for search engines.
- Falls back to the page's Open Graph price tags when there is nothing richer.
- Respects robots.txt, reads each site at most once a second, and never needs a login, API key, or browser.

### Who is it for?

- Shoppers and deal sites waiting for a mattress, standing desk, or office chair to go on sale.
- DTC brands tracking competitors' prices, promotions, and stock-outs.
- Retail and e-commerce analysts building price histories across brands.
- Affiliate publishers who need current prices for product comparison pages.

### How to use

1. Open the Actor and go to the **Input** tab.
2. Paste product page links into **Product pages**, one per line.
3. Leave **Only report changes** off for the first run, so you get every variant.
4. Click **Start** and open the **Output** tab when the run finishes.
5. Save the input as a task and add a daily schedule.
6. Turn on **Only report changes** in the task, and connect Slack or email from the **Integrations** tab for alerts.

### Input

| Field | Type | What it does |
| --- | --- | --- |
| `productUrls` | list of links | Product pages to watch, one per line, up to 500. |
| `onlyChanges` | true or false | Deliver only variants that are new or whose price or stock changed.  Off delivers every variant with its change label. |
| `monitorName` | text | Optional name that keeps one watch list's price history apart from another. |
| `maxResults` | number | Most variant records to deliver in one run.  Default 1,000. |
| `maxRunSeconds` | number | Stop reading after this many seconds and keep every record already delivered.  Default 110. |

A daily mattress sale watch:

```json
{
  "productUrls": [
    "https://www.saatva.com/mattresses/saatva-classic",
    "https://www.nectarsleep.com/mattress/"
  ],
  "onlyChanges": true,
  "monitorName": "mattresses"
}
```

### Output

Each variant is one row.  The **Prices** view shows the product, variant, price, previous price, change, stock, and link.  This sample is a real record, shortened:

```json
{
  "productUrl": "https://www.saatva.com/mattresses/saatva-classic",
  "store": "www.saatva.com",
  "platform": "schema.org",
  "productName": "Saatva Classic Mattress",
  "brand": "Saatva",
  "variantName": "Lowest price",
  "sku": null,
  "price": 1449.0,
  "currency": "USD",
  "available": true,
  "changes": ["price_drop"],
  "previousPrice": 1599.0,
  "priceChangePercent": -9.38,
  "previouslyAvailable": true,
  "imageUrl": "https://saatva.imgix.net/products/saatva-classic/lifestyle/standard/11.5/saatva-classic-lifestyle-standard-11.5-16-9.jpg",
  "checkedAt": "2026-11-13T16:00:00Z"
}
```

Some sites publish one from-price instead of a price per size, shown as the `Lowest price` variant.  The `RUN_SUMMARY` record lists every page that could not be read and why.

### Price history

The Actor keeps each variant's last delivered price and stock in a named key-value store, `dtc-price-stock-monitor`, with one history per monitor name.  The first run reports every variant as `new`.  Later runs compare against it, so keep the same monitor name for the same watch list.

### Pricing

You pay per variant record delivered, plus a tiny start fee per run.  See the **Pricing** tab for the current price.  With **Only report changes** on, unchanged variants are skipped and never charged, so a daily watch of a dozen products usually costs cents a month.

### Data sources and freshness

Prices come straight from each brand's own site on every run.  Shopify stores are read from their public product JSON.  Other sites are read from the schema.org Product and Offer data in the page, the same data search engines show.  Some sites block automated readers or draw prices with JavaScript only; those pages fail with a clear reason in `RUN_SUMMARY` and are never charged.

### Is it legal to use this data?

The Actor reads only public product pages that robots.txt allows, at a polite pace, and collects prices and stock, not personal data.  Check each site's terms for your use, especially if you republish prices.

### API and integrations

Run the Actor and fetch its results with the [Apify API](https://docs.apify.com/api/v2), the Apify Python or JavaScript client, or the Apify CLI.  Send price drops to Slack, email, Google Sheets, Zapier, Make, or a webhook from the **Integrations** tab.

### FAQ

**Why did a page fail?**  The site blocked the read, robots.txt disallows it, or the page draws its price only with JavaScript.  `RUN_SUMMARY` gives the reason for each page.

**Does it need the product to be on Shopify?**  No.  Shopify pages get every variant with stock, and most other brand sites work through their schema.org data.

**Can it watch a whole store?**  It watches the pages you list.  For every product of a Shopify store, use the Shopify Price and Stock Monitor below.

### 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.
- [Shopify Price and Stock Monitor: Drops, Restocks](https://apify.com/maniginam/shopify-price-stock-monitor): Watch any Shopify store for price drops, restocks, sell-outs, and new or removed products.
- [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 want a site supported?  Open the Issues tab on this Actor's page.  For a custom request, such as a site that needs a browser, write there too.

# Changelog

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

# Actor input Schema

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

Product page links on brand sites, one per line, for example https://www.saatva.com/mattresses/saatva-classic.  Shopify stores, Salesforce Commerce, BigCommerce, WooCommerce, and custom sites all work when the page publishes its price.

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

Deliver only variants that are new or whose price or stock changed since the last run.  Off delivers every variant on every run, each labeled with what changed.

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

Optional name for this monitor's price history.  Use different names to keep separate watch lists apart.

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

Stop after delivering this many variant records.  Each delivered record is one charged event.

## `maxRunSeconds` (type: `integer`):

Stop reading pages after this many seconds and keep every record already delivered.  Each site is read at most once a second, so allow about two seconds per page.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.saatva.com/mattresses/saatva-classic",
    "https://www.nectarsleep.com/mattress/",
    "https://www.autonomous.ai/standing-desks/smartdesk-2-home"
  ],
  "onlyChanges": false,
  "monitorName": "",
  "maxResults": 50,
  "maxRunSeconds": 110
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "productUrls": [
        "https://www.saatva.com/mattresses/saatva-classic",
        "https://www.nectarsleep.com/mattress/",
        "https://www.autonomous.ai/standing-desks/smartdesk-2-home"
    ],
    "maxResults": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("maniginam/dtc-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.saatva.com/mattresses/saatva-classic",
        "https://www.nectarsleep.com/mattress/",
        "https://www.autonomous.ai/standing-desks/smartdesk-2-home",
    ],
    "maxResults": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("maniginam/dtc-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.saatva.com/mattresses/saatva-classic",
    "https://www.nectarsleep.com/mattress/",
    "https://www.autonomous.ai/standing-desks/smartdesk-2-home"
  ],
  "maxResults": 50
}' |
apify call maniginam/dtc-price-stock-monitor --silent --output-dataset

```

## MCP server setup

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