proxy_country to a Fetch request and the target sees a visitor from that country. Use it for localized prices, currencies, search results, shipping options and anything a site changes by location.
Uses: Fetch with proxy_country, premium_proxy and Adaptive Stealth Mode (mode=auto)
Ask your AI agent
With the Zenrows MCP server connected to Claude, Cursor or any MCP client, paste this prompt. Your agent picks the right Zenrows tools and settings on its own.Fetch a page from one country
Withmode=auto, send proxy_country with a two-letter ISO code. Zenrows routes the request through that country and adds JavaScript rendering when the page needs it. This example calls https://api.country.is/, which answers with the caller’s IP and country, so you can see where the request came from.
mode=auto by default, so --proxy-country is all it needs.
Example output
Set the proxy yourself with premium_proxy
To control the configuration, setpremium_proxy=true with proxy_country. The request goes out through a residential IP in that country:
--proxy-country with --premium-proxy.
Compare the same page across countries
Loop over country codes and keep each result next to its country. Swap the URL for a product, search or pricing page and parse the field you want to compare, for example the price and its currency.Python (Requests)
Customize it
Troubleshooting
400when you setproxy_country: on a manual configuration it rides on premium proxies. Addpremium_proxy=true, or switch tomode=auto.- The page still shows another country’s content: the site also reads a cookie or the URL path for locale. Set the site’s locale cookie with
custom_headers=true, or request the country-specific URL. - An IP lookup service reports a neighboring country: lookup databases disagree for some IP ranges. Check the content of the target page itself, which is what the site serves to that country.
Related recipes
Keep the same IP and submit forms
Pin one IP across requests and send POST bodies.
Run many requests concurrently
Check many countries or pages in parallel.
Scrape pages protected by anti-bot systems
Combine geotargeting with Adaptive Stealth Mode.
E-commerce: products, prices and reviews
Track prices and availability across markets.