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

# Location Settings

If you want your proxies to be from a specific location, you will have to either add the a **country** or **region** flag so that we can process the request. \
The value of the country/region paratemere is case insensitive but it follows the 2 letter country code using the [**ISO 3166 Alpha 2**](https://www.iban.com/country-codes) format.

Full Region List: <https://speedproxies.net/docs/regions.json>

Full Country List: <https://speedproxies.net/docs/countries.json>

Here are a few examples of using a country or region parameters:

`country-US`

`region-EU`

***

**Code Example**

{% tabs %}
{% tab title="cURL" %}

```bash
curl -x budget.speedproxies.net:11000 -U "USERNAME:PASSWORD_country-us" https://whatsmyip.speedshare.workers.dev/
```

{% endtab %}

{% tab title="Go" %}

<pre class="language-go"><code class="lang-go">package main

import (
	"fmt"
	"io/ioutil"
	"net/http"
	"net/url"
)

<strong>func main() {
</strong>	proxyURL, _ := url.Parse("http://USERNAME:PASSWORD_country-us@budget.speedproxies.net:11000")
	proxyClient := &#x26;http.Client{
		Transport: &#x26;http.Transport{
			DialContext: (&#x26;net.Dialer{
				KeepAlive: time.Duration(-1),
			}).DialContext,
			DisableKeepAlives: true,
			Proxy:             http.ProxyURL(proxyURL),
		},
	}

	resp, err := proxyClient.Get("https://whatsmyip.speedshare.workers.dev/")
	if err != nil {
		fmt.Println("Error:", err)
		return
	}
	
	defer resp.Body.Close()

	if body, err := io.ReadAll(resp.Body); err == nil {
		fmt.Println(string(body))
	} else {
		fmt.Println("Error:", err)
	}
}
</code></pre>

{% endtab %}

{% tab title="Python" %}

```python
import urllib.request
import random
username = 'USERNAME'
password = 'PASSWORD_country-us'
entry = ('http://customer-%s:%s@budget.speedproxies.net:11000' %
    (username, password))
query = urllib.request.ProxyHandler({
    'http': entry,
    'https': entry,
})
execute = urllib.request.build_opener(query)
print(execute.open('https://whatsmyip.speedshare.workers.dev/').read())
```

{% endtab %}
{% endtabs %}
