Setting Up a Proxy for Price Monitoring the Right Way

· Updated:

A proxy for price monitoring gives your price checks an IP address in the market you track, so you see the prices, currency and shipping costs that local shoppers see. It is a location tool, not a way around a site's limits: collect public product pages only, follow robots.txt and the site's terms, use an official API or feed where one exists, and slow down when the site asks you to.

Per-IP pricing makes daily checks predictable

What a proxy for price monitoring actually solves

Many shops show prices by region. The same product can have a different price, currency, tax display or shipping estimate depending on where the visitor appears to be, and the shop usually decides that from the IP address. A price tracker running on a server in Germany will record German or international prices, not the US or Japanese ones you care about.

An exit IP in the market fixes that input. A fixed IP also makes your collector easy to recognize: if the site operator wants to contact you, allow-list you or ask you to slow down, they can see one consistent address and the contact details in your User-Agent instead of traffic spread over hundreds of IPs.

What a proxy should not do is spread requests to stay under a site's rate limits or switch addresses after a block. If a site limits automated access, the answer is to slow down, use its API, or ask for permission.

Public data, terms and robots.txt

Stick to pages anyone can open without logging in: product pages, category listings and public search results. Read the site's terms of service for rules on automated access, and check robots.txt for paths you should not fetch and any Crawl-delay. Do not collect personal data such as reviewer names, and do not fetch pages behind a login with a scraper.

Use an API or feed when one exists

Several large marketplaces offer sanctioned routes to product and price data, for example Amazon's Product Advertising API for affiliates and eBay's Browse API. Retailers you work with may provide product feeds, and paid price-intelligence services license data from many shops. An API is usually more stable than parsing HTML, and it comes with clear usage limits.

A polite price collector in Python

The script below routes a requests Session through one proxy, reads robots.txt through the same route, skips disallowed URLs, waits between pages, and backs off on HTTP 429 or 503, honoring Retry-After when the site sends it. It reads the price from the page's schema.org JSON-LD, which many shops publish for search engines, so you do not depend on fragile CSS selectors.

import json
import random
import time
import urllib.robotparser

import requests
from bs4 import BeautifulSoup

PROXY = "http://USER:PASS@IP:PORT"
UA = "PriceWatch/1.0 (+https://example.com/bot; [email protected])"
SITE = "https://shop.example.com"

session = requests.Session()
session.proxies = {"http": PROXY, "https": PROXY}
session.headers.update({"User-Agent": UA, "Accept-Language": "en-US,en;q=0.9"})

# Read robots.txt through the same proxy and session.
robots = urllib.robotparser.RobotFileParser()
robots.parse(session.get(f"{SITE}/robots.txt", timeout=15).text.splitlines())
pause = robots.crawl_delay(UA) or 10  # seconds between pages


def fetch(url, max_tries=5):
    if not robots.can_fetch(UA, url):
        print("Disallowed by robots.txt:", url)
        return None
    backoff = pause
    for _ in range(max_tries):
        r = session.get(url, timeout=15)
        if r.status_code in (429, 503):
            retry_after = r.headers.get("Retry-After", "")
            time.sleep(int(retry_after) if retry_after.isdigit() else backoff)
            backoff = min(backoff * 2, 600)
            continue
        r.raise_for_status()
        return r
    return None


def price_from_jsonld(html):
    soup = BeautifulSoup(html, "html.parser")
    for tag in soup.find_all("script", type="application/ld+json"):
        try:
            data = json.loads(tag.string or "")
        except ValueError:
            continue
        for item in data if isinstance(data, list) else [data]:
            offers = item.get("offers") if isinstance(item, dict) else None
            if isinstance(offers, list):
                offers = offers[0] if offers else None
            if isinstance(offers, dict) and "price" in offers:
                return offers["price"], offers.get("priceCurrency")
    return None


for path in ["/p/sku-1001", "/p/sku-1002"]:
    r = fetch(SITE + path)
    if r is not None:
        print(path, price_from_jsonld(r.text))
    time.sleep(pause + random.uniform(0, 2))

Install the dependencies with pip install requests beautifulsoup4. Put a real contact URL or email in the User-Agent so the site can reach you. If a page builds its price with JavaScript and has no JSON-LD, look for a public JSON endpoint the page itself calls, or render it with a headless browser at a low rate. More connection options are in the Python requests proxy guide.

Scheduling checks so they stay sustainable

Most price monitoring does not need high frequency. Match the schedule to how often prices really change in that category, and you will make far fewer requests than a naive crawler.

  • Check what changed, not everything. Keep a list of the products you actually track instead of crawling whole catalogs.
  • Cache and use conditional requests. If the site sends ETag or Last-Modified, send If-None-Match or If-Modified-Since and treat a 304 as "no change".
  • One market per IP. Give each country its own proxy and keep cookies per market, so currency and region settings do not leak between runs.
  • Spread runs out. Run checks over the day instead of in one burst at midnight.
  • Stop on refusals. A 403 or a block page means the site does not want this traffic. Pause that site and review its terms rather than retrying from another address.

Handling 429 and 503 responses

HTTP 429 means too many requests; 503 often means the server is busy. In both cases wait, honor Retry-After if it is present, and double the wait on each repeat up to a ceiling, as the script does. Switching proxies on a 429 to keep the same pace is exactly what the limit is meant to prevent, and it can get the whole range blocked.

Making regional prices reliable

IP location is not the only input. A shop may also use a region cookie, the Accept-Language header, or a delivery postcode you choose on the page. Set these explicitly per market and store the currency code next to every price, so a run that silently fell back to a default region is easy to spot.

Datacenter or static ISP for competitor price tracking

For public product pages, a datacenter IP in the right country is usually enough. Static ISP addresses are registered to consumer internet providers, which is closer to what a home shopper uses; they make sense when you want the same view as a household connection in that market. Neither type changes what a site allows, so the rules above apply to both.

OptionFitsWatch out for
Official API or feedMarketplaces and partners that offer oneCoverage and quota set by the provider
Private datacenter IPv4Regional prices on public pages, fixed scheduleSome sites treat hosting networks differently; respect their choice
Static ISPConsumer-network view in the US or VietnamFewer locations than datacenter
Paid price-intelligence dataLarge catalogs across many shopsLicensing cost, less control over timing

Where ProxyV4 fits a price tracking setup

ProxyV4 sells private datacenter IPv4 in seven countries (United States, Vietnam, Japan, South Korea, Singapore, United Kingdom, Hong Kong) and static ISP proxies in 23 countries. Each IP has one tenant for the whole term and stays the same while the proxy is active; renewing before expiry keeps the address, which matters if a retailer or partner has allow-listed it. Pricing is per IP per month, so a fixed set of market IPs gives a predictable bill, and traffic on private IPv4 and static ISP is not metered.

Every proxy supports HTTP(S) and SOCKS5 with username and password, delivered as one ip:port:user:pass line. On the order's page you choose HTTP only, SOCKS5 only or both on the same port. More on matching IPs to collection jobs is on the web scraping proxy page.

Where it does not fit: if your design depends on a new IP per request, ProxyV4 sells no rotating pools (the rotating line is waitlist only), no mobile proxies and no per-GB plans. IPv6 proxies are a separate product that only works on IPv6-ready sites. Live per-IP prices are on the pricing page; order one IP, test it against your real targets, then add markets. A proxy that fails for a technical reason, such as not connecting or the wrong location, is credited to your balance under the refund policy.

Troubleshooting price checks through a proxy

Separate proxy problems from site responses before changing your parser.

  • 407 from the proxy. The username or password is wrong or badly encoded in the URL; see 407 Proxy Authentication Required.
  • Timeouts before any response. Confirm the line works in the proxy checker and that your firewall allows outbound connections to the proxy port.
  • Wrong currency. Look for a region cookie or a saved location, clear cookies for that market, and confirm the exit country with https://proxyv4.com/api/my-ip.
  • Price missing. The shop may render prices client-side or show them only after a postcode is set; check the page's own network requests for a public endpoint.
  • Repeated 403. Treat it as a refusal: stop collecting from that site and look for an API, a feed or permission.

Frequently asked questions

Is it legal to scrape competitor prices?

Collecting public prices is common, but the rules depend on your jurisdiction and the site's terms. Use public pages only, follow robots.txt and the terms, prefer an official API, and get legal advice for large commercial projects.

Why does a shop show a different price through a proxy?

The shop reads your IP location and may also use cookies, language and a delivery postcode to choose region, currency and taxes. A proxy changes only the IP part.

How many IPs do I need for price monitoring?

Usually one per market you track, sized so each IP stays at a pace the sites accept. More IPs should mean more markets, not faster requests to the same site.

Is bandwidth billed for heavy product pages?

No. Traffic on ProxyV4 private IPv4 and static ISP proxies is not metered; you pay per IP per month.

Can I keep the same IP if a retailer allow-lists it?

Yes. The IP stays the same while the proxy is active, and renewing before expiry keeps the same address.

Per-IP pricing makes daily checks predictable

Pick a fixed private IPv4 or static ISP address in each market you track, with HTTP(S) and SOCKS5 on one line and unmetered traffic. Start with one IP.

Compare plans

Related articles

Proxies by platform
Proxies for web scraping: a fixed pool of IPs with unmetered traffic
Web scraping proxies for Python, Scrapy, Playwright and Selenium: a pool of private IPv4 and static ISP addresses, unlimited bandwidth, flat per-IP pricing.
Proxy setup
Python requests through an authenticated proxy, step by step
Send Python requests through an authenticated HTTP(S) proxy: build the proxies dict, attach it to a Session, encode odd passwords, rotate a list, check the IP.
Free tools
Check proxies in bulk: status, exit IP and latency
Free online proxy checker: paste up to 100 ip:port:user:pass lines and see which proxies work, their exit IP and latency, plus what each failure result means.
Knowledge base
A Proxy for Scraping Google Maps, and the Sanctioned Places API Route
Looking for a proxy for scraping Google Maps? Get local business data through the Places API instead, with a fixed proxy IP, key restrictions and backoff.
Knowledge base
Using a Proxy for Google Business Profile Work at a Local SEO Agency
When a proxy for Google Business Profile helps an agency: per-client browser profiles, manager access instead of shared logins, and Google's listing rules.
Knowledge base
Microsoft Ads Proxy Setup for Agencies and In-House Teams
When a Microsoft Ads proxy helps: per-client profiles linked through manager accounts, live ad checks from the target country, and what proxies cannot fix.
Products
Dedicated datacenter proxies: one private IPv4 per customer
Private IPv4 proxies in the US, Vietnam, Japan, South Korea, Singapore, the UK and Hong Kong. One tenant per IP, HTTP(S) and SOCKS5, no traffic metering.
Products
Static ISP proxies: residential IPs on consumer networks
Static ISP proxies in 23 countries, from Germany and the UK to the US, Brazil and Japan: fixed IPs on consumer networks, one customer each, unmetered traffic.
Pricing
Proxy prices per IP, by location and volume
Live per-IP rates for private IPv4 in 7 countries and static ISP proxies in 23 countries across Europe, the Americas and Asia-Pacific, with volume discounts.
Knowledge base
What Is a Proxy Server? The Middleman Between You and the Web
What is a proxy? A plain-English explanation of how a proxy server relays your traffic, the ways proxies are classified, their common uses and their limits.