CleanedWeb

Blog · Proxies

Does proxy location matter for scraping? We measured 41 sites

We read the same pages through residential proxies in three places: the site's own country, the United States, and a random third country. Same client, same URLs, 10 reads per site from each place. On sites built for a market outside the US, an exit in that market got the page 94% of the time. A US exit got it 59% of the time.

The short version

The result

Pages served, 41 sites with a home country outside the US Exit in the site's country 94% Exit in the US 59% Exit in another country 58% About 405 reads per bar, 10 per site. Same client and URLs throughout.
Share of reads that returned the real page. The rest were mostly challenge pages: 5.9% from home exits, 37.9% from both other groups.

If your scraper gets a challenge page through a residential proxy, the usual advice is to change headers, rotate IPs or move to a browser. For these sites, the exit's country explained most of the challenges. The home exits were not cleaner proxies: they came from the same provider and pool, picked the same way. The only thing that changed was where the IP was.

That fits how these protections are set up. A site owner can tell Cloudflare or AWS WAF to challenge traffic from outside their market. A visitor in Finland reading a Finnish job board passes. The same request from a US address gets a check that a plain HTTP client cannot pass.

By anti-bot vendor

Pages served by anti-bot vendor and exit Cloudflare (29 sites), home 99% Cloudflare, US 66% Cloudflare, other 67% AWS WAF (6 sites), home 76% AWS WAF, US 5% AWS WAF, other 0% Akamai (4 sites), any exit 100% Imperva (2 sites) left out: 20 reads per bar is too few.
Each site was put under the vendor its first response named, from headers and cookies. Home exits are highlighted.

Site by site

What the 41 sites did Served nearly every exit 16 sites Home exit 30+ points better 13 sites Smaller or mixed gap 10 sites Refused every exit 2 sites
A site counts as “home exit better” when its home exits got at least 30 percentage points more pages than its best other exit.

The 13 sites where the home exit won include job boards in Australia and Finland, a marketplace in Taiwan, classifieds in South Africa, a retailer in Egypt and doctor directories in Brazil, Spain and Poland. On 7 of them, no read from outside the country got the page.

On three sites the US was the worst place to read from: an Austrian classifieds site, a Malaysian ticketing site and a Greek doctor directory let 0 to 30% of US reads through, but 50 to 90% from third countries. "Not from the US" is a rule too.

No site in this sample did clearly worse from its home country. We have seen it happen: in November a job site in the Gulf answered 8 of 9 reads from US exits and none of 9 from UAE exits. Matching the country is the best first guess, not a law. Measure it on the site you care about.

US sites, and a 200 that is not the page

56 sites in the sample have no country in their address, mostly US .com sites. For them the exit mattered less: 77% of US reads and 70% of foreign reads got the page.

Foreign reads had a second problem that a status check misses. 3.2% of them came back with HTTP 200 and someone else's page: a US streaming service sent readers in India, South Africa, Turkey and France to a sister service's site, and a US retailer showed its country picker instead of search results. Check the page title or a field you expect, not only the status code.

Pages from home exits also arrived a little faster: a median of 2.0 seconds against 2.5 seconds from the US and from third countries.

Check it on your own site

Two questions settle most cases: where is my exit really, and what did the site send back? Cloudflare's trace page answers the first for any proxy. The second needs more than the status code, because challenges arrive as 403, 202 and sometimes 200.

import re
from curl_cffi import requests

CHALLENGE_TITLES = re.compile(
    r"just a moment|attention required|pardon our interruption|one moment, please|access denied", re.I)
AWS_WAF = re.compile(r"awsWafCookieDomainList|gokuProps|token\.awswaf\.com", re.I)


def exit_country(proxy):
    """The country your proxy exit is really in, as Cloudflare sees it."""
    trace = requests.get("https://www.cloudflare.com/cdn-cgi/trace", proxy=proxy, timeout=20).text
    return dict(line.split("=", 1) for line in trace.splitlines() if "=" in line).get("loc")


def read_outcome(url, proxy):
    """'page', 'challenged' or 'refused' for one read through one exit."""
    r = requests.get(url, impersonate="chrome", proxy=proxy, timeout=30)
    html = r.text or ""
    title = re.search(r"<title[^>]*>(.*?)</title>", html, re.I | re.S)
    title = title.group(1).strip() if title else ""
    if r.headers.get("cf-mitigated") == "challenge":
        return "challenged"          # Cloudflare says so in a header
    if r.status_code == 202 and AWS_WAF.search(html):
        return "challenged"          # AWS WAF: tiny 202 page with a token script
    if CHALLENGE_TITLES.search(title):
        return "challenged"
    if r.status_code >= 400:
        return "refused"
    return "page"

Run read_outcome five times through exits in the site's country and five times through exits elsewhere, with a new proxy session each time, and compare. On an Australian job board from our sample, an Australian exit returned page and a US exit returned challenged. If every exit is challenged, geography is not your problem. That is when to look at your client.

This is how the APIs in our catalog read sites: the exit starts in the country the site's address names, and the builder measures before it settles. The study above is that rule checked on a sample.

How we measured

The sites are pages from our catalog queue: 225 sites people had asked us to build APIs for. One read from a US exit sorted them by vendor, from headers and cookies, and 97 named one. Of those, 41 have a country in their address, from a country domain such as .fi or a label such as au., and that country is what we call home.

On 3 December 2026 each of the 97 sites was read 10 times from each exit group, in random order, never two reads of the same site at once. Every read used a new session at one residential proxy provider, so a new IP. Before each read we checked the exit's real country on Cloudflare's trace page and dropped the reads where it did not match the country we asked for (5 of 2,350), plus 25 where the proxy itself failed. That left 2,320 reads. The client was curl_cffi with a Chrome fingerprint and a matching user agent. No browser, no cookies kept between reads, no retries.

The limits: one day, one proxy provider, one URL per site, and a plain HTTP client. A real browser passes some challenges this client cannot, and a provider with cleaner IPs in some country could move these numbers. The vendor counts outside Cloudflare are small. We did not try to get past any challenge. This measures which exit gets the page as an ordinary visitor would.

Questions

Does proxy location matter for scraping?

For sites built for one country, often a lot. In our sample, exits in the site's country got the page 94% of the time and US exits 59%. For US sites it mattered much less.

How do I know which country my proxy exit is in?

Request https://www.cloudflare.com/cdn-cgi/trace through the proxy and read the loc= line. That is the country Cloudflare-protected sites will see.

Is a 403 always a block?

No. Cloudflare sends its challenge page with a 403 and the header cf-mitigated: challenge. AWS WAF sends its challenge with a 202. A plain 403 without those signs is more likely a refusal.

Which country should I pick when a site has no country domain?

Start with the market the site sells to: its currency, language and phone numbers tell you. Then measure. Some sites challenge their own country more than others.

More posts

Need data from a website?

Browse the catalog of maintained website APIs, or ask for a site it does not cover yet. 5,000 records are free once; after that you pay per record delivered.