Competitor price scraping
Price scraping is the automated collection of competitor prices from online stores and marketplaces: selling price, list price, promotion, shipping and stock for every product you track. Zenrows fetches those pages from protected retail sites, returns the fields as JSON, and refreshes your SKU list on a schedule with Batch.
Updated
{
"your_sku": "AUR-JKT-M-BLK",
"competitor": "example-outdoor.com",
"url": "https://www.example-outdoor.com/p/aurora-rider-jacket",
"price": 119.0,
"list_price": 149.0,
"currency": "USD",
"promotion": "20% off with code FALL20",
"shipping": 0.0,
"delivered_price": 119.0,
"in_stock": true,
"country": "us",
"captured_at": "2026-10-17T06:00:00Z",
"previous": { "price": 129.0, "captured_at": "2026-10-16T06:00:00Z" },
"change": -10.0
}
previous and change from diffing with the last run.What price monitoring teams collect
Start from your products and the competitor URLs that sell them.
Then choose how often to read them and which fields to keep.
| Job | Data you collect | Typical sources |
|---|---|---|
| Competitor price tracking | Selling and list price per SKU | |
| Promotion and markdown tracking | Sale badges, coupons, bundles, dates | Product and deal pages, |
| Delivered price | Shipping fee, free-shipping threshold, delivery date | Product and cart pages |
| Marketplace offers | Lowest offer, seller count, featured seller | |
| Regional and country pricing | Local price and currency | |
| Grocery price tracking | Shelf and unit price per store or postcode | |
| Price history | Every price, timestamped | Your past runs |
Why price scraping breaks
Retailers protect prices hardest and change them most.
Failures are quiet: a 200 with the price missing, stale or from the wrong market.
A CAPTCHA inside a 200, or 403s after a few hundred requests
Zenrows' stealth gets through AWS WAF, PerimeterX (HUMAN) and Akamai
Empty or placeholder price in the raw HTML
Adaptive Stealth Mode renders the page only when the price needs it
Price and stock load from a JSON endpoint
Zenrows captures the XHR calls; read the price from the response
The US price or currency when you track the UK store
Geotargeting requests from the country you price
A price from another store than your customer's
Set the store per task, by cookie or Browser session
The struck-through price instead of the selling one
One CSS selector per field keeps price and list_price apart
How to scrape competitor prices with Zenrows
- Match SKUs to competitor URLs, by GTIN or model number where shown.
- Name the fields per retailer:
price,list_price,promotion,shipping,stock. - Test 20 URLs per retailer with Adaptive Stealth Mode and check every field comes back.
- Schedule the full list in Batch, daily or hourly, and store each run to diff.
# pip install requests
import json
import requests
# Example selectors: write one set per competitor site
fields = {
"price": ".product-price .sale",
"list_price": ".product-price .was",
"promotion": ".promo-badge",
"shipping": ".shipping-cost",
"stock": ".availability",
}
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": "COMPETITOR_PRODUCT_URL",
"mode": "auto",
"proxy_country": "gb",
"css_extractor": json.dumps(fields),
}
response = requests.get("https://api.zenrows.com/v1/", params=params)
print(response.json()) # {"price": "£119.00", "list_price": "£149.00", ...}curl -X POST "https://async.api.zenrows.com/v1/jobs" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "regular",
"status": "closed",
"zenrows_params": {
"mode": "auto",
"css_extractor": "{\"price\":\".product-price .sale\",\"stock\":\".availability\"}"
},
"tasks": [
{ "url": "COMPETITOR_URL_1", "external_id": "AUR-JKT-M-BLK" },
{ "url": "COMPETITOR_URL_2", "external_id": "AUR-JKT-L-BLK" }
]
}'npx -y @zenrows/cli init
zenrows extract COMPETITOR_PRODUCT_URL --proxy-country gb \
--css '{"price":".product-price .sale","list_price":".product-price .was","stock":".availability"}'
# skus.jsonl: one {"url": "...", "external_id": "YOUR_SKU"} per line
zenrows batch create skus.jsonl --wait
zenrows batch results <job-id> --out prices-today.jsonl# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
# Then ask:
Use Zenrows to check the price, list price and stock of this jacket on John Lewis,
Next and ASOS (URLs below), and give me a table sorted by price, with the
difference against our price of £129.Which Zenrows product fits
- Check one price on demand FetchOne request, the page or the price fields
- Read many store layouts without selectors ExtractPrice, stock and product fields as JSON
- Refresh thousands of SKUs daily BatchOne job; external_id carries your SKU
- Get a price behind a postcode or size choice BrowserPlaywright or Puppeteer in a real browser
- Let an analyst ask for a price check MCP ServerClaude calls Zenrows and returns a table
What success looks like
| Measure | What good looks like | How to check it |
|---|---|---|
| Match rate | Every SKU matched at every competitor that sells it | SKUs with a live URL, per competitor |
| Price accuracy | The price a local shopper sees | Weekly spot-check from that country |
| Freshness | No price older than one cycle | Alert on a stale captured_at |
| Field completeness | A price on nearly every record | Empty price rate, per retailer and run |
| Change detection | Drops and promotions flagged within one cycle | Alert time against capture time |
| Run duration | The refresh done before the team starts | Start and end time of each Batch job |
Price scraping and monitoring FAQ
-
The automated collection of prices from websites. Retail teams read competitor product pages on a schedule and keep price, promotion, shipping and stock per product, building a price history that feeds pricing decisions.
-
A tool gives dashboards and matching for the retailers it supports. An API gives raw prices from any retailer, at your cadence, in your warehouse. Teams with a data engineer build on an API; teams that want a screen buy a tool.
-
As often as prices move: daily for most categories, every few hours for electronics, marketplaces and grocery promotions. Before Black Friday, raise it for top sellers only.
-
By GTIN, UPC, EAN or part number where the page shows one; otherwise by brand and model, checked by hand for top sellers. See product matching.
-
Yes, through Adaptive Stealth Mode, with geotargeting per marketplace country. For offers, read the offer listing too: the featured price can change seller daily.
-
The analysis on top of scraped prices: your price index per competitor, where you are cheapest, promotion depth, and how fast rivals follow you. Scraping supplies the observations; matching and history make it intelligence.
-
Yes. Price your basket in each competitor store facing your branches, one Batch task per store with its ID in
external_id, for a gap per trade area. See retail data. -
Collecting public prices is common practice in retail. Review each site's terms, keep request rates reasonable, collect product data only, and check your case with your legal team.