What Is Web Scraping?
Web scraping is the automated extraction of publicly available data from websites using software. A scraper requests web pages, parses the HTML, and saves structured data such as prices, listings or reviews. At scale, scraping relies on proxies to distribute requests and avoid being blocked.
- Written by
- seamless Team
- Reading time
- 10 min
- Published
- Updated

On this page7 sections
Almost every price-comparison site, market-research report and recommendation engine you have used is built on data that was scraped from somewhere. The technique is ordinary; what varies is how carefully it is done.
- of web traffic was automated in 2024
- 51%
- came from declared good bots
- 14%
- of advanced bot traffic targeted APIs
- 44%
How web scraping works
- The scraper sends an HTTP request to a target URL, through a proxy if it is running at any scale.
- The server returns the page's HTML — or JSON, if you found the underlying endpoint.
- The scraper parses the response and extracts the fields it needs.
- The data is validated, cleaned and stored in a CSV, a database or behind an API.
- The process repeats across many pages, usually in parallel and on a schedule.
Steps one and four are where the real engineering lives. Step three — the parsing — is the part people expect to be hard and is usually the easiest to fix when it breaks.
Static pages versus rendered pages
One decision shapes the cost of everything downstream. If the data is present in the HTML the server returns, a plain HTTP client such as Python requests, httpx or Scrapy is enough, and it is fast and cheap. If the page builds itself in the browser with JavaScript, you need a real browser engine — Playwright, Puppeteer or Selenium — which costs roughly twenty times the bandwidth and far more CPU per page.
Before reaching for a headless browser, open the network tab and look for the JSON endpoint the page itself calls. It is often public, always lighter and usually more stable than the rendered HTML.
What web scraping is used for
- Price monitoring and competitor research — the largest single category by volume.
- SEO and SERP tracking, where results must be collected per country and per city.
- Lead generation and market research from public directories and listings.
- Aggregation in real estate, travel and jobs — entire businesses are built on it.
- Training and evaluating AI models, where source diversity is part of the requirement.
- Brand protection, spotting counterfeit listings and unauthorised resellers.
Why proxies are essential
Websites block scrapers that send many requests from one IP or from known datacenter ranges. Proxies — especially rotating residential proxies — spread requests across many real IPs so traffic looks like separate visitors, keeping success rates high and avoiding bans and CAPTCHAs.
The arithmetic is what makes this non-optional rather than merely helpful. If a target tolerates 300 requests per hour per IP and you need 60,000 an hour, no amount of clever code changes the fact that you need roughly 200 addresses working at once. One machine with one IP cannot do it, however well written.
Location is the second reason, and it is easy to overlook. Prices, availability, delivery estimates and search rankings all vary by where the request came from. Data collected from the wrong country is not slightly noisy — it describes a different market. See the locations we cover.
What it actually costs
For a mid-sized job — 200,000 pages a month at roughly 250 KB each — the proxy line is around €60 on residential bandwidth at €1.20 per GB. Blocking images and fonts in the fetcher typically halves that. Compute is usually smaller unless you are running headless browsers, in which case it dominates. The proxy comparison works through the same job across all three proxy types.
Is web scraping legal?
Broadly, collecting publicly available data is permitted in many jurisdictions. The clearest reference point in US law is *hiQ Labs v. LinkedIn*, in which the Ninth Circuit held in 2022 that the Computer Fraud and Abuse Act likely does not reach websites open to the public — there is no gate to climb over when the page is served to anyone with a browser.
That is narrower than it sounds. The same case later turned on LinkedIn's user agreement rather than the CFAA, which is the practical lesson: contract law, copyright and data-protection rules apply independently of anti-hacking statutes. Personal data in particular carries obligations under the GDPR regardless of whether the page was public. The legal overview goes into more detail, though none of it is legal advice.
Public availability is a defence against one specific claim, not a general permission. What you collect and what you do with it matter more than how you fetched it.
Scraping responsibly
- Read
robots.txtand treat it as a statement of intent even where it is not binding. - Use the API if there is one. It is more stable, cheaper and uncontroversial.
- Pace requests so your traffic is a rounding error in the site's load, not a spike in it.
- Cache aggressively. Re-fetching unchanged pages wastes their capacity and your bandwidth.
- Identify yourself where you reasonably can, and honour requests to stop.
- Collect only what you need, especially where personal data is involved.
Scrape responsibly: respect robots.txt, pace your requests, and only collect public data in line with the site's terms and local law.
Where to go next
If you are choosing infrastructure, start with the best proxies for web scraping. If your scraper already works and is starting to fail, go to how to avoid getting blocked. For a specific platform, the target guides cover what works on each.
FAQ
Frequently asked questions
Anything else? Our team answers on live chat, by email and on Discord.
Is web scraping legal?
Scraping publicly available data is broadly permitted in many jurisdictions, and the Ninth Circuit held in hiQ Labs v. LinkedIn that the Computer Fraud and Abuse Act likely does not apply to public websites. Legality still depends on the data, the site's terms and local law — contract, copyright and data-protection rules apply independently. Proxies are a neutral tool; you are responsible for scraping lawfully.
What proxies are best for web scraping?
Rotating residential proxies are best for protected sites; datacenter proxies are best for high-volume scraping of sites that don't block aggressively.
Do I need to code to scrape the web?
Building custom scrapers usually involves code, typically Python or Node.js, but no-code scraping tools also exist. Either way, proxies integrate through standard username and password authentication.
What is the difference between web scraping and using an API?
An API is a supported interface the site publishes for programmatic access, with a stable contract and documented limits. Scraping extracts data from pages meant for humans, which is more fragile and can break whenever the layout changes. If an API exists and covers your needs, use it.
How much does web scraping cost?
The dominant variable cost is proxy bandwidth. A job pulling 200,000 pages a month at 250 KB each transfers roughly 50 GB, which is about €60 at €1.20 per GB — and often half that once images and fonts are blocked in the fetcher.
Can websites detect web scraping?
Yes. Detection combines IP reputation, request pacing, TLS and browser fingerprints, header consistency and behavioural signals. Clean proxies remove the easiest signal, but an obviously automated request pattern is still detectable on a perfectly clean IP.

