How to Monitor Prices in Germany: VAT, Euros and Shipping

Published:

12 minute read

Enver Kaya
Written by: Enver Kaya
A magnifier enlarges the price line on a dimmed product page: blue sale price, struck-out RRP, VAT, shipping and unit price

Price monitoring in Germany is the work of reading product prices on German e-commerce sites at regular intervals and turning them into comparable records. On a German product page, the price is not a single number. The VAT note, the unit price and the shipping note sit on the same line. Euros are written with a decimal comma, and a parser built on English assumptions misreads some formats without raising an error. This post covers the parts of the price line, euro parsing, product matching by EAN and the effect of IP address and postcode.

The parts of a German price line

On a German product page, several short notes surround the price, and each one is a separate piece of information. On sites selling to consumers, the large amount is usually VAT-inclusive. Right below it you see a note such as "inkl. MwSt., zzgl. Versandkosten". An asterisk (*) next to the price usually points to this note or to a footnote at the bottom of the page.

Shown on the pageMeaningField in the record
inkl. MwSt.VAT included in the pricevat_included = true
zzgl. MwSt.VAT added on top (mostly B2B)vat_included = false
zzgl. VersandkostenShipping charged on topshipping_note
GrundpreisPrice per kilogram, litre or pieceunit_price, unit
UVPManufacturer's recommended pricelist_price
statt / struck-out amountPrice before the discountprevious_price
abLowest price among variantsprice_type = "ab"

The trap is in UVP and the struck-out amount. Both sit in the same box as the sale price, and a loose selector catches them first. ab 9,99 € is not the price of one product either; it is the price of the cheapest variant. If you do not separate these notes from the text, you record a discount where there is none and a base price instead of the variant price.

The general flow of monitoring (product list, crawl frequency, 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 Germany.

Parsing the euro format

On a German page, the thousands separator is a dot and the decimal separator is a comma: 1.299,90 €. Many libraries expect the English format by default. The symbol comes after the number, often with a non-breaking space (U+00A0) in between. Some sites write a whole amount as 49,- €.

The function below converts these formats to Decimal. Do not use float: amounts like 1299.90 are not stored exactly in binary floating point.

python
import re
from decimal import Decimal

PREIS = re.compile(r"\d{1,3}(?:\.\d{3})+(?:,\d{2})?|\d+(?:,\d{2})?")

def euro_to_decimal(text):
    s = text.replace(" ", " ").replace(" ", " ")
    s = re.sub(r",[-–]", ",00", s)  # "49,- €" -> "49,00 €"
    m = PREIS.search(s)
    if not m:
        raise ValueError(f"No price: {text!r}")
    return Decimal(m.group(0).replace(".", "").replace(",", "."))

In our test, the function read all eight German formats we tried correctly. Selected results:

InputResult
1.299,90 € (with non-breaking space)1299.90
€ 1.299,901299.90
1299,90 EUR1299.90
19,99 €*19.99
49,- €49.00
12.5 €12 ✗

The last row holds the real lesson. 12.5, arriving in the English format, became 12 without an error. If a site switches its interface language, your records break silently. So look at the structured data on the page first: the price field inside a schema.org Offer is machine-formatted ("1299.90") and comes with priceCurrency. Parse the visible text only as a fallback and compare the two values.

Unit price and pack size

The unit price (Grundpreis) is the price per kilogram, litre, 100 grams or piece. On German sites it appears right below the main price for products such as food, cosmetics and detergents. It is the most accurate way to compare pack sizes. A 750 ml bottle and a 1 litre bottle only line up through the price per litre.

The format varies from site to site: (4,98 €/kg), 1,25 € / 100 ml, 1 kg = 4,98 €. The single pattern in our test read the first two and missed the third. Define the pattern separately for each site and leave an unreadable line empty instead of guessing.

python
GRUNDPREIS = re.compile(
    r"(?P<preis>[\d.]+,\d{2})\s*€\s*/\s*(?P<menge>[\d,]+)?\s*"
    r"(?P<einheit>kg|g|l|ml|Stück)"
)

def grundpreis(text):
    m = GRUNDPREIS.search(text.replace(" ", " "))
    if not m:
        return None
    menge = Decimal((m.group("menge") or "1").replace(",", "."))
    return euro_to_decimal(m.group("preis")), menge, m.group("einheit")

1,25 € / 100 ml returns (1.25, 100, "ml"). For comparison, convert everything to one base: per litre this amount is 12,50 €. Phrases in the product name such as 3er-Pack or 6 x 0,5 l also change the quantity. Store the unit price as shown on the page and do the conversion in a separate column. The site rounds by its own rules.

German product names and EAN

German product names are a poor fit for text matching. Compound words are long (Kaffeevollautomat), and the same product may be spelled Größe on one site and Groesse on another. In Python, "Straße".casefold() returns "strasse". Two strings that look identical can also arrive in different Unicode forms. In our test, the composed (NFC) and decomposed (NFD) spellings of Größe did not compare equal until unicodedata.normalize("NFC", …) was applied.

The EAN is a sturdier key. EAN-13 (GTIN-13) is the 13-digit barcode number on the product's packaging. Many German shops publish it on the product page in an "EAN" line or in the gtin13 field of the schema.org data. The last digit is a check digit. The first twelve digits are multiplied by 1 and 3 in turn, starting from the left, and summed. The digit that rounds the sum up to a multiple of 10 is the check digit.

python
def ean13_ok(code):
    if not re.fullmatch(r"\d{13}", code):
        return False
    d = [int(c) for c in code]
    total = sum(x * (3 if i % 2 else 1) for i, x in enumerate(d[:12]))
    return (10 - total % 10) % 10 == d[12]

Do not feed a code with a failing check digit into matching. A value corrupted while copying, or one that is actually the site's own stock code, usually fails this test. The first digits of an EAN identify the GS1 organisation that issued the number, not the country where the product was made. If there is no EAN, match by brand, model code and normalised name, and flag the result as a list for manual review.

IP address and postcode

German sites usually look at a visitor through two pieces of information: the country of the IP address and the postcode entered (PLZ). The same page opened from a Türkiye IP may redirect to another country's store, show a country picker or state that it does not deliver outside Germany. The shipping note and delivery time change accordingly. The price you record may not be the price a German customer sees.

The postcode usually sets the delivery time (Lieferzeit), stock status and, on some sites, the shipping options. The site writes it to a cookie or a server session. So use the same PLZ throughout each measurement series and add it to the record. If the price changes with the postcode, keep the two codes as separate series.

Take the measurement from an IP that exits in Germany. We explained how the location is chosen at the gateway in How Does Country and City Targeting Work in a Proxy?.

Residential Proxy, which carry home-connection IPs, open the page from a home connection in Germany. The site returns that page as it would show it to a visitor in Germany.

The example below requests the page with a German language header and reads the price from the structured data. The Session keeps cookies, so the PLZ cookie the site sets travels back on later requests.

python
import json
import re

import requests

PROXY = "http://user:pass@pr.proxynet.io:8000"
URL = "https://shop.example/produkt/xy-3000"

s = requests.Session()
s.proxies = {"http": PROXY, "https": PROXY}
s.headers["Accept-Language"] = "de-DE,de;q=0.9"

r = s.get(URL, timeout=30)
r.raise_for_status()

blocks = re.findall(
    r'<script type="application/ld\+json">(.*?)</script>', r.text, re.S
)
for block in blocks:
    data = json.loads(block)
    if data.get("@type") == "Product":
        offer = data["offers"]
        print(data.get("gtin13"), offer["price"], offer["priceCurrency"])

The output looks like 4006381333931 1299.90 EUR. On real sites, offers may be a list and the script tag may carry extra attributes. Adapt the code to the structure of the target page. Do not send hundreds of requests a minute to a site, and follow its terms and robots.txt rules.

Most German sites show a cookie consent banner (Cookie-Banner) on the first visit. The banner is usually a layer that opens over the page. The price is still in the HTML. So a plain HTTP request never sees the banner and reads the price.

The problem appears in browser-based monitoring. The banner covers the price, the screenshot captures the banner and a click lands on another element. Because the choice is written to a cookie, the banner opens again in every new session. If you use a browser, pick the option that allows only necessary cookies (usually "Nur notwendige" or "Ablehnen") and keep the same session for the whole measurement series.

Troubleshooting

Most price errors on German pages can be recognised by a few symptoms:

  • The price is 100 times too large or too small. The thousands and decimal separators are mixed up. Check that the parser expects the German format.
  • The price differs from what you see in the browser. The IP country, postcode or session is different. Write all three to the record.
  • A discount shows on a product with no discount. The selector caught UVP or the struck-out amount.
  • The structured data is empty. The price may be added to the page with JavaScript. Search the raw HTML for ld+json.
  • The page says "Lieferung nicht möglich". The exit IP or the postcode is not in Germany.
  • 407 Proxy Authentication Required. The username or password is wrong.

For a quick check, curl is enough:

bash
curl -x http://user:pass@pr.proxynet.io:8000 \
  -H "Accept-Language: de-DE,de;q=0.9" \
  -s https://shop.example/produkt/xy-3000 | grep -o 'inkl\. MwSt[^<]*'

If the command prints the VAT note, the page is coming from the German store. 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 and curl 8.23.0. We did not use a real shop. Locally, we set up a small HTTP server serving an HTML page in the layout of a German product page. In front of it we placed a Node forward proxy that requires a password and logs every incoming request. In the examples, we replaced the proxy address and the target with these local addresses.

We tried the euro function with nine inputs. All eight German formats came out correct, while the English 12.5 became 12. The unit price pattern read three of the four formats. The EAN function accepted a valid code and rejected one with a changed last digit and one with 12 digits. The Requests example passed the Accept-Language header to the server and printed gtin13, the price and the currency. A wrong password returned 407. The target was plain HTTP; we did not test the HTTPS tunnel in this setup.

The bottom line

Record the German price line not as a single number but together with the VAT note, unit price, shipping note and previous price. Read the price from the structured data first, match products by EAN and keep each series on the same IP country and postcode. To keep a session with an entered postcode on the same IP, Sticky Proxy hold the same exit for 1-60 minutes. Above all, do not trust a parser that produces a wrong number without raising an error.

Sources

Frequently asked questions

Do German sites show prices including VAT?

Mostly yes, on sites selling to consumers. The note "inkl. MwSt." appears next to or below the price, sometimes with the rate. B2B sites selling to resellers may instead show the net amount with a "zzgl. MwSt." note. So read the note from the text and write it to the record as a separate field. Do not compare two prices of different types in the same column.

What is Grundpreis?

Grundpreis is the price per kilogram, litre, 100 grams or piece. On German sites it appears below the main price for food, cosmetics and cleaning products. It is the most accurate value for comparing pack sizes. If the page shows it, store it rather than calculating it yourself. Because the format varies from site to site, define a separate pattern for each site.

How do I convert a German euro price to a number in Python?

By removing the dots and turning the comma into a dot. For an amount like 1.299,90 €, first strip the non-breaking space and the euro sign. Store the result as Decimal("1299.90"), not as a float. If you want a ready-made library, Babel's parse_decimal does the same job with locale="de". Where possible, take the price from the page's schema.org data, where the amount is already machine-formatted.

Can I track German prices with a Türkiye IP?

Partly. Some sites show the same price. Others redirect to another country's store, open a country picker or state that they do not deliver outside Germany. The shipping note and delivery time may change too. If you want the price a German customer sees, take the measurement with a German IP and a fixed German postcode.

Is EAN enough for product matching?

In most cases yes, but not on its own. Sellers may reuse the same EAN in bundle or multipack listings. Validate the check digit and compare the pack quantity separately. For products without an EAN, match by brand, model code and normalised name. Flag those matches as a list for manual review.

Not in a plain HTTP request. The banner is usually a layer that opens over the page, and the price is still in the HTML. In browser-based monitoring, however, the banner can cover the price, end up in screenshots and catch clicks. Because the choice is written to a cookie, keep the same session for the whole measurement series. In a new session, the banner opens again.

Ask ChatGPTAsk Claude