How much bandwidth does web scraping use?
How many GB a scraping job needs depends mostly on one choice: do you fetch the HTML, call a JSON endpoint, or render the page in a browser? The difference is often a factor of 10 to 100. Here are realistic estimates, a way to measure your own targets, and the changes that cut usage the most.
Updated 9 November 2026
Start from real page weights
The best public data on page size is the HTTP Archive’s Web Almanac 2025 page weight chapter, which measures millions of home pages. Its medians, in bytes transferred:
| Resource | Mobile median | Desktop median |
|---|---|---|
| Whole page | 2,559 KB | 2,862 KB |
| HTML | 22 KB | 22 KB |
| JavaScript | 632 KB | 697 KB |
| CSS | 77 KB | 82 KB |
| Images | 911 KB | 1,058 KB |
| Fonts | 122 KB | 139 KB |
The point to notice: the HTML document is under 1% of the median page. Everything else is assets a browser downloads to draw the page. If your scraper only reads the HTML, you skip almost all of it.
These are home page medians. Product, search and listing pages on large sites often have much bigger HTML, because they embed product data, JSON state for the front-end framework, and inline scripts. HTML of several hundred KB is not unusual on big retail pages.
Estimates per page type
The table below gives working estimates for planning. They are assumptions, not measurements of your targets: compressed transfer, no caching between pages, and a few KB per request for headers. Measure before you buy a large pack.
| How you fetch | Typical per page | GB per 100,000 pages |
|---|---|---|
| JSON API or XHR endpoint | 5–50 KB | 0.5–5 GB |
| Raw HTML, small or simple page | 20–60 KB | 2–6 GB |
| Raw HTML, large retail or search page | 100–400 KB | 10–40 GB |
| Headless browser, images, fonts and media blocked | 0.5–1.5 MB | 50–150 GB |
| Headless browser, everything loaded | 2–4 MB | 200–400 GB |
A few things push real numbers up:
- TLS and headers. Each new HTTPS connection costs a TLS handshake, typically a few KB including the server’s certificate chain. Request and response headers add one or two KB per request, more when cookies are large. For small JSON responses, this overhead can be a large share of the total.
- Both directions count. hyperproxy bills bytes in both directions (billing details). Uploads are usually small, but POST bodies, large cookies and form submissions add up.
- Retries. Every retry downloads the page again. A 10% retry rate means 10% more traffic. Cap retries as described in handling 403 and 429 errors.
- Browsers fetch more than the page. Analytics, ads, tag managers, prefetching and video can easily double the weight of a page. A fresh browser context has an empty cache, so shared scripts are downloaded again for each one.
How to measure your own job
Measuring takes ten minutes and beats any estimate. Fetch 50 to 200 representative pages from each target, average the bytes, and multiply.
Single pages with curl
curl’s write-out variables give the bytes sent, the response headers and the body as transferred. Add --compressed so the server sends gzip or Brotli, as most scrapers would receive:
curl -s -o /dev/null --compressed \
-x http://USER-cc-us:PASS@gw.hyperproxy.io:8888 \
-w 'sent %{size_request} B, headers %{size_header} B, body %{size_download} B\n' \
https://example.com/Browser pages with Playwright
Playwright’s request.sizes() reports header and encoded body sizes for each request, so you can sum a whole page load. The second tab blocks heavy resource types, which is often the single biggest saving. More in the Playwright proxy guide.
import { chromium } from "playwright";
const browser = await chromium.launch({
proxy: { server: "http://gw.hyperproxy.io:8888", username: "USER-cc-us-session-a81f", password: "PASS" },
});
const page = await browser.newPage();
const sizes = [];
page.on("requestfinished", (request) => sizes.push(request.sizes()));
await page.goto("https://example.com/", { waitUntil: "networkidle" });
const total = (await Promise.all(sizes)).reduce(
(sum, s) => sum + s.requestHeadersSize + s.requestBodySize + s.responseHeadersSize + s.responseBodySize,
0,
);
console.log(sizes.length, "requests,", (total / 1024).toFixed(0), "KB");
await browser.close();The usage dashboard
Your client sees bytes inside the TLS tunnel, so its numbers come out slightly below what the proxy carries. For the billed figure, run a test batch and check the live usage view in the dashboard. You can also set a data limit per login, which is a good safety net for a new job.
A worked example
Say you monitor 100,000 product pages once a day across one country.
- You test 100 pages with curl and get an average of 120 KB compressed HTML plus 3 KB of headers and handshake: about 123 KB per page.
- 100,000 × 123 KB ≈ 12.3 GB per daily run.
- Add 5% for retries: about 13 GB per day, or roughly 390 GB over 30 days.
- If the same pages needed a browser with assets blocked at about 1 MB each, the same job would be around 100 GB per day, about eight times more.
- If the shop exposes a JSON product endpoint at 15 KB per product, the job falls to about 1.5 GB per day.
The cheapest gigabyte is the one you never download. Monitoring a price usually needs one small response, not a rendered page.
How to use less bandwidth
- Use HTTP clients first. Only render with a browser when the data is truly built by JavaScript. Even then, the data usually arrives via an XHR call you can request directly.
- Request JSON endpoints. Look in your browser’s network tab for the API the page itself calls.
- Always accept compression.
requestsand most libraries sendAccept-Encodingby default. curl needs--compressed. HTML typically compresses by several times. - Block images, fonts and media in browsers. See the Playwright tab above. Also block known analytics and ad domains if they are not part of what you are checking.
- Use conditional requests. Send
If-None-MatchorIf-Modified-Since; an unchanged page returns304with no body. Code in web scraping best practices. - Don’t fetch twice. Deduplicate URLs, store raw responses, and use sitemaps’ last-modified dates to skip pages that have not changed.
- Reuse connections. Keep-alive saves a handshake per request. With a sticky session, a browser keeps one exit for the whole page.
Each of these also lowers the load on the site you collect from, which is the polite thing to do anyway.
Choosing a pack size
Residential proxies are mostly sold per GB, so your estimate turns directly into cost. Run a small measured batch, multiply by your page count and frequency, add a margin for retries and growth, and watch real usage for the first week. hyperproxy uses prepaid GB packs with usage billed by bytes and no per-thread caps, so you pay for traffic rather than concurrency. For more on pricing models, see how to choose a residential proxy provider. If you are new to the topic, start with what is a residential proxy.
FAQ
How many GB do I need for web scraping?
For HTML-only scraping, plan on roughly 2–40 GB per 100,000 pages depending on page size. Browser-based scraping needs 50–400 GB for the same number of pages. Measure a sample of your actual targets to narrow it down.
Does a 404 or an error page use bandwidth?
Yes. Any response that crosses the proxy is counted, including error pages and redirects. Errors from the gateway itself, such as a failed login, carry very little data.
Do rotating or sticky proxies use more data?
The data depends on what you download, not the rotation mode. Rotating setups open more new connections, which adds a little handshake overhead per request.
Is SOCKS5 more bandwidth-efficient than HTTP?
Not meaningfully. Both carry the same TLS traffic for HTTPS sites. See SOCKS5 vs HTTP proxy.
Try it on your own workload
Sign up with GitHub or Google, create a proxy login and send your first request in a minute.
More blog
- What is a residential proxy? — How residential proxies work, what they are used for, and what to check before you use one.
- Residential vs datacenter vs ISP vs mobile proxies — The four proxy types compared on IP origin, cost model, speed and fit for each job.
- SOCKS5 vs HTTP proxy — How the two protocols differ, what socks5h changes, and which one your client needs.
- How to choose a residential proxy provider — A practical checklist: sourcing, KYC, pricing models, targeting, protocols and testing.
- Ethically sourced residential proxies — What the 2026 IPIDEA and NetNut takedowns mean for buyers, and questions to ask a provider.
- Web scraping best practices — Being a polite scraper: robots.txt, rate limits, caching, identification and legal basics.
- Handling 403 and 429 errors in scrapers — Tell proxy errors from site errors, honour Retry-After, and retry with backoff.
- Geo-targeted price and SERP monitoring — Collect prices, search results and ads as users in each country and city see them.