> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zenrows.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Country Targeting with ZenRows Residential Proxies

> Use country-level geo-targeting with ZenRows Residential Proxies to access localized content and scrape region-restricted websites.

ZenRows Residential Proxies allow you to target specific countries for your web scraping operations, providing even more precise geo-targeting than region-level settings. This is invaluable for accessing country-restricted content, conducting localized research, or verifying ads and offers as they appear to users in a particular country.

## Why Use Country Targeting?

Country-level targeting is ideal for:

* Accessing country-restricted content and services
* Monitoring localized pricing, ads, or search results
* Testing website localization and legal compliance
* Ad verification and fraud prevention

## How to Set a Country

To target a country, append the `country` code to your proxy password in the proxy URL. You cannot set both a region and a country at the same time.

### Example: Targeting Spain

```bash theme={null}
http://<YOUR_USERNAME>:<YOUR_PASSWORD>_country-es@superproxy.zenrows.com:1337
```

<Frame>
  <img src="https://static.zenrows.com/content/res_proxy_country_9f8e255bf9.png" style={{ borderRadius: '0.5rem' }} alt="res_proxy_country" />
</Frame>

<Tip>
  For a complete list of supported countries and their codes, see our [Premium Proxy Countries List](/first-steps/faq#what-is-geolocation-and-what-are-all-the-premium-proxy-countries).
</Tip>

**Note:** If you specify both a region and a country, only one will be used. Always double-check your proxy password for the correct format.

## Best Practices

* Use country targeting for highly localized research, price comparison, or compliance checks.
* Make sure to use the correct country code to avoid errors.
* Rotating proxies within a country can help reduce detection and blocking.

## Troubleshooting

* If you get an error, ensure the country code is supported and correctly formatted.
* Some countries may have limited proxy pools; if you encounter access issues, try a broader region.
