Project · Competitor price tracker
Knowing every competitor price change on 356 products, every week
The problem
Prices are checked by hand on a few competitor sites now and then, so the business finds out it was undercut after the sales are gone.
The solution
A weekly pipeline reads competitor prices, matches each product to the client's own, keeps every price with its date, emails an alert when a key product is undercut, and shows price gaps in Power BI.
How it works
- Collect: Competitor prices read every week, from product pages and published shelf prices
- Match: Each competitor product matched to the client's own product, by barcode or by name
- Store: Every price kept with its date, so changes become history
- Alert: An email when a competitor undercuts a key product
- Report: Power BI pages of price gaps and changes by product
A closer look


The code
for attempt in range(8):
response = http.get(url, params=params or None, timeout=60)
if response.status_code not in (429, 503):
break
wait = response.headers.get("Retry-After", "")
time.sleep(int(wait) if wait.isdigit() else 2 ** attempt)
response.raise_for_status()
return responseThe impact
- Competitor prices checked automatically, with no one browsing.
- An alert the week a key product is undercut.
- Price history, so promotions and patterns show up.
The result
356 products across 10 stores: 127 price changes caught, each within one run.