> ## 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.

> ## Agent Instructions
> The Zenrows HTTP API serves Fetch and Extract (extract=auto) at https://api.zenrows.com/v1/, Crawl at https://api.zenrows.com/v1/crawls, and Batch at https://async.api.zenrows.com/v1. Fetch, Extract, Crawl and Batch are described in OpenAPI 3.1 at https://www.zenrows.com/openapi.json and listed in the RFC 9727 API catalog at https://www.zenrows.com/.well-known/api-catalog. Every endpoint also has its own page under /api-reference with its schema. Use the spec for exact parameter names and types. Crawl's endpoints, parameters and errors are also at https://docs.zenrows.com/crawl/endpoints.md. To call Zenrows from an agent, connect the MCP server at https://mcp.zenrows.com/mcp. To search these docs from an agent, connect the docs MCP server at https://docs.zenrows.com/mcp. Agent skills for Zenrows are published at https://github.com/ZenRows/cli and install with `npx skills add ZenRows/cli`.

# Country Targeting with Zenrows Residential Proxies (Legacy)

> 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={"theme":"css-variables"}
http://<YOUR_USERNAME>:<YOUR_PASSWORD>_country-es@superproxy.zenrows.com:1337
```

![Zenrows Residential Proxies World Region and Country selectors](https://mintcdn.com/zenrows/bpr0c_CycI-XglbC/images/res_proxy_country.png?fit=max\&auto=format\&n=bpr0c_CycI-XglbC\&q=85\&s=0045b4a6a01c3c3ee647993267531530)

> [!TIP]
>
> For a complete list of supported countries and their codes, see our [Premium Proxy Countries List](https://docs.zenrows.com/first-steps/faq.md#what-is-geolocation-and-what-are-all-the-premium-proxy-countries).

**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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.