# Competitor Monitor - New Pages, Price & Page Changes, Alerts (`radarweb/competitor-monitor-changes-prices`) Actor

Watch competitors automatically: new and removed pages from their sitemaps, text and price changes on key pages, visual diffs, and a branded weekly digest by email, Slack, Discord or Telegram. Schedule it and only hear about what changed.

- **URL**: https://apify.com/radarweb/competitor-monitor-changes-prices.md
- **Developed by:** [Riccardo Bonadio](https://apify.com/radarweb) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 page watcheds

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

## Competitor Monitor: new pages, price and page changes, alerts

**Know what your competitors change, without checking their sites.** Schedule it weekly or daily and get a short digest with:

- 🆕 **New pages**: new products, articles, landing pages, read from each competitor's sitemap.
- 🗑️ **Removed pages**: discontinued products and deleted offers.
- 💰 **Price changes** on the pages you watch, e.g. "Pro plan €29 → €39", detected in the text automatically.
- 🎯 **Exact values** you choose with a CSS selector (a price, a stock label, a headline).
- ✍️ **Text changes**: added and removed lines on pricing pages, homepages, product pages.
- 👀 **Visual diff**: screenshot of each watched page, with the changed areas highlighted in red.

Alerts go by **email** (the full report in the body), **Slack**, **Discord** or **Telegram**, only when something changed.

### How it works

1. Add **competitor websites** (just the domain) and the **pages to watch closely** (pricing, homepage, key products).
2. Run it once: this saves the baseline.
3. **Schedule it** (Schedules → weekly). Each run compares with the previous one and reports only the differences.

Use a different **project name** for each client or market, so their histories stay separate.

### For agencies

Add your **logo, company name and brand colour**, and turn on **white label**: the digest becomes a ready-made "competitor watch" service you can sell to clients monthly.

### Output

- **REPORT**: the HTML digest (link in the log and in the alert).
- **Dataset**: one row per new page, removed page and watched page, with `changed`, `priceChanges`, `elementChanges`, `visualChangePercent`, and links to the current, previous and diff images.

### Pricing

| Item | Price per run |
|---|---|
| Website checked for new/removed pages | $0.05 |
| Page watched (text, prices, visual) | $0.03 |

Example: 5 competitors and 10 key pages checked weekly cost about **$2.20 a month**.

### Notes

Only public pages are read, and nothing is clicked or submitted. Common cookie banners are hidden with CSS; add selectors for other popups. Pages behind a login are not supported.

# Actor input Schema

## `websites` (type: `array`):

Domains to watch for NEW and REMOVED pages (products, articles, landing pages), read from their sitemaps.

## `pagesToWatch` (type: `array`):

Specific pages (pricing, homepage, a product): every run reports text changes, price changes and a visual diff.

## `watchElements` (type: `array`):

Track one value precisely, e.g. \[{"url": "https://site.com/pricing", "selector": ".pro .price", "label": "Pro price"}].

## `visualChangeThreshold` (type: `number`):

A page counts as changed visually above this share of the page (text and price changes are always reported).

## `hideSelectors` (type: `array`):

Popups, chat widgets or rotating banners to ignore. Common cookie banners are hidden automatically.

## `memoryName` (type: `string`):

Keeps the history of this project separate from others (stored in your key-value store 'competitor-memory').

## `notifyOnlyOnChanges` (type: `boolean`):

The first run always sends a confirmation.

## `emailTo` (type: `array`):

The full report is sent as the email body.

## `smtpHost` (type: `string`):

E.g. smtp.gmail.com (app password), smtp-relay.brevo.com.

## `smtpPort` (type: `integer`):

587 (STARTTLS) or 465 (SSL).

## `smtpUser` (type: `string`):

Usually your email address.

## `smtpPassword` (type: `string`):

Stored encrypted.

## `emailFrom` (type: `string`):

Defaults to the SMTP user.

## `slackWebhookUrl` (type: `string`):

https://hooks.slack.com/services/…

## `discordWebhookUrl` (type: `string`):

Channel settings → Integrations → Webhooks.

## `telegramBotToken` (type: `string`):

From @BotFather.

## `telegramChatId` (type: `string`):

User, group or channel ID.

## `reportTitle` (type: `string`):

E.g. 'Weekly competitor watch - Acme'.

## `companyName` (type: `string`):

Shown in the report header.

## `logoUrl` (type: `string`):

Public URL of your logo.

## `brandColor` (type: `string`):

Hex, e.g. #0a7cff.

## `whiteLabel` (type: `boolean`):

Remove the 'Generated with' footer.

## `maxUrlsPerWebsite` (type: `integer`):

Safety limit for very large sites.

## `timeoutSecs` (type: `integer`):

Slow pages are captured as loaded so far.

## Actor input object example

```json
{
  "websites": [
    "books.toscrape.com"
  ],
  "pagesToWatch": [
    "https://books.toscrape.com/catalogue/category/books/travel_2/index.html"
  ],
  "watchElements": [],
  "visualChangeThreshold": 2,
  "hideSelectors": [],
  "memoryName": "default",
  "notifyOnlyOnChanges": true,
  "emailTo": [],
  "smtpPort": 587,
  "whiteLabel": false,
  "maxUrlsPerWebsite": 50000,
  "timeoutSecs": 45
}
```

# Actor output Schema

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

No description

## `changes` (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 = {
    "websites": [
        "books.toscrape.com"
    ],
    "pagesToWatch": [
        "https://books.toscrape.com/catalogue/category/books/travel_2/index.html"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("radarweb/competitor-monitor-changes-prices").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 = {
    "websites": ["books.toscrape.com"],
    "pagesToWatch": ["https://books.toscrape.com/catalogue/category/books/travel_2/index.html"],
}

# Run the Actor and wait for it to finish
run = client.actor("radarweb/competitor-monitor-changes-prices").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 '{
  "websites": [
    "books.toscrape.com"
  ],
  "pagesToWatch": [
    "https://books.toscrape.com/catalogue/category/books/travel_2/index.html"
  ]
}' |
apify call radarweb/competitor-monitor-changes-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,radarweb/competitor-monitor-changes-prices"
        }
    }
}
```

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/v2uISNdLoU94iRP4x/builds/UbtCGg73KqwfaXcHF/openapi.json
