How to Collect Public Product Price Data for Market Research
Price data is only useful if it answers a clear question. This guide covers planning, responsible collection, cleaning and storage of public product prices.
10 min readUpdated Nov 14, 2026By XPASS Editorial Team

Prices are one of the clearest signals in a market. They show where competitors position themselves, how promotions are timed, which products are moving into or out of a range, and how regional markets differ. Teams that do market research often want to track them across many shops. Doing this by hand does not scale, so people turn to automated collection. The technology is the easy part. The harder parts are asking a good question, choosing sources you are allowed to use, collecting data in a way that stays comparable over time, and treating the target sites with respect.
This guide walks through a practical workflow for collecting public product prices for market research: define the question, choose and vet sources, design the data, collect politely, clean and validate, store and analyse. It assumes you work only with data that is publicly visible, and that you follow each site's terms and the laws that apply to you. If you are new to the topic, start with the introduction to web scraping and public data.
Start with the question, not the scraper
Data collection without a question tends to produce a large, messy pile that nobody uses. Before you write any code, write down the question in one sentence. Examples:
- How does our price for product X compare with the range of listed prices among five comparable shops?
- How often do competitors run discounts in a category, and how large are they?
- Do prices for the same product differ between regional versions of a store?
- Which brands appear at which price points in a given category?
The question decides everything that follows: which products, which sources, how many fields, how often to collect and how long to keep the data. A question about positioning needs a snapshot of a few dozen products. A question about promotion timing needs frequent observations of fewer products over many weeks.
Also decide what decision the answer will support. If no decision depends on the result, the project is probably not worth the effort.

Choose and vet your sources
List the candidate sources, then check each one before collecting anything.
- Terms of use. Read what the site says about automated access and data reuse. If it prohibits automated collection, skip it or look for an alternative.
- robots.txt. Check the paths you plan to visit. The Robots Exclusion Protocol is described in RFC 9309. Follow it.
- Official data. Look for an API, a product feed or a downloadable data file. Official sources are more stable and often come with usage rules.
- Public visibility. Confirm the prices are visible without login. Do not use credentials that are not yours.
- Comparability. Make sure the products are actually comparable: same size, pack quantity, model or variant.
Be cautious with marketplaces where different sellers list the same item with different conditions. A single page may show several prices, shipping options and used or new variants. Decide in advance which price you mean: the lowest, the featured offer, or all of them.
Design the data before you collect it
A price number on its own is nearly meaningless. To be useful later, each observation should carry context. A practical schema:
| Field | Why it matters |
|---|---|
| Product identifier | Brand, model, SKU or GTIN where shown, so the same product can be matched across shops |
| Product name as displayed | Helps with manual checks |
| Source and URL | Lets you trace and re-check |
| Price as displayed | The raw string, kept before any cleaning |
| Numeric price and currency | The cleaned value for analysis |
| Tax and shipping notes | Whether the price includes tax, and whether delivery is extra |
| Availability | In stock, out of stock or pre-order |
| Region or store version | Prices can differ by country or locale |
| Promotion flag | Whether a discount or strike-through price is shown |
| Collected at | Timestamp with timezone |
Keep the raw displayed string next to your parsed number. When the site changes its format, or when you find a parsing bug later, you can re-process the stored values instead of collecting again.
Collect politely and efficiently
Responsible collection keeps both your project and the target sites healthy.
- Start small. Collect a handful of pages by hand first. Look at the raw responses and check where the price is located.
- Prefer structured data. Many product pages include structured data blocks or load prices from a JSON endpoint that is part of the public page. When the site's terms allow it, reading these is more stable than parsing visual layout.
- Space out requests. Do not send bursts. Add delays between requests, and spread large jobs over time.
- Identify your client. Use a clear
User-Agentand, where appropriate, contact details. - Cache and use conditional requests.
ETagandLast-Modifiedheaders, defined in RFC 9110, let you avoid downloading unchanged content. - Limit what you fetch. Fetch the product pages you need, not entire sites. Skip images and scripts you do not use.
- Handle errors calmly. Retry a transient error a few times with growing delays, and stop on persistent errors or if the site asks you to slow down.
Never try to defeat CAPTCHAs, rate limits or access controls. If a site blocks automated access, treat that as a decision to respect.
Plan your traffic as well. Price pages can be large, and a daily job over hundreds of products adds up. The guide on monitoring proxy traffic with alerts shows how to watch consumption so a job does not stop halfway.
Where a proxy can help, and where it cannot
A proxy is not required for every price project. A small, polite job often runs from one connection. A proxy can be useful for legitimate needs, for example:
- Checking how a public, localized price page appears from a different region, so you can compare regional versions of the same store.
- Keeping research traffic separate from your office or home connection.
A proxy relays requests, as explained in the MDN article on proxy servers and tunneling. It does not give you permission to ignore a site's terms, and it is not a way around blocks. Use it for lawful, transparent research only. If you decide to try one, see the proxy page for what is on offer and check the plan details yourself.
Clean and validate the data
Raw price data always contains surprises. Build a cleaning step that does the following:
- Parse prices carefully. Currency symbols, thousands separators and decimal marks differ between locales. A string like
1.299,00and1,299.00mean the same number in different conventions. Parse according to the locale of the source. - Normalize currency. Store the original currency. If you convert, record the exchange rate used and its date.
- Normalize units. For products sold by weight or volume, compute a unit price so that different pack sizes can be compared.
- Separate list price and sale price. If a strike-through price is displayed, keep both values and the flag.
- Remove duplicates. The same product can appear on several pages, such as category and search pages.
- Detect outliers. A price that is ten times higher or lower than the rest of the series is more likely a parsing error than a real price. Flag it and check it by hand.
- Mark missing data. If a page did not load, record a missing value rather than a zero.
A good check is to pick a random sample every week and compare your stored values with the live page. If they disagree, fix the extraction before drawing any conclusion.
Store and analyse
Choose storage that matches the size of the project. A CSV file or spreadsheet may be enough for a few hundred rows. A database table with a unique key on product, source and timestamp works better when the series grows.
Once the data is stable, typical analyses include:
- Price distribution: where your price sits between the minimum, median and maximum of comparable products.
- Price index over time: the average change of a basket of products, relative to a base date.
- Promotion frequency and depth: how often discounts appear and how large they are.
- Regional differences: the same product compared across localized versions.
A plain example: you sell a brand of water bottles and want to know your position. You select ten comparable models from five public shops, collect the displayed price, currency, pack size and availability once a week for eight weeks, and compute the price per unit. At the end you see that your price is near the median for most models but above it for two, and that two competitors run short promotions toward the end of each month. That is actionable and small enough to repeat. When you want to turn such a study into a standing process, the article on starting automated competitor price tracking is the natural continuation.
A small worked example
The numbers below are illustrative only. Suppose an analyst wants to compare the shelf prices of one product category across six public retailers over four weeks. She lists fifty product pages, five or six per retailer, and decides to collect each page once a day at a quiet hour with a pause between requests. That is roughly fifty requests a day, which is a modest load for any site. For every record she stores the retailer, the product identifier, the displayed price, the currency, whether the item was in stock, the page address and the time of collection. After the first week she compares totals by hand against a handful of pages to confirm the parser reads the right element. Two retailers show a promotional price beside the regular one, so she adds a separate field for each instead of overwriting one with the other. This small design choice prevents the most common error in price studies, which is mixing list prices with sale prices in one column.
Quality checklist before you report
- Every row has a source address and a timestamp.
- Currency and tax treatment are recorded, and the same treatment is used for all retailers.
- Out-of-stock and missing-price cases are stored as such, not as zero.
- A manual spot check of a sample of rows matches the live pages.
- Outliers are investigated individually before being removed, and the reason for removal is noted.
Limits and what to watch for
- Display price is not transaction price. Shoppers may pay something different after coupons, loyalty discounts, shipping or taxes. Say so in your report.
- Personalization and dynamic pricing. Some sites show different prices depending on time, region, device or session. Treat your observations as samples, not as the single truth.
- Coverage bias. You can only compare the shops you collect from. Be explicit about what is not covered.
- Terms and law. Rules on data collection, reuse and database rights vary. Seek professional advice before using the data commercially or publishing it.
- Maintenance. Page layouts change. Budget time to fix extraction regularly, and add checks that alert you when a field vanishes.
- Ethical use. Collect only what you need. Do not collect personal data such as seller names tied to individuals unless you have a lawful basis.
Summary
Collecting public product prices for market research starts with a clear question, followed by vetted sources, a data schema that records currency, region, availability and time, and polite collection that respects terms, robots.txt and rate limits. Clean the data carefully, validate samples against the live page, store the raw value next to the parsed one, and analyse with a clear awareness of what the numbers do and do not represent. A proxy can help with lawful tasks such as viewing localized public pages, but it never replaces permission or respect for a site's rules. When you are ready to see what a proxy service provides for this kind of research, take a look at the proxy page.
Frequently asked questions
What counts as public product price data?
Prices that a shop or marketplace shows to any visitor without a login, such as the listed price on a product page. Data behind an account, personal data and anything the site's terms prohibit collecting are not suitable starting points.
How often should I collect prices?
Match the frequency to the question. A weekly snapshot is often enough for market positioning, while tracking promotions may call for daily collection. Collecting more often than you can use only adds cost and server load.
Why do I need to record the currency, region and date?
A price is only comparable when you know its currency, tax treatment, region, availability and collection time. Without these fields, comparing two numbers can lead to wrong conclusions.
Can I use a proxy to see prices in another region?
A proxy can show how a public page looks from another region, which is useful for checking localized prices. It must be used lawfully, within the site's terms, and it does not remove any obligation to respect robots.txt or rate limits.
How do I know the data is reliable?
Validate it. Check for missing values, impossible prices, duplicates and sudden changes, keep the source URL and timestamp, and review a sample by hand against the live page.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a proxy for this?
XPASS Proxy sells residential proxy traffic by the gigabyte, with the price shown before you pay.
See proxy plansKeep reading

Proxy Guides
What Is Web Scraping, and How to Start with Public Data
Web scraping means collecting data from web pages with software. This guide explains how it works and how to start responsibly with public data and polite requests.
10 min read
Proxy Guides
How to Start Tracking Competitor Prices Automatically
Learn how to set up a small, respectful competitor price tracker: pick what to watch, check site rules, collect public pages on a schedule and store changes you can trust.
10 min read

Proxy Guides
How to Build an Alert System for When Proxy Traffic Runs Low
A proxy job that silently runs out of traffic fails at the worst moment. This guide shows how to track usage, set thresholds and send alerts that people act on.
9 min read