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
Home exit93.6% of reads got the page on the 41 sites with a home country outside the US.US exit59.4%. Almost all of the rest were challenge pages, not errors.Third country58.4%. A random foreign exit did no better than the US.Per site16 sites served nearly every read from every exit. On 13 the home exit beat the others by 30 points or more. On 7 it was the only exit that worked at all.US sitesMostly indifferent: 77% from US exits, 70% from foreign ones. Some foreign reads got a different site's page with a 200.
The result
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
Cloudflare29 sites. 99% from home exits, about two in three from anywhere else. The challenge says so in acf-mitigated: challengeheader, so you can detect it without parsing the page.AWS WAF6 sites. 76% from home exits, 5% from the US, none from a third country. The challenge is an HTTP 202 with a small page and a token script, easy to mistake for a success.Akamai4 sites, every read served from every exit. Four pages is a small sample, so read it as "these four pages had no country rule", not as a fact about Akamai.
Site by site
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
-
MCP clients and protocol versions
We logged nine clients against old and new protocol versions. Two speak the new one, and several fail without an error.
-
Steam turned off /appreviews
The old review URL redirects to the store. What changed, and which old parameters now fail without an error.
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.