# Prom.ua Marketplace Price & Seller Monitor (`sashaebashu/prom-monitor`) Actor

Scrape & monitor the Prom.ua marketplace by category — price, old price, discount, seller, stock — and track price moves, discounts and seller changes between runs.

- **URL**: https://apify.com/sashaebashu/prom-monitor.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** E-commerce, Automation
- **Stats:** 1 total users, 0 monthly users, 81.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

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/platform/actors/running/actors-in-store#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

## Prom.ua Marketplace Price & Seller Monitor

Scrapes **Prom.ua** — Ukraine's largest marketplace — by category, and tells you what changed since
the last run: price moves, new discounts, stock flips, and **which seller now holds the offer**.

No login, no API key, no browser. Runs on the cheap Apify datacenter proxy.

### What you get

One row per product:

| Field | What it is |
|---|---|
| `name` / `brand` / `sku` / `description` | Product identity |
| `price` / `currency` | Current price (UAH) |
| **`oldPrice`** / **`discountPercent`** | The crossed-out price and the discount it implies — the field a price feed alone will not give you |
| `available` / `presence` | Stock as a boolean, plus Prom's own wording (*«Готово до відправки»*, *«В наявності»*) |
| **`seller`** / **`sellerUrl`** | The shop behind the offer and a link to its storefront |
| `image` / `url` / `priceValidUntil` | Media, link, and how long Prom says the price holds |
| `categoryPath` / `scrapedAt` | Where it came from and when |

### Monitor mode

Compares against the previous run for the **same categories** and labels every row:

| `changeType` | Means |
|---|---|
| `new` | First time seen in this scope |
| `price_down` / `price_up` | The price moved |
| **`seller_change`** | The offer is now held by a different shop |
| `back_in_stock` / `out_of_stock` | Availability flipped |
| `unchanged` | Nothing moved |

`seller_change` is checked **before** the price comparison, because on a marketplace a new shop
taking over the listing is a different event from the same shop repricing — only the first one
tells you the competitive landscape moved. Rows also carry `previousPrice`, `previousSeller`,
`priceLow30` and `priceHigh30`.

Turn on **Output only changed items** so each run returns just what moved.

### Input

| Field | What it does |
|---|---|
| **Category URLs** | Full URLs (`https://prom.ua/ua/Noutbuki`) or bare slugs (`Noutbuki`). |
| **Max pages per category** | 10 products per page (see the limits below). |
| **Max results / Max concurrency** | Overall row cap (0 = no cap) and categories fetched in parallel. |
| **Monitor mode / Output only changed items** | The alert behaviour above. |

### Notes & limits

Properties of the source, measured rather than assumed:

- **10 products per page, and that is not adjustable.** `limit`, `per_page`, `ipp` and `size` were
  each tested and are all ignored — the page always returns 10. Budget requests accordingly.
- **A category tops out at 5,000 products.** Prom.ua stops paginating at page 500. Past that it does
  **not** return 404 — it clamps and re-serves the last page for any page number (pages 1000, 1001
  and 5000 all returned the identical 10 products). This Actor detects the repeat and stops, so a
  large `Max pages per category` costs nothing extra on a small category.
- **Product ids can be negative.** URLs come as both `/ua/m4584101165399920833-…` and
  `/ua/m-5157191898692691576-…`; both are handled. (Missing the second form silently drops ~30% of
  every page.)
- **`offers` is sometimes an array.** Roughly 1 product in 10 ships `offers` as a list rather than an
  object; both shapes are read.
- **Prices are read from schema.org JSON-LD; the discount comes from the HTML tile.** The two are
  joined by product URL — verified 40/40 across four pages. JSON-LD decides which products exist, so
  a change to the tile markup costs you the discount field, never whole rows.
- **Category URLs are accepted in any form.** A full URL (`https://prom.ua/ua/Noutbuki`), the
  prefix-less form (`prom.ua/Noutbuki`) and a bare slug (`Noutbuki`) all work — everything is
  normalised to the canonical `/ua/` path, which was measured to return identical content.
- **Search pages are not scraped.** Prom.ua's `robots.txt` disallows `*/search`, so this Actor works
  from category pages only. Paste a search URL and the run still finishes — it tells you which URL had
  no listing and which category page to use instead.
- **Seller storefronts work too.** A shop URL (`https://prom.ua/ua/c3826657-sphere.html`) is a valid
  input and returns that seller's products, which is handy for watching one competitor.
- The Actor honours your **Maximum cost per run** and stops when the cap is reached.

# Actor input Schema

## `categoryUrls` (type: `array`):

Prom.ua category pages — full URLs (https://prom.ua/ua/Noutbuki) or just the slug (Noutbuki). Find them by browsing prom.ua and copying the address bar.

## `maxPagesPerCategory` (type: `integer`):

10 products per page. Prom.ua itself stops at page 500, so 500 pages = 5,000 products is the most any category can yield.

## `maxItems` (type: `integer`):

Overall cap on rows. 0 = no cap.

## `maxConcurrency` (type: `integer`):

Categories fetched in parallel.

## `monitorMode` (type: `boolean`):

Compare against the previous run with the same categories and label every row: price\_down, price\_up, seller\_change, back\_in\_stock, out\_of\_stock, new, unchanged. Also adds previousPrice, previousSeller and a 30-day price band.

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

Monitor mode only — return just the products that moved, instead of the whole catalogue.

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

Prom.ua answers the cheap Apify datacenter proxy — the default is correct and there is no reason to pay for residential here.

## Actor input object example

```json
{
  "categoryUrls": [
    "https://prom.ua/ua/Noutbuki",
    "Mobilnye-telefony"
  ],
  "maxPagesPerCategory": 20,
  "maxItems": 0,
  "maxConcurrency": 4,
  "monitorMode": false,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `changes` (type: `string`):

No description

## `full` (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 = {
    "categoryUrls": [
        "https://prom.ua/ua/Noutbuki"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/prom-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 = { "categoryUrls": ["https://prom.ua/ua/Noutbuki"] }

# Run the Actor and wait for it to finish
run = client.actor("sashaebashu/prom-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 '{
  "categoryUrls": [
    "https://prom.ua/ua/Noutbuki"
  ]
}' |
apify call sashaebashu/prom-monitor --silent --output-dataset

```

## MCP server setup

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