# Location Configuration

Users can flexibly configure parameters based on their specific business needs, achieving higher stability and success rates while maintaining anonymity and security.

### Country / Region

This parameter is used to specify the country or region to which a proxy IP belongs. It is the most fundamental and commonly used filtering option in proxy targeting.

In 1024Proxy, countries and regions are represented using ISO 3166-1 two-letter country codes (internationally standardized two-character country identifiers), for example:

* US → United States
* GB → United Kingdom
* DE → Germany
* JP → Japan
* KR → South Korea

By specifying the country/region parameter, users can precisely obtain local IP addresses from the target country. This is widely used in scenarios such as:

* Cross-border e-commerce
* Accessing overseas websites
* Localized content testing
* Ad placement verification

To look up country codes, [please visit this page](https://1024proxy.com/en/subject/resource/).

<figure><img src="https://2295534253-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZmKo6oTzHow9Ets95QI8%2Fuploads%2FfkqUNJyBfkpu3wBSG6cj%2Flocation.png?alt=media&#x26;token=038e3e82-6962-4cbb-b818-4b95fe01e747" alt=""><figcaption></figcaption></figure>

### Code Example

#### Country / Region

The following example demonstrates how to request an IP from Indonesia by adding the `-region-ID` parameter, allowing the proxy protocol to target a specific regional IP.

**HTTP(S)**

```
curl -x bwxxx.1024proxy.io:000 -U "USERNAME-region-ID-sid-XX7t3mXR-t-5:xxxxxxxxx" ipinfo.io
```

**SOCKS5**

```
curl --socks5 bwxxx.1024proxy.io:000 -U "USERNAME-region-ID-sid-XX7t3mXR-t-5:xxxxxxxxx" ipinfo.io
```
