Retail data scraping
Retail data scraping collects store-level information from physical and omnichannel retailers: locations, prices per store, promotions, weekly flyers, assortment and click-and-collect stock. Zenrows fetches retailer sites as a shopper in a chosen store or postcode sees them, past protection, and returns records to compare across stores, regions and chains.
Updated
{
"chain": "Example Grocer",
"store": {
"store_id": "0412",
"name": "Example Grocer Riverside",
"postcode": "M4 1AB",
"format": "superstore"
},
"product": {
"name": "Semi-skimmed milk 4 pints",
"retailer_code": "254881903",
"size": "2.272 l"
},
"price": 1.65,
"unit_price": { "value": 0.73, "per": "litre" },
"loyalty_price": 1.45,
"promotion": {
"type": "multibuy",
"text": "2 for 3.00",
"valid_from": "2026-10-15",
"valid_to": "2026-11-04"
},
"availability": { "delivery": true, "click_and_collect": true },
"currency": "GBP",
"collected_at": "2026-10-17T05:40:00Z"
}
What retail data teams collect
Chains price, promote and stock per store or region, so every job starts by picking the store.
| Job | Data you collect | Typical sources |
|---|---|---|
| Grocery price index | Shelf, unit and loyalty price of a basket, per store | |
| Promotion and flyer tracking | Deal text, mechanic, dates, featured products | Weekly ads and offers at Aldi, Lidl, |
| Store network mapping | Addresses, formats, hours, openings and closures | Chain store locators, |
| Regional assortment | Products listed per store or region | Store category pages |
| Click-and-collect availability | Pickup and delivery options per store | |
| Retail analytics for CPG brands | A brand's prices, promotions and photos across chains | Supermarket, pharmacy and duty-free sites |
Why store-level retail data is hard to scrape
A retailer's site shows one store at a time: you shop each store, many times, without being blocked.
National prices, or a redirect to a store picker
Fetch sends the store cookie as a header; Browser clicks the picker
A run times 300 locations misses its window
Batch runs every store and product pair as one job
Queue pages and challenges in promotion weeks
Zenrows' stealth gets through Akamai, Cloudflare and similar
Cloud IP ranges blocked outright
Adaptive Stealth Mode, geotargeted to the chain's country
No HTML prices to parse
A dated screenshot of each flyer page
Stores load as the map moves
Crawl reads the per-store pages most chains publish
How to scrape retail data with Zenrows
- Build the store list from the directory or locator: ID, address, postcode.
- Learn how the site sets the store: cookie, URL parameter or session.
- Fetch prices per store with the cookie as a header, or Browser for an interactive picker.
- Capture promotions: deal text and dates, screenshots of image-only flyers.
- Run it as one job in Batch: daily for promotions, weekly for the basket.
curl -X POST "https://api.zenrows.com/v1/crawls" \
-H "X-API-Key: YOUR_ZENROWS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "STORE_DIRECTORY_URL",
"max_items": 2000,
"max_pages": 2000,
"include_patterns": ["/stores/"],
"exclude_patterns": ["/stores/search"],
"output_format": "markdown"
}'# pip install requests
import requests
params = {
"apikey": "YOUR_ZENROWS_API_KEY",
"url": "PRODUCT_URL",
"mode": "auto", # Adaptive Stealth Mode
"proxy_country": "gb",
"custom_headers": "true",
"extract": "auto",
}
# The store the site should price for, copied from your browser
# (example cookie name: check which one the retailer uses)
headers = {"Cookie": "selected_store=0412"}
response = requests.get("https://api.zenrows.com/v1/", params=params, headers=headers)
print(response.json()["parsed"])npx -y @zenrows/cli init
# Dated screenshot of this week's flyer page
zenrows fetch FLYER_URL --proxy-country gb --screenshot --out flyer-2026-10-19.png
# Every store and product pair as one job
zenrows batch create store-products.jsonl --wait
zenrows batch results JOB_ID --out prices.jsonl# Connect once
claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp
# Then ask:
Use Zenrows to open the Tesco website, set the store to the one nearest postcode LS1 4AP, then return the shelf price, Clubcard price, unit price and promotion text for semi-skimmed milk 4 pints, Hovis wholemeal bread 800g and PG Tips 80 tea bags.Which Zenrows product fits
- Get one store's product prices FetchStore cookie as a header, market by geotargeting
- List every store a chain operates CrawlPer-store pages from the chain's directory
- Price a basket across hundreds of stores BatchEvery store and product pair in one job
- Pick a store via a map or form BrowserPlaywright or Puppeteer drives the picker
- Get product fields without writing selectors ExtractPrice, size and promotion as JSON
What success looks like
| Measure | What good looks like | How to check it |
|---|---|---|
| Store coverage | Every basket item priced in every panel store | Missing pairs per run |
| Location accuracy | The store you asked for, not a default | Spot-check with that store selected |
| Promotion capture | Mechanic and both dates on every promotion | Promotions missing a date |
| Unit price consistency | Prices per litre, kilo or count across chains | Records without a unit price |
| Run completion | Done before analysts start | Batch end time against your deadline |
| Failure rate per run | Few retries, flat as stores are added | Failed tasks over pairs, per Batch job |
Retail data FAQ
-
Collecting public data on retailers' stores and what each sells: locations, hours, prices, promotions, assortment, pickup. It covers supermarket, pharmacy, DIY, electronics and department store chains selling in stores and online.
-
From the chains' own sites, which publish delivery and click-and-collect prices, often per store. Set the store by cookie or session; keep shelf, unit and loyalty price apart, as loyalty pricing is common in UK and US grocery.
-
Yes, when the retailer prices online by store. Fix the store the way the site does: a cookie as a Fetch header, or the picker in Browser.
-
Offers pages are usually HTML, which Fetch returns directly. Image or page-turn flyers: screenshot each page with its date and extract deals in your pipeline.
-
Crawl the per-store directory most chains publish, like
/stores/, with an include pattern. Map-only chains: query the locator over a postcode grid and deduplicate by store ID. -
Shelf and promo price, mechanic and dates, pack size and unit price, per chain and region, with store and date on every record to compare against competitors in the same stores.
-
Map one comparable basket to each chain's pages and price it in your panel stores, set the way each site expects. Convert pack size to a unit price per litre, kilo or count, so a 4-pint and a 2-litre bottle compare.