> For the complete documentation index, see [llms.txt](https://docs.marsproxies.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.marsproxies.com/marsproxies-documentation/overview/residential-proxies/proxy/location.md).

# Location

Location targeting is one of the most important aspects of setting up your proxy. Whether you need to appear in a specific country, region, state, or city, MarsProxies gives you flexible options to dial in exactly where your traffic should appear to come from. The following sections break down each available targeting parameter.

***

#### Region

`_region-` is the parameter used to target a broad geographic region. Appending this to your password field instructs the proxy router to serve an exit node from within that region.

**Example:**

```
ultra.marsproxies.com:44443:username123:password123_region-europe
```

***

#### Country

`_country-` is the parameter used to target a specific country. The value must be a two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format.

You can specify more than one country at a time by separating codes with a comma. When multiple countries are provided, the router will randomly select one of them when assigning an exit node.

**Example (multiple countries):**

```
ultra.marsproxies.com:44443:username123:password123_country-es,fr,it
```

***

#### City

`_city-` is the parameter used to target a specific city. The value should be the name of the city.

> **Note:** When targeting a city, always include the country parameter as well. Many cities share the same name across different countries, and specifying the country ensures you get the correct location.

**Example:**

```
ultra.marsproxies.com:44443:username123:password123_country-de_city-berlin
```

***

#### State

`_state-` is used to target a specific state within the United States. The value should be the full name of the state.

> **Note:** Make sure to also set the country to `us` when using state targeting.

**Example:**

```
ultra.marsproxies.com:44443:username123:password123_country-us_state-iowa
```
