# Competitor Price Monitor Poland: Shoper, IdoSell, WooCommerce (`donzely/competitor-price-monitor-pl`) Actor

Track competitor prices, sales and stock for your products in Polish online shops (Shoper, IdoSell, WooCommerce, PrestaShop). Finds your product by EAN or name, compares with your price, shows the cheapest shop, your gap and rank, and alerts on price changes. Respects robots.txt.

- **URL**: https://apify.com/donzely/competitor-price-monitor-pl.md
- **Developed by:** [Grzegorz Pryjma](https://apify.com/donzely) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 60.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.60 / 1,000 competitor price 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?

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 Price Monitor Poland (Shoper, IdoSell, WooCommerce, PrestaShop)

Track your competitors' prices and stock in Polish online shops. Give the actor your products (your price, EAN, name) and the competitor product pages or just the competitor shop domains. Every run returns each competitor's current price, sale price, availability, the cheapest competitor, how much more expensive or cheaper you are (PLN and %), your rank, and what changed since the last run.

*Monitoring cen konkurencji dla sklepów internetowych: ceny, promocje, dostępność i zmiany u konkurentów na Shoperze, IdoSellu, WooCommerce i PrestaShopie.*

### Who is it for

- **Online shop owners and e-commerce managers** who price against competitors (repricing).
- **Brands and distributors** checking resellers' prices and stock.
- **Analysts** building daily price history for a product list.

### What it does

- Reads prices from structured product data (schema.org JSON-LD, microdata) and from Shoper and IdoSell page templates. Variant products return the lowest price and the price range.
- **Finds your product in competitor shops automatically** (`competitorDomains` + `autoFind`):

  1. by **EAN** through the shop's own search, verified on the product page,
  2. by **name** against the product URLs in the shop's published sitemaps,
  3. by **name** through the shop's search.

  An EAN match is exact. Name matches get a confidence score; pack sizes must agree ("1 kg" is never matched with "500 g"). Weak matches are reported as `weak_match` and are never used as the cheapest price.
- **Compares** with your price: difference per competitor, cheapest competitor overall and cheapest in stock, your gap in PLN and %, your rank (`2 of 5`).
- **Monitors changes** between runs with the same product list: `new`, `price_down`, `price_up`, `went_out_of_stock`, `back_in_stock`, `disappeared`, with the previous price. Turn on `onlyChanges` and schedule it daily to get alerts only.

### Fair crawling (read this)

- The actor identifies itself honestly (`CompetitorPriceMonitor` user agent with a link to this page) and waits 2 s between requests to one shop.
- It **obeys each shop's robots.txt**, including rules aimed at price-monitoring bots. Many **IdoSell** shops block price bots by default, and **Shoper** and **PrestaShop** shops usually disallow their search pages. Such checks come back as `robots_disallowed` with an explanation. For Shoper and PrestaShop the actor finds products through sitemaps instead.
- Shops behind Cloudflare or other anti-bot protection come back as `blocked`. The actor never bypasses protection.
- Big chains (Media Expert, RTV Euro AGD, x-kom, Allegro…) mostly block bots, so this actor is built for small and medium shops.

### Input

| Field | Description |
|---|---|
| `products` | Your products: `{ "name", "ean", "sku", "myPrice", "competitorUrls": [] }`. All optional, but give competitor URLs, or an EAN/name together with `competitorDomains`. Plain strings work too (URL, EAN or name). |
| `productUrls` | Quick mode: just monitor these product pages. |
| `competitorDomains` | Competitor shops to search, e.g. `sklep-konkurenta.pl`. |
| `autoFind` | Search `competitorDomains` for each product (default on). |
| `myCurrency` | Your currency, default `PLN`. Other currencies are shown but not compared. |
| `onlyChanges` | Output only changes since the previous run with the same list. |
| `maxChecks` | Limit of product × shop checks per run (default 1000). |
| `requestDelaySecs` | Delay between requests to one shop (default 2 s). |

Example:

```json
{
  "products": [
    { "name": "Lavazza Qualita Oro 1 kg", "ean": "8000070020566", "myPrice": 89.99,
      "competitorUrls": ["https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52"] }
  ],
  "competitorDomains": ["czasnaherbate.net", "lampy-on.pl"],
  "onlyChanges": false
}
```

An empty input runs a small demo with three products.

### Output

One row per product × competitor shop:

```json
{
  "product": "Lavazza Qualita Oro 1 kg",
  "productEan": "8000070020566",
  "myPrice": 89.99,
  "shop": "sklepkawa.pl",
  "platform": "Shoper",
  "url": "https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52",
  "title": "Lavazza Qualita Oro 1 kg",
  "price": 83.88,
  "regularPrice": null,
  "onSale": false,
  "currency": "PLN",
  "availability": "in_stock",
  "ean": "8000070020566",
  "eanMatches": true,
  "matchType": "url",
  "status": "ok",
  "priceDiffVsMine": -6.11,
  "priceDiffVsMinePct": -6.79,
  "isCheapest": true,
  "cheapestShop": "sklepkawa.pl",
  "cheapestPrice": 83.88,
  "myGapPln": 6.11,
  "myGapPct": 7.28,
  "myRank": "2 of 2",
  "change": "price_down",
  "previousPrice": 86.5,
  "priceChange": -2.62,
  "checkedAt": "2026-11-13T11:10:28.791Z"
}
```

`status` values: `ok`, `weak_match`, `not_found`, `blocked`, `robots_disallowed`, `parse_failed`, `error`, always with `statusReason`. The key-value store record `SUMMARY` has per-product totals and per-shop notes (blocked shops, robots).

### Pricing

Pay per result: **$0.0026 per successful price check** (one product in one competitor shop with a price read). Rows that are blocked, not found or disallowed are free. 100 products × 5 competitors daily = 500 checks = $1.30 per day.

### Limits and FAQ

**Why is a shop `robots_disallowed`?** Its robots.txt forbids the page for bots (or for price bots specifically). Ask the shop, or check it manually.

**Why `not_found`?** The product isn't in that shop, or it can't be found without search. Add the product URL to `competitorUrls`; URL checks are the most reliable.

**Can it check Allegro or Ceneo?** No. Use dedicated actors; marketplaces block this kind of monitoring.

**How often can I run it?** Schedule it daily or a few times a day with `onlyChanges` on. Very frequent checks of the same shop are impolite and may get you blocked.

# Actor input Schema

## `products` (type: `array`):

One object per product: {"name": "...", "ean": "590...", "sku": "...", "myPrice": 89.99, "competitorUrls": \["https://..."]}. All fields optional, but give at least competitor URLs, or an EAN/name together with competitorDomains. Plain strings are accepted too (a URL, an EAN or a product name).

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

Just monitor these product pages (price, stock, changes) without grouping them into your products.

## `competitorDomains` (type: `array`):

Shop domains, e.g. "sklep-konkurenta.pl". With auto-find on, each product is searched in these shops by EAN, then by name (Shoper, IdoSell, WooCommerce and PrestaShop), only where the shop's robots.txt allows search.

## `autoFind` (type: `boolean`):

Search competitorDomains for each product. Weak name matches are reported as weak_match and never used as the cheapest price.

## `myCurrency` (type: `string`):

Prices in other currencies are shown but not compared.

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

Output only new offers, price drops/rises, stock changes and disappeared products since the previous run with the same product list. Ideal for daily schedules.

## `maxChecks` (type: `integer`):

Upper limit of checks per run (each successful check is one charged result).

## `requestDelaySecs` (type: `number`):

Politeness delay per shop. Different shops are checked in parallel.

## `proxyConfiguration` (type: `object`):

Optional. Not needed for most shops.

## Actor input object example

```json
{
  "products": [
    {
      "name": "Lavazza Qualita Oro 1 kg kawa ziarnista",
      "ean": "8000070020566",
      "myPrice": 89.99,
      "competitorUrls": [
        "https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52"
      ]
    },
    {
      "name": "Sollux RING 3L lampa sufitowa biała",
      "ean": "5902622425887",
      "myPrice": 239,
      "competitorUrls": [
        "https://lampy-on.pl/3-punktowa-lampa-sufitowa-ring-3l-biala-kierunkowa-do-pokoju-2879.html"
      ]
    }
  ],
  "autoFind": true,
  "myCurrency": "PLN",
  "onlyChanges": false,
  "maxChecks": 1000,
  "requestDelaySecs": 2,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

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

No description

## `summary` (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 = {
    "products": [
        {
            "name": "Lavazza Qualita Oro 1 kg kawa ziarnista",
            "ean": "8000070020566",
            "myPrice": 89.99,
            "competitorUrls": [
                "https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52"
            ]
        },
        {
            "name": "Sollux RING 3L lampa sufitowa biała",
            "ean": "5902622425887",
            "myPrice": 239,
            "competitorUrls": [
                "https://lampy-on.pl/3-punktowa-lampa-sufitowa-ring-3l-biala-kierunkowa-do-pokoju-2879.html"
            ]
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("donzely/competitor-price-monitor-pl").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 = { "products": [
        {
            "name": "Lavazza Qualita Oro 1 kg kawa ziarnista",
            "ean": "8000070020566",
            "myPrice": 89.99,
            "competitorUrls": ["https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52"],
        },
        {
            "name": "Sollux RING 3L lampa sufitowa biała",
            "ean": "5902622425887",
            "myPrice": 239,
            "competitorUrls": ["https://lampy-on.pl/3-punktowa-lampa-sufitowa-ring-3l-biala-kierunkowa-do-pokoju-2879.html"],
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("donzely/competitor-price-monitor-pl").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 '{
  "products": [
    {
      "name": "Lavazza Qualita Oro 1 kg kawa ziarnista",
      "ean": "8000070020566",
      "myPrice": 89.99,
      "competitorUrls": [
        "https://sklepkawa.pl/pl/p/Lavazza-Qualita-Oro-1-kg/52"
      ]
    },
    {
      "name": "Sollux RING 3L lampa sufitowa biała",
      "ean": "5902622425887",
      "myPrice": 239,
      "competitorUrls": [
        "https://lampy-on.pl/3-punktowa-lampa-sufitowa-ring-3l-biala-kierunkowa-do-pokoju-2879.html"
      ]
    }
  ]
}' |
apify call donzely/competitor-price-monitor-pl --silent --output-dataset

```

## MCP server setup

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

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/e375gAyEeYHDaU0uI/builds/x5b1QM7J16IYFNDfO/openapi.json
