← Back to projects

Real-Time Competitor Price Monitor

Overview

Automatically scrapes competitor product or service prices every day, compares with own prices, calculates percentage deviation and sends an email alert whenever a competitor changes a price by more than 5%.

Monitored
4
Competitors
3
Alerts today
0
Service
Mine
A
B
C
Piano Base
49
52
47
55
Piano Pro
99
105
89
110
Piano Team
199
210
195
220
Consulenza
150
140
165
155
Blue = competitor more expensive · Yellow = competitor cheaper

Details

The problem
Manually monitoring competitor prices is tedious and impossible to do frequently. Market price changes can happen at any time, and noticing them late means losing clients who find better deals elsewhere, or losing margin by charging too much compared to the market.
The solution
A Python script using BeautifulSoup and requests that runs every morning at 06:00. It visits configured competitor product or listing pages, extracts current prices, compares them with the previous day's values in SQLite and with the owner's prices. If a competitor changes a price beyond the configured threshold (default 5%), an alert email is immediately sent with the change details.
How it works
1. Competitor URL list configured in a JSON file 2. Scrape pages with requests + BeautifulSoup every morning 3. Extract prices and compare with previous value in SQLite 4. Calculate percentage deviation per SKU / service 5. Immediate alert if change > configurable threshold 6. Weekly report with price trends across all competitors 7. Auto-updated CSV dashboard for manual analysis
Typical results
Continuous monitoring of 20–50 products across 3–5 competitors with no manual intervention. Price change response time reduced from days to hours. Pricing strategy optimisation with real data updated every 24 hours.