Collecting price comparison data in Poland means turning prices from Polish shops and comparison sites into one common record. Prices are written as 1 299,00 zł. The thousands separator is a space, often a non-breaking one. That space is the trap: two separate numbers sitting side by side on a page can read as one amount. This post covers the official APIs, the zloty format, the VAT-inclusive price, the 30-day lowest price field and Polish search.
Official channels first
Both of Poland's most used data sources have a developer channel. Allegro is a marketplace. Ceneo is a price comparison site that lists shop offers side by side. Both APIs are built for sellers and partners.
In the Allegro REST API, the endpoint that searches public offers is GET /offers/listing. According to the docs, only verified applications can access it. A search needs at least one of the phrase, seller.id or category.id parameters. The Ceneo API is open only to customers whose shop is integrated with Ceneo. It offers methods that automate sales tasks and works with an OAuth 2.0 token.
If you track your own shop, your resellers or your partners, start with these channels. In an API response the price is a number and the currency comes in a separate field. Most of the parsing problems in this post never show up there. On pages the API does not cover, follow the site's terms and its robots.txt file, and send requests at a low rate.
Fields of a Polish price line
On a Polish product page, every label around the price is a separate piece of information and goes into a separate field. On sites selling to consumers, the large amount is the VAT-inclusive price. When there is a discount, a struck-through old price and the 30-day lowest price sit next to it.
| Shown on the page | Meaning | Field in the record |
|---|---|---|
1 299,00 zł | Sale price, VAT included | price |
| Struck-through amount | Price before the discount | previous_price |
Najniższa cena z 30 dni przed obniżką | Lowest price of the last 30 days | lowest_30d |
cena netto / cena brutto | Excluding VAT / including VAT | price_net, price |
od 2 499 zł | Cheapest offer or variant | price_type = "od" |
Darmowa dostawa | Free delivery | shipping_note |
The od label is common on comparison sites. It may not be a single shop's price but the lowest of the listed offers. If you do not flag it separately, you mix up a product's price with the floor of its offer list.
The general flow of tracking, such as the product list, crawl frequency and alert threshold, is the same in every country. We covered that part in How to Track Competitor Prices in E-Commerce. Here we look only at the layer specific to Poland.
Parsing the zloty format
In the Polish format, the thousands separator is a space, the decimal separator is a comma and zł follows the number. In CLDR, Unicode's locale data, this space is a non-breaking space (U+00A0). One more detail: four-digit amounts are not grouped. In our test, Node 24's Intl.NumberFormat("pl-PL") printed 1299,00 zł and 12 999,50 zł.
Sites do not always follow this rule. The same price can also arrive as 1 299,00 zł, 1.299,00 zł or 1 299,00 PLN. The function below turns these formats into a Decimal. It accepts an amount only when zł, zl or PLN follows it.
import re
import unicodedata
from decimal import Decimal
AMOUNT = re.compile(
r"(?<![\d.,])(\d{1,3}(?:[ .]\d{3})+|\d+)(?:,(\d{2}))?\s*(?:zł|zl|PLN)\b",
re.IGNORECASE,
)
def pln_to_decimal(text):
s = text.replace(" ", " ").replace(" ", " ")
m = AMOUNT.search(s)
if not m:
raise ValueError(f"No price: {text!r}")
whole = m.group(1).replace(" ", "").replace(".", "")
return Decimal(f"{whole}.{m.group(2) or '00'}")In our test, the function returned an amount for eight of ten inputs and raised an error for two. One of the eight amounts was wrong. Selected results:
| Input | Result |
|---|---|
1 299,00 zł (with a non-breaking space) | 1299.00 ✓ |
12 999,50 zł | 12999.50 ✓ |
od 2 499 zł | 2499.00 ✓ |
1,299.00 PLN | ValueError ✓ |
Cena: 1 299 | ValueError ✓ |
Rozmiar 42 129,99 zł | 42129.99 ✗ |
The English format 1,299.00 does not silently become 1.29. It raises an error. An amount without a currency is rejected too. The last row is the real trap of the space separator. With the shoe size 42 and the price 129,99 side by side in the same text, the function saw one amount. So read the visible text only from the price's own element, not from the whole line. Better still, check the schema.org Offer data first: the price field is machine-formatted ("1299.00") and the priceCurrency field says PLN.
VAT and the gross price
Poland's standard VAT rate is 23%. The reduced rates are 8% and 5%, and some supplies are taxed at 0%. On sites selling to consumers, the price shown is the gross, VAT-inclusive amount. The page often shows a note such as Cena zawiera VAT.
On sites selling to resellers, two prices sit side by side: cena netto and cena brutto. Always compare the same type. If you take the net price from one site and the gross price from another, the gap is off by up to 23%. When both values exist, you can check the rate yourself:
RATES = {Decimal("0.23"), Decimal("0.08"), Decimal("0.05"), Decimal("0.00")}
def vat_rate(net, gross):
rate = (gross / net - 1).quantize(Decimal("0.01"))
return rate if rate in RATES else NoneFor a net 1056.10 and a gross 1299.00, the result is 0.23. If it returns None, the two amounts do not belong to the same product, quantity or date. Do not guess which rate a product falls under. Store the amounts on the page as they are.
The 30-day lowest price
A Polish page that announces a discount also shows the lowest price of the 30 days before the discount. This field is how the EU's price indication rule (Omnibus) shows up on the page. The page of UOKiK, Poland's consumer authority, describes it together with discounts announced with words such as obniżka, promocja, przecena or okazja.
The page usually shows a line such as Najniższa cena z 30 dni przed obniżką: 1 249,00 zł. If the product has been on sale for less than 30 days, the line can come with wording such as Najniższa cena od wprowadzenia towaru. The function below reads the amount after the label in both cases:
LABEL = re.compile(r"najni[żz]sza\s+cena[^:]*:\s*(.+)", re.IGNORECASE)
def lowest_30_days(text):
m = LABEL.search(text.replace(" ", " "))
return pln_to_decimal(m.group(1)) if m else NoneThis field is valuable for comparison. Calculate the size of the discount from this amount, not from the struck-through price. If the sale price is equal to or higher than this amount, there is no drop against the last 30 days. Flag the record accordingly. If the field is empty, store None and do not fill it with the struck-through price.
Polish characters and search
Polish uses nine special lowercase letters: ą ć ę ł ń ó ś ź ż. Users often skip these marks when searching and type zelazko when they mean żelazko. For matching, build an accent-free search key. The trap is the letter ł: Unicode does not decompose it into a letter plus a mark, so the NFD strip-the-marks method leaves ł untouched.
def search_key(text):
s = unicodedata.normalize("NFD", text.casefold())
s = "".join(c for c in s if not unicodedata.combining(c))
return s.replace("ł", "l")In our test, Słuchawki became sluchawki and ŁÓDŹ became lodz. Without the last line, słuchawki stayed as it was. Use the key only for matching and keep the original name for display.
If you see garbled characters, the problem is not normalization but decoding. A UTF-8 ł read as Windows-1250 becomes Ĺ‚, and read as ISO-8859-1 it becomes Å plus an invisible character. requests treats a text/html response without charset as ISO-8859-1. We covered the diagnosis in Python Encoding Errors: How to Fix UnicodeDecodeError.
Polish IP and the request
Polish sites may treat visitors according to the country of their IP address. A page opened with a Türkiye IP can redirect to another language or another country's shop. The delivery note can change too. For the stored price to be the price a Polish customer sees, measure with an IP that exits in Poland. Country options are on the Poland proxy page.
Residential Proxy, which carry home connection IPs, open the page from a home connection in Poland. The example below runs in the same file as the functions above. It requests the page with a Polish language header, reads the price from JSON-LD and the 30-day amount from the visible text.
import json
import requests
PROXY = "http://user:pass@pr.proxynet.io:8000"
URL = "https://sklep.example/produkt/xy-3000"
s = requests.Session()
s.proxies = {"http": PROXY, "https": PROXY}
s.headers["Accept-Language"] = "pl-PL,pl;q=0.9"
r = s.get(URL, timeout=30)
r.raise_for_status()
r.encoding = "utf-8" # without a charset, requests assumes ISO-8859-1
for block in re.findall(
r'<script type="application/ld\+json">(.*?)</script>', r.text, re.S
):
data = json.loads(block)
if data.get("@type") == "Product":
offer = data["offers"]
print(data["name"], offer["price"], offer["priceCurrency"])
m = re.search(r'class="omnibus">([^<]+)<', r.text)
print("30 days:", lowest_30_days(m.group(1)) if m else None)The output looks like Słuchawki bezprzewodowe XY-3000 1299.00 PLN and 30 days: 1249.00. On real sites offers can be a list, and the class name of the 30-day line differs. Adapt the selectors to the target page.
Debugging
Most price errors on Polish pages can be recognized by a few symptoms:
- The price is far larger than it should be. The space separator has merged two adjacent numbers. Read the price from its own element or from JSON-LD.
ValueError: No price. The amount is in the English format or has no currency. Check the page language and theAccept-Languageheader.- Two sites differ by about 23%. One shows the net price, the other the gross price.
- There is a discount, but the 30-day amount is empty. The label is worded differently or sits in a separate element. Search the raw HTML for
Najni. - You see
Ĺ‚orÅ. The page was decoded with the wrong encoding. 407 Proxy Authentication Required. The username or password is wrong.
curl is enough for a quick check:
curl -x http://user:pass@pr.proxynet.io:8000 \
-H "Accept-Language: pl-PL,pl;q=0.9" \
-s https://sklep.example/produkt/xy-3000 | grep -o 'Najni[^<]*'If the command prints the 30-day line, the page arrived in Polish and in its discounted state. If the output is empty, follow the redirect with -L and -i.
How we tested
We ran the tests on 3 December 2026 with Python 3.13.17, requests 2.34.2, Node 24.22.2 (ICU 78.3, CLDR 48) and curl 8.23.0. We did not use a real shop. We set up a small local HTTP server serving an HTML page laid out like a Polish product page. In front of it we placed a Node forward proxy that asks for a password and logs every incoming request. In the examples, we replaced the proxy address and the target with these local addresses.
We tried pln_to_decimal with ten inputs. Seven Polish formats were read correctly, and the English format and the amount without a currency raised errors. The price next to a shoe size was merged incorrectly. vat_rate found 23, 8 and 5%, and returned None for a mismatched pair. The requests example passed the language header to the server and printed the price and the 30-day amount. A wrong password returned 407. The target was plain HTTP, so we did not test the HTTPS tunnel in this setup.
The bottom line
Check the official Allegro and Ceneo channels first. If you read the page, take the price from JSON-LD, keep net and gross prices apart, and write the 30-day lowest price to its own field. In flows with a cart or delivery step, Sticky Proxy keep the same exit IP for 1-60 minutes. Above all, do not trust a parser that ignores the non-breaking space or merges adjacent numbers.
Sources
- Public offer information (GET /offers/listing), Allegro Developer Portal: developer.allegro.pl
- Ceneo API overview: ceneo.pl
- General VAT rules and rates: podatki.gov.pl
- Information on price reductions, UOKiK: prawakonsumenta.uokik.gov.pl
- unicodedata module, Python documentation: docs.python.org
Frequently asked questions
Are prices in Poland shown with VAT included?
Yes, on sites selling to consumers. The large amount is the gross price, and a note saying that VAT is included often sits next to it. Sites selling to resellers may show cena netto and cena brutto side by side. When comparing, take the same type from every site. If both amounts exist, check the rate with brutto / netto - 1.
Are zł and PLN the same thing?
Yes. zł is the symbol of the Polish zloty shown on pages, and PLN is its ISO 4217 currency code. Visible prices usually use zł, while structured data and API responses use PLN. Your parser should recognize both. In the record, always store the currency with the PLN code; there is no need to keep the symbol.
What is the 30-day lowest price?
It is the field on a page announcing a discount that shows the lowest price applied in the 30 days before the discount. On Polish pages it usually appears with the label Najniższa cena z 30 dni przed obniżką. It is the on-page form of the EU price indication rule known as Omnibus. Calculate the size of the discount from this amount, not from the struck-through price.
How do I convert a Polish price to a number in Python?
By removing the spaces and turning the comma into a dot. For an amount such as 1 299,00 zł, first turn the non-breaking space (U+00A0) into a normal space. Then remove spaces and dots, turn the comma into a dot and store the result as a Decimal. Accept the amount only when zł or PLN follows it. That way the English format does not silently become a wrong number.
How do I match product names with Polish characters?
With an accent-free search key. Lowercase the name, decompose it with NFD and drop the combining marks. This step simplifies ą, ę and ż but leaves ł untouched. So replace ł with l separately. Use the key only for matching. For display, keep the product's original Polish name.
Can I read Polish prices with a Türkiye IP?
Partly. Some sites show the same price. Others redirect to another language or another country's shop and change the delivery note. If you want the price a Polish customer sees, measure with a Polish IP and a Polish language header. On the first request, verify the country of the exit IP and add it to the record.




