# Supermarket Prices Bulgaria and Serbia: official price lists (`steadydata/balkan-supermarket-prices`) Actor

Official supermarket price lists: Bulgaria's daily KZP open data (60+ chains, price per store, EUR) and Serbia's legally required retailer price lists on data.gov.rs (EAN, promo and unit price, RSD). Filter by chain, product text, EAN, category or city.

- **URL**: https://apify.com/steadydata/balkan-supermarket-prices.md
- **Developed by:** [Steadydata Team](https://apify.com/steadydata) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.65 / 1,000 price listeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Supermarket Prices Bulgaria and Serbia: official price lists

Official supermarket price lists: Bulgaria's daily KZP open data (60+ chains, price per store, EUR) and Serbia's legally required retailer price lists on data.gov.rs (EAN, promo and unit price, RSD). Filter by chain, product text, EAN, category or city.

Both countries oblige their retailers by law to publish shelf prices. Bulgaria's Commission
for Consumer Protection (KZP) collects them every day from every food and drugstore chain
above 10 million leva turnover and publishes one ZIP per day on kolkostruva.bg. Serbian
retailers publish their price list under the 2026 price-list regulation as datasets on
data.gov.rs. This actor reads those official files and returns one clean table for both.

### Why this scraper

- **Every chain in one run, not one webshop.** Shop scrapers read the online store of one
  chain. The official Bulgarian file of 27-10-2026 holds **543,931 prices from 63 chains**
  (among them Lidl, Metro, Fantastico, T Market, BulMag, CBA/Burleks, eBag, Douglas and several
  pharmacy chains), each per physical store and settlement. The Serbian datasets cover
  IDEA, Delhaize (Maxi, Tempo), Lidl, METRO, Aksa, dm, Gomex and about 35 more retailers.
- **The messy part is done.** 63 Bulgarian files come in nine header variants, with commas or
  semicolons, decimal commas, and quotes a chain forgot to escape; on the measured day all
  543,932 lines were read, none dropped as unreadable. Serbian files come from more than 30
  different servers. You get one schema with ISO dates and numeric prices.
- **Latin and Cyrillic both work.** Search `"mlyako"` or `"мляко"`, chain `"Fantastiko"` or
  `"Фантастико"`: input and names are matched in both scripts. Every Cyrillic name also comes
  with a Latin transliteration (`productNameLatin`, `chainLatin`).
- **Cross-chain matching on a checked EAN.** `ean` only holds a barcode that passes the GS1
  check digit and is not an in-store code, so joining on it never merges unrelated products.
- **Bulgarian places resolved.** The EKATTE code becomes settlement, municipality and region
  (all 155 codes in the measured file), and the category number becomes one of the 101 KZP
  consumer-basket groups.
- **Source citation built in.** Each row carries `sourceUrl`, `sourcePage`, `publisher` and
  `retrievedAt`: exactly what both licences ask you to cite.
- **Only delivered rows are charged.** A date without a file, a filter that matches nothing,
  or a source that is down comes back as an error record at no cost.

### Who this is for

FMCG brands and distributors checking shelf prices and promotions per chain and per store in
Bulgaria and Serbia; market researchers and price-comparison apps; analysts following food
inflation and the euro changeover in Bulgaria (prices in EUR since 01-01-2026); anyone who
wants a daily price history by running the same input on a schedule.

### Who this is not for

**Read this before you buy.**

- **Serbian prices are per retailer, not per store.** The Serbian regulation lets a retailer
  publish one list with the highest price across its stores; store-level lists only live on
  each retailer's own website and are not read here. Serbian rows therefore have no store or
  city.
- **Bulgaria has almost no EANs.** The KZP file carries each chain's own product code. Only a
  few chains use the barcode as that code (7,201 of 543,931 rows on 27-10-2026), so matching
  the same product across Bulgarian chains on EAN works only for those. Product names differ
  per chain and are delivered as written.
- **Not every Serbian retailer can be read.** Three retailers host their file on a server
  whose robots.txt forbids automated access (Univerexport, Yuhor, Podunavlje on 28-10-2026);
  they are skipped, not worked around. Retailers that publish only Excel, XML or JSON, or a
  file outside the regulation's format, are skipped as well.
- **History is short.** Bulgaria keeps about two weeks of daily files; Serbia keeps the
  current list plus a snapshot of the first day of each month. For a longer history, schedule
  the actor daily and keep the datasets.
- **Only Bulgaria and Serbia.** Croatia, Hungary, Romania and Greece are not included.
- **Names stay in the local language.** There is no English translation of products or
  categories; the Latin transliteration is a spelling aid, not a translation.

### Input fields

| Field | Type | Required or default | What it does |
|---|---|---|---|
| `countries` | list of text | required | BG for Bulgaria, RS for Serbia, or both. Each country is read from its own official source. |
| `date` | text |  | Empty: the latest list. Bulgaria keeps one file per day for about two weeks; Serbia keeps the current list plus a snapshot on the first day of each month (for example 2026-10-01). |
| `chains` | list of text | empty | Only these chains, matched on part of the name in Latin or Cyrillic script: "Fantastiko", "Lidl", "Maxi", "Idea". Empty: all chains. |
| `query` | text |  | Only products whose name contains all these words, in the language of the list (Bulgarian or Serbian, either script): "mlqko" will not match, "mlyako" or "мляко" will. |
| `eans` | list of text | empty | Only these barcodes (EAN-13 or EAN-8). Serbian lists carry the EAN for nearly every product; in Bulgaria only chains that use the barcode as their product code can be matched. |
| `categories` | list of text | empty | Only these categories, by number or part of the name as the source writes it: "6" or "Прясно мляко" in Bulgaria, "Mleko" in Serbia. |
| `location` | text |  | Bulgaria only: part of the settlement, municipality, region or store name, for example "Варна" or "Varna". Serbian lists are per retailer, not per store. |
| `maxRowsPerCountry` | number | 1000 | Cost ceiling per country. A full Bulgarian day is about 540,000 rows; use filters to get exactly what you need. |

### Input example

```json
{
    "countries": [
        "BG",
        "RS"
    ],
    "chains": [],
    "eans": [],
    "categories": [],
    "maxRowsPerCountry": 1000
}
```

### Output example

| Field | Type | What it holds | Example |
|---|---|---|---|
| `country` | text | BG (Bulgaria) or RS (Serbia). | `BG` |
| `date` | text | The day the price list is for, YYYY-MM-DD: the Bulgarian daily file, or the date the Serbian retailer printed on its list. | `2026-10-27` |
| `chain` | text | The chain as the source names it, in its own script: the Bulgarian file name before the brackets, the Serbian dataset title after the dash. | `Бурлекс` |
| `storeName` | text | Bulgaria: the store or outlet name and often its address, as the chain reports it. Empty for Serbia, where the list is per retailer. | `БУРЛЕКС БАЛЧИК - Ж.К. В.ЛЕВСКИ УЛ. ХР.БОТЕВ 24` |
| `productName` | text | The product name exactly as the chain wrote it, original script and spelling. | `КАФЕ ДЖИМОКА ГРАН ГУСТО 250ГР` |
| `ean` | text | A checked GS1 barcode (EAN-13 or EAN-8), the key to compare the same product across chains. In-store and internal codes are left out. | `4056489789246` |
| `category` | text | The category as the source names it: one of the 101 KZP consumer-basket groups in Bulgaria, the Pravilnik category in Serbia. | `Мляно кафе от 200 г до 250 г` |
| `regularPrice` | number | The shelf price, in the currency of the row. | `4.29` |
| `promoPrice` | number | The promotional price when there is a promotion; empty when there is none or when the source's promo price is not below the shelf price. | `3.39` |
| `currency` | text | EUR for Bulgaria (euro since 01-01-2026), RSD for Serbia. | `EUR` |
| `chainLatin` | text | The chain name in Latin script (Bulgarian streamlined or Serbian Latin), for sorting and matching. | `Burleks` |
| `chainLegalName` | text | The registered company behind the chain, as the source names it. Left empty for sole traders, whose legal name is a person's name. | `ЦБА ЕАД` |
| `retailFormat` | text | Serbia: the retailer's own name for the list or store format, for example Maxi for Delhaize Serbia. | `Lidl Srbija KD` |
| `settlementCode` | number | Bulgaria: the EKATTE code of the settlement of the store. | `2508` |
| `settlement` | text | Bulgaria: the settlement name for that EKATTE code, as the KZP portal lists it. | `Балчик` |
| `municipality` | text | Bulgaria: the municipality of the settlement. | `Балчик` |
| `region` | text | Bulgaria: the region (oblast) of the settlement. | `Добрич` |
| `productNameLatin` | text | The product name in Latin script when the original is Cyrillic; empty when the original is already Latin. | `KAFE DZHIMOKA GRAN GUSTO 250GR` |
| `brand` | text | Serbia: the brand as the retailer reports it; empty where it reports none. | `Harvest Basket` |
| `retailerProductCode` | text | The chain's own product code (Bulgaria), or a Serbian barcode that is not a valid EAN. | `100015` |
| `categoryCode` | number | The number of the category in the source. | `70` |
| `unit` | text | Serbia: the unit of measure the unit price refers to (kg, l, kom, g, ml). | `g` |
| `unitPrice` | number | Serbia: price per unit of measure, as the retailer reports it. | `539.98` |
| `promoStart` | text | Serbia: first day of the promotion. | `2026-10-22` |
| `promoEnd` | text | Serbia: last day of the promotion. | `2026-10-28` |
| `vatRate` | number | Serbia: VAT rate in percent (10 or 20). | `20.0` |
| `priceListType` | text | daily (Bulgaria), current or monthly_snapshot (Serbia). | `daily` |
| `sourceUrl` | text | The file this row was read from. | `https://kolkostruva.bg/opendata_files/2026-10-27.zip` |
| `sourceFile` | text | The file name inside the Bulgarian ZIP (without the company ID), or the Serbian file name. | `Бурлекс (ЦБА ЕАД).csv` |
| `sourcePage` | text | The official page that publishes the file. | `https://kolkostruva.bg/opendata` |
| `publisher` | text | Who publishes the data, for the source citation both licences require. | `Commission for Consumer Protection (KZP), kolkostruva.bg` |
| `retrievedAt` | text | When this run downloaded the file (UTC), the download date both licences ask you to cite. | `2026-10-28T08:01:33Z` |

A real row from a test run on 28-10-2026 (`"countries": ["BG"], "query": "мляко", "location": "Varna"`):

```json
{
    "country": "BG",
    "date": "2026-10-27",
    "chain": "BulMag",
    "chainLatin": "BulMag",
    "chainLegalName": "ТРЪНЧЕВ ООД",
    "retailFormat": null,
    "storeName": "BulMag 17 Grand Mall - Варна, ул. \"Андрей Сахаров\" №2",
    "settlementCode": 10135,
    "settlement": "Варна",
    "municipality": "Варна",
    "region": "Варна",
    "productName": "МЛЯКО ПРЯСНО МЕГГЛЕ 3.2% УХТ 1Л",
    "productNameLatin": "MLYAKO PRYASNO MEGGLE 3.2% UHT 1L",
    "brand": null,
    "ean": null,
    "retailerProductCode": "595",
    "categoryCode": 6,
    "category": "Прясно мляко от 2% до 3,6% 1 л",
    "regularPrice": 1.8,
    "promoPrice": null,
    "promoStart": null,
    "promoEnd": null,
    "unitPrice": null,
    "unit": null,
    "vatRate": null,
    "currency": "EUR",
    "priceListType": "daily",
    "sourceUrl": "https://kolkostruva.bg/opendata_files/2026-10-27.zip",
    "sourceFile": "BulMag (ТРЪНЧЕВ ООД).csv",
    "sourcePage": "https://kolkostruva.bg/opendata",
    "publisher": "Commission for Consumer Protection (KZP), kolkostruva.bg",
    "retrievedAt": "2026-10-28T08:01:33Z",
    "status": "ok"
}
```

And a Serbian row from the same day (`"countries": ["RS"], "chains": ["Maxi"], "query": "mleko"`),
shortened to the fields Serbia fills:

```json
{
    "country": "RS",
    "date": "2026-10-28",
    "chain": "DELHAIZE SERBIA DOO BEOGRAD",
    "retailFormat": "Maxi",
    "productName": "Cokoladno mleko 1%mm Moja kravica BP 1L",
    "brand": "Moja kravica",
    "ean": "8601500131540",
    "categoryCode": 1,
    "category": "Mleko, mlečni i mešoviti proizvodi, jaja",
    "regularPrice": 209.99,
    "promoPrice": null,
    "unitPrice": 209.99,
    "unit": "lit",
    "vatRate": 10.0,
    "currency": "RSD",
    "priceListType": "current",
    "sourceUrl": "https://tsmdelhaizeserbia.delhaize.rs/PublicDoc/cene_proizvoda_Delhaize.csv",
    "publisher": "DELHAIZE SERBIA DOO BEOGRAD via Portal otvorenih podataka data.gov.rs",
    "retrievedAt": "2026-10-28T08:02:37Z",
    "status": "ok"
}
```

A country that cannot be delivered produces an error record instead, and is **not** charged:

```json
{
    "input": "BG",
    "status": "error",
    "errorCode": "NO_DATA_FOR_DATE",
    "error": "kolkostruva.bg has no file for 2026-09-01; the portal keeps about the last two weeks, and today's file appears after midnight"
}
```

Error codes: `INVALID_COUNTRY` (not BG or RS), `INVALID_INPUT` (a date that is not
YYYY-MM-DD), `NO_DATA_FOR_DATE` (no Bulgarian file for that day), `NO_RESULTS` (the filters
match nothing), `BLOCKED` (the official source is down or refuses; retried first).

### Pricing

Pay per event: one `price-listed` event per delivered result. No charge for inputs
that fail, no separate platform-usage surcharge.

### Use with AI agents

AI assistants such as Claude, ChatGPT or Cursor can run this actor through Apify's own MCP server. Ask for the actor `steadydata/balkan-supermarket-prices` by its full name, so the assistant does not pick a different one, and start from this minimal input:

```json
{
  "countries": [
    "BG",
    "RS"
  ]
}
```

The assistant can read the price per event from the Pricing section above before the first paid run. Failed input comes back as an error row, as described above.

### FAQ

**Can I use this data commercially?**
Yes, with a source citation. Bulgaria: the KZP terms (kzp.bg/bg/terms) say the content "may
be used freely ... and requires only citation". Serbia: the data.gov.rs licence allows reuse
"for commercial and non-commercial purposes", on condition that you name the source and the
publisher, the download date and the address, and mark your own changes. Each row carries
`publisher`, `sourceUrl`, `sourcePage` and `retrievedAt` for that.

**How do I compare one product across chains?**
In Serbia, filter on `eans` or join the rows on `ean`: nearly every product carries one. In
Bulgaria, `ean` is only filled where a chain uses the barcode as its product code; otherwise
search by `query` plus `categories` (the 101 KZP groups, for example `6` for fresh milk 1 l)
and compare within the category.

**Which date do I get?**
Without `date`: the newest Bulgarian file (published after midnight for the previous day) and
the current Serbian lists. With `date`: that Bulgarian day, and for Serbia the list printed
with that date, which for past days means the first day of a month (`2026-10-01`).

**How many rows is a full run?**
A full Bulgarian day is about 540,000 rows, because every chain reports every store. Use
`chains`, `query`, `categories`, `location` or `eans` to take what you need, and
`maxRowsPerCountry` as a hard cost ceiling. Without filters, Serbia starts with the largest
price lists.

**Is personal data collected?**
No. The sources are price lists of companies. The Bulgarian file name carries the company ID;
it is not delivered. When a chain is a sole trader, whose legal name is the owner's own name,
that legal name is left empty.

**What happens when the source changes?**
Sources change from time to time; that is the nature of this work. The actor is
monitored daily and fixed fast, and while it is broken you are not charged, because
only delivered results cost anything.

**Can I call it from my own code, like an API?**
Yes. Every run is available through the Apify API: start it with one HTTP request, then read
the results as JSON, CSV or Excel from the dataset endpoint, or use the official Python and
JavaScript clients. The input is the same JSON as in the input example above, so a scheduled
script, a Make or Zapier step or an AI agent can call it without any changes.

# Changelog

This Actor's version history is a separate document: https://apify.com/steadydata/balkan-supermarket-prices/changelog.md

# Actor input Schema

## `countries` (type: `array`):

BG for Bulgaria, RS for Serbia, or both. Each country is read from its own official source.

## `date` (type: `string`):

Empty: the latest list. Bulgaria keeps one file per day for about two weeks; Serbia keeps the current list plus a snapshot on the first day of each month (for example 2026-10-01).

## `chains` (type: `array`):

Only these chains, matched on part of the name in Latin or Cyrillic script: "Fantastiko", "Lidl", "Maxi", "Idea". Empty: all chains.

## `query` (type: `string`):

Only products whose name contains all these words, in the language of the list (Bulgarian or Serbian, either script): "mlqko" will not match, "mlyako" or "мляко" will.

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

Only these barcodes (EAN-13 or EAN-8). Serbian lists carry the EAN for nearly every product; in Bulgaria only chains that use the barcode as their product code can be matched.

## `categories` (type: `array`):

Only these categories, by number or part of the name as the source writes it: "6" or "Прясно мляко" in Bulgaria, "Mleko" in Serbia.

## `location` (type: `string`):

Bulgaria only: part of the settlement, municipality, region or store name, for example "Варна" or "Varna". Serbian lists are per retailer, not per store.

## `maxRowsPerCountry` (type: `integer`):

Cost ceiling per country. A full Bulgarian day is about 540,000 rows; use filters to get exactly what you need.

## Actor input object example

```json
{
  "countries": [
    "BG",
    "RS"
  ],
  "chains": [],
  "eans": [],
  "categories": [],
  "maxRowsPerCountry": 1000
}
```

# Actor output Schema

## `results` (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 = {
    "countries": [
        "BG",
        "RS"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("steadydata/balkan-supermarket-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 = { "countries": [
        "BG",
        "RS",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("steadydata/balkan-supermarket-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 '{
  "countries": [
    "BG",
    "RS"
  ]
}' |
apify call steadydata/balkan-supermarket-prices --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,steadydata/balkan-supermarket-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/CgIU9rjrgs8mcvi0A/builds/uvBliofqadepa88vB/openapi.json
