How to Monitor UK Grocery and Supermarket Prices Responsibly

· Updated:

UK grocery price monitoring means tracking shelf prices, loyalty-member prices, unit prices and promotions for a defined basket across British supermarkets, at a pace that respects each retailer's terms. Start with licensed or official data where it exists; if you collect public product pages yourself, you need UK-specific parsing and a British network location.

Unmetered British IPv4 for polite price checks

What UK grocery price monitoring has to capture

A British grocery price is rarely a single number. A useful record for each product holds the regular price, any loyalty-member price, the unit price, any multibuy or meal-deal mechanic, the pack size and the date. Without those fields, a price tracker reports changes that are really promotions, pack-size changes or member-only offers.

Loyalty prices are a second shelf price

Several large UK grocers show two prices: a standard price and a price for loyalty members, such as Tesco Clubcard Prices and Sainsbury's Nectar Prices. Recording only the standard price overstates what many shoppers pay; recording only the member price understates it for everyone else. Store both, with a flag for which is which.

Unit pricing and the Price Marking Order

Grocers in Great Britain show unit prices (per kg, per litre, per 100 g or per item) under the Price Marking Order 2004. Amendments made in 2024 and 2025 tighten the rules, including showing unit prices for loyalty prices as well as standard prices; check the Department for Business and Trade guidance for when each change applies. Unit prices are what let you spot a smaller pack at an unchanged price, so parse them as numbers with units rather than as text.

VAT and other UK details your parser must handle

  • Consumer prices include VAT: most food is zero-rated, while items such as confectionery, crisps, soft drinks, alcohol and household goods are generally standard-rated. The shelf price already includes it; do not add VAT again.
  • Pounds and pence: prices appear as £1.25 or 85p, so normalize both to one unit.
  • Multibuys and meal deals: "3 for £5" or "any 2 for" mechanics need the qualifying quantity and the effective per-item price, not a single number.
  • Loose versus packed: produce sold per kg and fixed-weight packs must be compared on unit price.
  • Postcode-based catalogues: online grocers often ask for a postcode or delivery slot, and availability and some prices depend on the store or depot that serves it. Fix one postcode per retailer and record it.

Check official and licensed data before you collect anything

Start with what you can use without collecting it yourself. The Office for National Statistics publishes consumer price statistics, and commercial data providers license grocery pricing data collected under agreements with retailers or under their own terms. If you work with a retailer directly, ask about feeds or partner programmes. These routes are usually cheaper than maintaining your own crawler and come with clear permission.

If you still need your own collection, read each supermarket's website terms and robots.txt first. Many retail sites restrict automated access in their terms; if a site's terms do not allow it, do not collect from that site. Collect only public product data: no logged-in pages, no customer reviews tied to names, no personal data.

Polite collection for a small, permitted basket

Where collection is permitted, keep it small and slow: a defined basket of products, a few requests per minute at most, run once a day, ideally outside busy shopping hours. Identify your crawler honestly in the User-Agent with a contact address. When a site answers with 429 (Too Many Requests) or 503, slow down and stop the run; do not retry harder or switch addresses. Our retry and backoff guide explains the pattern in more depth.

# pip install requests
import time
import urllib.robotparser
import requests

PROXY = 'http://USER:PASS@IP:PORT'
UA = 'BasketPriceResearch/1.0 (contact: [email protected])'
BASE = 'https://www.example.co.uk'
PATHS = ['/product/semi-skimmed-milk-2-pints', '/product/white-bread-800g']

rp = urllib.robotparser.RobotFileParser()
robots = requests.get(BASE + '/robots.txt', headers={'User-Agent': UA},
                      proxies={'http': PROXY, 'https': PROXY}, timeout=15)
rp.parse(robots.text.splitlines())

session = requests.Session()
session.proxies = {'http': PROXY, 'https': PROXY}
session.headers.update({'User-Agent': UA, 'Accept-Language': 'en-GB,en;q=0.9'})

for path in PATHS:
    url = BASE + path
    if not rp.can_fetch(UA, url):
        print('Disallowed by robots.txt, skipping:', url)
        continue
    r = session.get(url, timeout=15)
    if r.status_code in (429, 503):
        print(f'Got {r.status_code}; stopping this run. Retry-After:', r.headers.get('Retry-After'))
        break
    print(r.status_code, url, len(r.text), 'bytes')
    time.sleep(20)  # a few requests per minute at most

Parsing is retailer-specific and changes when sites are redesigned, so keep parsers in small, tested functions and alert when a field comes back empty instead of storing a zero.

Where a ProxyV4 UK IPv4 proxy fits price monitoring, and where it does not

If your team or servers are outside Britain, a private UK IPv4 proxy from ProxyV4 gives your permitted collector or your analysts' browser a datacenter address in the United Kingdom, so sites show British pages, pounds and UK delivery options rather than an international notice. Each IP has one tenant for the whole term and stays the same while active and on renewal, which keeps a fixed postcode session and your logs consistent. Traffic is unmetered, and every proxy supports HTTP(S) and SOCKS5 with username and password or IP whitelist login for up to 3 public IPv4 addresses.

It does not fit large-scale collection across whole catalogues, any plan that depends on rotating through many IPs, or work that needs a mobile connection. In the UK ProxyV4 sells private datacenter IPv4 and, now, static ISP, with no city choice; rotating and mobile proxies are not on sale. Some retailers may also handle datacenter traffic differently from home broadband, which is another reason to prefer licensed data.

For a small basket one IP is often enough. See live prices and the United Kingdom proxy page; if a proxy cannot connect or shows the wrong country, the refund policy credits your balance.

Turning raw prices into a usable UK basket

Match products across retailers with a shared key: brand, product name, pack size and unit. Own-label items rarely match exactly, so group them by tier (value, standard, premium) and compare on unit price. Store each observation as a row with retailer, postcode, date, regular price, member price, promotion text and unit price, then compute basket totals for shoppers with and without loyalty cards.

Review the basket every few months. Ranges change, pack sizes shrink and new own-label lines appear, and a basket that is not maintained slowly stops representing what people buy.

Frequently asked questions

Is it legal to monitor UK supermarket prices?

Comparing publicly displayed prices is common, but each site's terms, the Computer Misuse Act and UK GDPR still apply. Prefer licensed data, follow terms and robots.txt, and take legal advice for a commercial product.

Should I track Clubcard and Nectar prices separately?

Yes. Store the standard price and the member price as separate fields so basket totals can be shown for both kinds of shopper.

Why do I see different prices from outside the UK?

Online grocers usually serve British customers and may show an international notice or no delivery options to foreign visitors. Prices and availability can also depend on the postcode you set.

What should my crawler do on a 429 response?

Slow down and stop the run, honoring any Retry-After header. Do not retry harder or switch IPs to keep collecting.

Is one UK IP enough for a grocery basket tracker?

For a small daily basket, usually yes. Traffic is unmetered and you can order a single IP, then add more only if your permitted workload grows.

Unmetered British IPv4 for polite price checks

Run your permitted UK basket checks from a private British IPv4 with unmetered traffic and the same address on renewal. Start with one IP.

See UK prices

Related articles

Knowledge base
Setting Up a Proxy for Price Monitoring the Right Way
How to use a proxy for price monitoring: see regional prices from a fixed IP, respect robots.txt and rate limits, and collect public data with Python.
Knowledge base
How to Retry with Backoff in a Web Scraper
Retry with backoff when scraping: which errors to retry, honoring Retry-After on 429 and 503, exponential backoff with jitter, and a per-host circuit breaker.
Use cases
Designing a scraper around a pool of dedicated IPs
A planning guide for data teams: size a pool of private static IPs, rotate them in your own code, pick IPv4, ISP or IPv6, and collect data responsibly.
Proxies by country
UK Proxies: British IP Addresses for Sellers, SEO and Ad Teams
Buy a UK proxy: a static British IP used by you alone, private IPv4 for google.co.uk tracking and eBay UK research or static ISP for Amazon.co.uk seller logins.
IPV4 · united kingdom
UK Private IPv4 Proxy for Marketplaces, Search and Campaigns
UK private IPv4 proxy with a static British datacenter IP rented to one customer, for eBay UK and Amazon.co.uk research, google.co.uk tracking and UK ad checks.
Knowledge base
How to Check UK Ads and Landing Pages From Outside Britain
Check how your ads appear in the UK from abroad: preview tools first, then a British IP for landing pages, GBP prices with VAT and CAP Code checks pre-launch.
Knowledge base
Testing Your UK Age Assurance Flow From Abroad: A QA Guide for Site Owners
For site owners: test Online Safety Act age checks on your own service from outside the UK, using a British IP, vendor sandboxes and a fail-closed QA checklist.
Knowledge base
How to Check Your Store Shows UK Shoppers the Right VAT-Inclusive Prices
Test UK VAT pricing on your store as British shoppers see it: VAT-inclusive GBP prices, the £135 point-of-sale rule, cart totals and checkout, from a UK IP.
Free tools
Check proxies in bulk: status, exit IP and latency
Free online proxy checker: paste up to 100 ip:port:user:pass lines and see which proxies work, their exit IP and latency, plus what each failure result means.
Products
Dedicated datacenter proxies: one private IPv4 per customer
Private IPv4 proxies in the US, Vietnam, Japan, South Korea, Singapore, the UK and Hong Kong. One tenant per IP, HTTP(S) and SOCKS5, no traffic metering.