# Croatia Webshop Prices by EAN (NN 132/2026) (`woolly_neon_noz/hr-webshop-prices`) Actor

Compare prices of the same product (EAN) across Croatian webshops - KomKom, ADM, Mikronis, Links, Svijet medija, CyberShop, Bazzar, Ronis - from their official price lists. Cheapest shop, spread %, my-shop position, price changes.

- **URL**: https://apify.com/woolly_neon_noz/hr-webshop-prices.md
- **Developed by:** [Terabit Ai](https://apify.com/woolly_neon_noz) (community)
- **Categories:** E-commerce, Lead generation, Agents
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 ean comparison rows

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

## Croatia Webshop Prices by EAN (NN 132/2026)

Compare the price of the **same product (same EAN)** across Croatian webshops in one run: KomKom, ADM, Mikronis, Links, Svijet medija, CyberShop, Bazzar and Ronis (plus Instar, HGSPOT and your own price-list URLs on request).

The data comes from the **official machine-readable price lists** that Croatian retailers must publish under the *Pravilnik o načinu isticanja maloprodajnih cijena i obvezi dostave cjenika* (NN 132/2026). Since 17 November 2026 the obligation covers webshops too, and Art. 5 requires the retailer to allow automated collection: *"Trgovac omogućava uporabu softverskih alata i automatiziranih programa za prikupljanje podataka…"*.

No product pages are scraped. The Actor downloads each shop's newest webshop price-list file (CSV), normalizes the very different formats and joins them by EAN.

### What you get

- **One row per EAN**: name, brand, how many shops sell it, cheapest shop and price, highest price, median, spread in EUR and %, all prices by shop.
- **Offer details per shop** (optional): price, special-offer flag and name (akcija), anchor price (sidrena/bazna cijena), 30-day lowest price where published, availability, the shop's own product code and name, and the price-list date.
- **My shop mode**: set `myShop` (e.g. `adm`) and every row shows your price, your rank (1 = cheapest), the cheapest competitor, and the difference in EUR and %. `onlyMoreExpensive` returns only products where someone is cheaper.
- **Price changes**: `trackChanges` marks each row `NEW`, `PRICE_CHANGED` or `UNCHANGED` with old and new prices per shop; `onlyChanged` returns only changed prices. Made for daily schedules.
- **Outlier flag**: rows where the highest price is more than 1.35× the lowest (configurable) are marked `suspectedOutlier` and sorted last. These are often a different bundle or a typo in a shop's file. Check them before acting.
- **Honest per-shop status** in the `OUTPUT` record: `OK`, `BLOCKED`, `NOT_FOUND`, `ROBOTS_BLOCKED`, `UNAVAILABLE`, `STALE`, `NO_FILE`, `PARSE_ERROR`, with the file URL and its date. A run where some shops fail still returns the others (status `PARTIAL`).

### Shops (status checked 2026-11-23)

| id | Shop | Source | Status |
|---|---|---|---|
| `komkom` | KomKom | komkom.hr/cjenik/latest.csv | OK, ~14,200 EANs |
| `cybershop` | CyberShop | cybershop.hr digital price list (CSV) | OK, ~4,300 EANs |
| `adm` | ADM | adm.hr/Cjenik/ (newest file) | OK, ~7,000 EANs |
| `mikronis` | Mikronis | mikronis.hr/cjenik/ (newest *internet-trgovina* file) | OK, ~5,800 EANs |
| `links` | Links | cjenici.store-explorer.com/links (Webshop location) | OK, ~8,500 EANs |
| `svijetmedija` | Svijet medija | cjenici.store-explorer.com/svijet-medija (WebShop location) | OK, ~26,000 EANs |
| `bazzar` | Bazzar | bazzar.hr/cjenik/cjenik.csv | OK, ~275,000 EANs (marketplace, all categories) |
| `ronis` | Ronis | ronis.hr/hr/objava-cjenika (newest file) | OK from the Apify cloud, ~127,000 EANs. From some other networks it shows a bot-protection page; then it is reported `BLOCKED`, never bypassed |
| `instar` | Instar Informatika | instar-informatika.hr/cjenik/ (newest webshop file) | Opt-in: readable from some networks, but connections from the Apify cloud timed out on 2026-11-23 (reported `UNAVAILABLE`) |
| `hgspot` | HGSPOT | hgspot.hr/cjenik (newest webshop file) | Opt-in: its robots.txt asks for a 120-second Crawl-delay, which this Actor honours, so runs take 2+ minutes longer; the site was timing out on 2026-11-23 |
| `protis` | Protis | protis.hr/cjenici/ | Its server rejects some IP ranges (HTTP 403): reported `BLOCKED` |
| `chipoteka` | Chipoteka | chipoteka.hr/cjenici/ | The linked file returned 404: reported `NOT_FOUND` |
| `elipso` | Elipso | elipso.hr/cjenici/ | robots.txt disallows the download path: reported `ROBOTS_BLOCKED` |

The default run uses the first 8 shops. Retailers not listed can be added with `customSources` (any NN 132/2026 CSV with a barcode and a price column).

### Input examples

Compare a few products:

```json
{ "eans": ["8806094215038", "730143315289", "5099206112100"] }
```

All Logitech products sold by at least 4 shops, biggest spread first:

```json
{ "brands": ["Logitech"], "minShops": 4, "excludeOutliers": true }
```

My shop vs competitors, only where I am not the cheapest:

```json
{ "myShop": "adm", "keywords": ["ssd", "monitor"], "onlyMoreExpensive": true }
```

Daily price-change watch (schedule it):

```json
{ "keywords": ["ryzen", "rtx 50"], "onlyChanged": true, "stateKey": "gpu-cpu-watch" }
```

### Output example

```json
{
  "ean": "8806094215038",
  "name": "Samsung SSD 2TB M.2 PCIEx4 PCI Gen4.0 990 Pro without Heatsink 1200 TBW 5 yrs",
  "brand": "Samsung",
  "shopCount": 8,
  "cheapestShop": "mikronis",
  "cheapestPrice": 479,
  "highestShop": "cybershop",
  "highestPrice": 607.23,
  "medianPrice": 538.18,
  "spreadEur": 128.23,
  "spreadPct": 26.8,
  "suspectedOutlier": false,
  "pricesByShop": { "komkom": 517.9, "instar": 551.1, "adm": 525.26, "mikronis": 479, "links": 499.99, "svijetmedija": 579.99, "cybershop": 607.23, "bazzar": 585.23 }
}
```

### For AI agents

- **Purpose:** cross-shop price comparison for Croatian consumer electronics and general retail, keyed by EAN/GTIN, from legally mandated price lists (NN 132/2026). Good for "where is product X cheapest in Croatia", "how does shop Y price vs competitors", "which prices changed since yesterday".
- **Minimal call:** `{"eans": ["<EAN>"]}`. Without filters a run compares all EANs sold by 2+ shops (~19,000) and stops at `maxItems` (default 500), biggest spread first.
- **Key fields:** `ean`, `cheapestShop`, `cheapestPrice`, `spreadPct`, `pricesByShop`; with `myShop`: `myPrice`, `myRank`, `diffVsCheapestPct`, `isCheapest`; with tracking: `changeType`, `priceChanges[]`.
- **Trust signals:** `suspectedOutlier` (treat with caution), `cheapestIsSpecialOffer` (temporary promo), `offers[].priceListDate` (freshness). Prices are retail prices in EUR incl. VAT as published by the shop; they can differ from the live webshop page during the day.
- **Failure contract:** the run fails on invalid input, when no shop could be read, when `myShop` could not be read, or when 0 rows match (except `onlyChanged`, where 0 changes is a normal success). Per-shop problems are in `OUTPUT.shops[]`.
- **Cost control:** set `maxItems`; filters (`eans`, `keywords`, `brands`, price range, `minShops`) are applied before charging.

### Compliance

- Only the official price-list files and the pages/manifests that link them are downloaded. No product pages, no search, no logins.
- Honest User-Agent: `hr-webshop-prices/0.1 (+https://apify.com/woolly_neon_noz/hr-webshop-prices; reads official price lists published under NN 132/2026 Art. 5)`. It is never rotated or disguised as a browser.
- robots.txt is checked for every host before any request (RFC 9309), including `Crawl-delay`. At most one request per second per host.
- No proxies. Bot-protection pages, HTTP 401/403 and IP blocks are reported as `BLOCKED` and never worked around.

### Pricing

Pay per event:

- **Actor start:** charged once per run.
- **Comparison row:** charged per row written to the dataset (one EAN with all its shop prices). Rows removed by your filters are free.

### Changelog

- **0.1.0** (2026-11-23): first release. 13 shops (8 readable by default), EAN normalization across EAN-13/UPC, compare and my-shop modes, price-change tracking with a compact per-key memory, outlier flag, per-shop status, custom CSV sources, robots.txt with Crawl-delay.

# Actor input Schema

## `shops` (type: `array`):

Webshops whose official price lists (NN 132/2026) are compared. Default: the 8 shops whose files were readable from the Apify cloud on 2026-11-23.

## `eans` (type: `array`):

Only these barcodes (8-14 digits; leading zeros do not matter). Leave empty to compare everything that matches the other filters.

## `keywords` (type: `array`):

Keep products whose name or brand contains ANY of these phrases (case and diacritics ignored), e.g. 'ryzen 7', 'rtx 5060'.

## `brands` (type: `array`):

Keep products of ANY of these brands, e.g. Samsung, Logitech.

## `myShop` (type: `string`):

Shop id from the list above (e.g. 'adm') or the name of one of your custom sources. Rows then show your price, your rank, the cheapest competitor and the difference in %. Only EANs you sell are returned.

## `onlyMoreExpensive` (type: `boolean`):

With 'My shop': return only EANs where at least one competitor is cheaper.

## `trackChanges` (type: `boolean`):

Remember prices under the state key and mark each row NEW, PRICE_CHANGED or UNCHANGED, with the old and new price per shop.

## `onlyChanged` (type: `boolean`):

Return only PRICE_CHANGED rows (turns on price tracking). The first run saves the baseline and returns nothing. Ideal for a daily schedule.

## `stateKey` (type: `string`):

Name of the price memory. Use one key per watchlist (letters, digits, - \_ .).

## `minShops` (type: `integer`):

Only EANs sold by at least this many of the read shops. Use 1 to list single-shop products too.

## `minPrice` (type: `number`):

Filter on the cheapest price of the EAN.

## `maxPrice` (type: `number`):

Filter on the cheapest price of the EAN.

## `outlierRatio` (type: `number`):

Rows where highest / cheapest price is above this ratio get suspectedOutlier = true (often a data error or a different bundle). They are sorted last.

## `excludeOutliers` (type: `boolean`):

Drop rows flagged as suspected outliers.

## `sortBy` (type: `string`):

Default: spread (or difference in My shop mode). Changed rows always come first when tracking changes.

## `includeOffers` (type: `boolean`):

Adds an 'offers' array per row: price, special offer flag and name, anchor price, 30-day lowest price, availability, the shop's product code and name, price-list date.

## `maxFileAgeDays` (type: `integer`):

Price lists older than this are skipped and reported as STALE.

## `customSources` (type: `array`):

Other retailers' NN 132/2026 CSV files: \[{"name": "My shop", "url": "https://example.hr/cjenik.csv"}]. The file must be a CSV with a barcode and a price column. robots.txt is respected.

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

Maximum rows written (and charged). 0 = no limit (an unfiltered comparison of all shops has about 19,000 EANs).

## Actor input object example

```json
{
  "shops": [
    "komkom",
    "cybershop",
    "adm",
    "mikronis",
    "links",
    "svijetmedija",
    "bazzar",
    "ronis"
  ],
  "eans": [
    "8806094215038",
    "730143315289",
    "5099206112100"
  ],
  "onlyMoreExpensive": false,
  "trackChanges": false,
  "onlyChanged": false,
  "stateKey": "default",
  "minShops": 2,
  "outlierRatio": 1.35,
  "excludeOutliers": false,
  "includeOffers": true,
  "maxFileAgeDays": 7,
  "maxItems": 500
}
```

# Actor output Schema

## `comparison` (type: `string`):

Default dataset items: one row per EAN with prices per shop.

## `runSummary` (type: `string`):

Per-shop status (OK, BLOCKED, NOT_FOUND, ROBOTS_BLOCKED, UNAVAILABLE, STALE, NO_FILE, PARSE_ERROR), file URL and date, row counts, change counts, HTTP stats.

# 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 = {
    "shops": [
        "komkom",
        "cybershop",
        "adm",
        "mikronis",
        "links",
        "svijetmedija",
        "bazzar",
        "ronis"
    ],
    "eans": [
        "8806094215038",
        "730143315289",
        "5099206112100"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("woolly_neon_noz/hr-webshop-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 = {
    "shops": [
        "komkom",
        "cybershop",
        "adm",
        "mikronis",
        "links",
        "svijetmedija",
        "bazzar",
        "ronis",
    ],
    "eans": [
        "8806094215038",
        "730143315289",
        "5099206112100",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("woolly_neon_noz/hr-webshop-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 '{
  "shops": [
    "komkom",
    "cybershop",
    "adm",
    "mikronis",
    "links",
    "svijetmedija",
    "bazzar",
    "ronis"
  ],
  "eans": [
    "8806094215038",
    "730143315289",
    "5099206112100"
  ]
}' |
apify call woolly_neon_noz/hr-webshop-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,woolly_neon_noz/hr-webshop-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/OJmkp0Z2yGg0rS3RI/builds/XZJLcPz9nW7SMLYmc/openapi.json
