Skip to main content
Add 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

With mode=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.
The CLI runs in mode=auto by default, so --proxy-country is all it needs.

Example output

Set the proxy yourself with premium_proxy

To control the configuration, set premium_proxy=true with proxy_country. The request goes out through a residential IP in that country:
Output:
In the CLI’s manual mode, pair --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)
Output:
To check many countries or many pages at once, run the requests in parallel, see Run many requests concurrently.

Customize it

Troubleshooting

  • 400 when you set proxy_country: on a manual configuration it rides on premium proxies. Add premium_proxy=true, or switch to mode=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.

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.