# Competitor Offer Page Monitor (`junipr/competitor-offer-page-monitor`) Actor

Track competitor offer/landing/pricing pages for headline, positioning, promo, guarantee, free trial, discount, lead magnet, and CTA changes

- **URL**: https://apify.com/junipr/competitor-offer-page-monitor.md
- **Developed by:** [junipr](https://apify.com/junipr) (community)
- **Categories:** Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.50 / 1,000 offer page checkeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Competitor Offer Page Monitor

Track competitor offer/landing/pricing pages for headline, positioning, promo, guarantee, free trial, discount, lead magnet, and CTA changes.

### What it does

Extracts and compares competitor headlines, CTAs, promotions, discounts, guarantees, trial signals, and offer types.

The actor emits one normalized offer comparison row per checked competitor page. Dataset and report output is produced only after every applicable PPE charge is accepted.

### Common uses

- Monitor competitor offers
- Track free trial and discount changes
- Compare landing page CTAs
- Export competitor promotion alerts
- Build sales enablement offer watchlist

### Input

Supply public HTTP(S) URLs or deterministic `htmlInputs`. URL fetching rejects localhost and private-network destinations; `allowedDomains` can narrow access further.

- `startUrls`
- `sitemapUrls`
- `htmlInputs`
- `allowedDomains`
- `maxPages`
- `maxDepth`
- `includeEvidence`
- `includeRawSnapshots`
- `requestDelayMs`
- `timeoutMs`
- `userAgentMode`
- `competitorOfferUrls`
- `baselineSnapshots`
- `fetchCurrent`
- `offerPatterns`
- `ctaPatterns`
- `promoTerms`
- `changeSensitivity`
- `maxCompetitors`
- `maxOfferPages`
- `maxSnapshots`
- `maxChanges`
- `maxChargeUsd`
- `includeReport`

The caps in `maxCompetitors, maxOfferPages, maxSnapshots, maxChanges, timeoutMs` and `maxChargeUsd` are enforced. A zero charge cap is a hard zero budget.

### Output

- `sourceUrl`
- `sourceType`
- `pageTitle`
- `recordType`
- `recordName`
- `issueCode`
- `severity`
- `evidenceSnippet`
- `recommendation`
- `canonicalUrl`
- `httpStatus`
- `scannedAt`
- `competitorUrl`
- `offerType`
- `headline`
- `ctaText`
- `promoText`
- `priceOrDiscountText`
- `guaranteeText`
- `trialSignal`
- `changedField`
- `changePriority`

Reports:

- `competitor-offer-page-monitor-summary-report.md`
- `competitor-offer-page-monitor-records.csv`
- `competitor-offer-page-monitor-issues.json`
- `competitor-offer-page-monitor-evidence-samples.json`
- `competitor-offer-page-monitor-run-metadata.json`

### Pricing

Platform-usage pass-through is off. Locked fixed-inclusive events:

| Event | Price |
| --- | ---: |
| `actor-start` | $0.035 |
| `offer-page-checked` | $0.0115 |
| `offer-snapshot-compared` | $0.0115 |
| `offer-change-detected` | $0.0225 |
| `digest-generated` | $0.09 |
| `executive-report-generated` | $0.18 |

The actor charges `actor-start` before fetching/rendering, deduplicates page events, charges record/finding events only for corresponding output, and stops before further output on partial, limited, or over-budget charges. Screenshot events fire only when a real browser PNG exists.

### Safety and limitations

- Public pages only; no authentication, CAPTCHA bypass, access-control evasion, or private data.
- Browser waits, pages, records, changes, forms, popups, and screenshots are bounded.
- Blocked, empty, and missing-baseline cases produce diagnostics instead of invented success.
- Results describe source evidence at scan time and may change later.
- Store discounts, icons, publication, and scheduler state are separate live configuration gates.

### Local validation

```bash
pnpm --filter @junipr/competitor-offer-page-monitor build
pnpm --filter @junipr/competitor-offer-page-monitor test
pnpm --filter @junipr/competitor-offer-page-monitor smoke
```

Fixtures cover success, weak/blocked evidence, comparison, no-result, and cap behavior. Tests also prove schema equality, pricing metadata, charge guards, zero budget, reports, and charge-before-output ordering.

# Actor input Schema

## `startUrls` (type: `array`):

startUrls for Competitor Offer Page Monitor.

## `sitemapUrls` (type: `array`):

sitemapUrls for Competitor Offer Page Monitor.

## `htmlInputs` (type: `array`):

htmlInputs for Competitor Offer Page Monitor.

## `allowedDomains` (type: `array`):

allowedDomains for Competitor Offer Page Monitor.

## `maxPages` (type: `integer`):

maxPages for Competitor Offer Page Monitor.

## `maxDepth` (type: `integer`):

maxDepth for Competitor Offer Page Monitor.

## `includeEvidence` (type: `boolean`):

includeEvidence for Competitor Offer Page Monitor.

## `includeRawSnapshots` (type: `boolean`):

includeRawSnapshots for Competitor Offer Page Monitor.

## `requestDelayMs` (type: `integer`):

requestDelayMs for Competitor Offer Page Monitor.

## `timeoutMs` (type: `integer`):

timeoutMs for Competitor Offer Page Monitor.

## `userAgentMode` (type: `string`):

userAgentMode for Competitor Offer Page Monitor.

## `competitorOfferUrls` (type: `array`):

competitorOfferUrls for Competitor Offer Page Monitor.

## `baselineSnapshots` (type: `array`):

baselineSnapshots for Competitor Offer Page Monitor.

## `fetchCurrent` (type: `boolean`):

fetchCurrent for Competitor Offer Page Monitor.

## `offerPatterns` (type: `array`):

offerPatterns for Competitor Offer Page Monitor.

## `ctaPatterns` (type: `array`):

ctaPatterns for Competitor Offer Page Monitor.

## `promoTerms` (type: `array`):

promoTerms for Competitor Offer Page Monitor.

## `changeSensitivity` (type: `number`):

changeSensitivity for Competitor Offer Page Monitor.

## `maxCompetitors` (type: `integer`):

maxCompetitors for Competitor Offer Page Monitor.

## `maxOfferPages` (type: `integer`):

maxOfferPages for Competitor Offer Page Monitor.

## `maxSnapshots` (type: `integer`):

maxSnapshots for Competitor Offer Page Monitor.

## `maxChanges` (type: `integer`):

maxChanges for Competitor Offer Page Monitor.

## `maxChargeUsd` (type: `number`):

maxChargeUsd for Competitor Offer Page Monitor.

## `includeReport` (type: `boolean`):

includeReport for Competitor Offer Page Monitor.

## Actor input object example

```json
{
  "startUrls": [],
  "sitemapUrls": [],
  "htmlInputs": [
    {
      "sourceUrl": "https://rival.example/pricing",
      "previousHtml": "<title>Rival</title><h1>Starter</h1><a href='/buy'>Buy now</a><p>$49</p>",
      "html": "<title>Rival</title><h1>Pro free trial</h1><a href='/trial'>Start free trial</a><p>Save 20% with money back guarantee</p>"
    }
  ],
  "allowedDomains": [],
  "maxPages": 5,
  "maxDepth": 5,
  "includeEvidence": false,
  "includeRawSnapshots": false,
  "requestDelayMs": 5,
  "timeoutMs": 5,
  "userAgentMode": "",
  "competitorOfferUrls": [],
  "baselineSnapshots": [],
  "fetchCurrent": false,
  "offerPatterns": [],
  "ctaPatterns": [],
  "promoTerms": [],
  "changeSensitivity": 0.5,
  "maxCompetitors": 5,
  "maxOfferPages": 3,
  "maxSnapshots": 5,
  "maxChanges": 10,
  "maxChargeUsd": 35,
  "includeReport": true
}
```

# Actor output Schema

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

No description

## `report` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("junipr/competitor-offer-page-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("junipr/competitor-offer-page-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 '{}' |
apify call junipr/competitor-offer-page-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,junipr/competitor-offer-page-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/sAoefod6g02mbGtNW/builds/SJM2q6VUMJJgN3rzL/openapi.json
