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

# Country

You can target a specific country by using the `cc` parameter in your proxy username string. This parameter allows you to connect to a proxy located in a specific country.

You can specify any country in the ISO 3166-1 alpha-2 format (e.g., `US` for the United States, `CA` for Canada).

## Code Examples

Example: request from Turkey (cURL):

```bash theme={null}
curl -x USERNAME-cc-TR:PASSWORD@proxy.pingnetwork.io:7776 https://ipinfo.io/json
```

Example: request from United States (cURL):

```bash theme={null}
curl -x USERNAME-cc-US:PASSWORD@proxy.pingnetwork.io:7776 https://ipinfo.io/json
```

Example: request from Germany (cURL):

```bash theme={null}
curl -x USERNAME-cc-DE:PASSWORD@proxy.pingnetwork.io:7776 https://ipinfo.io/json
```

## Parameter Format

Country targeting uses the standard proxy endpoint with country parameter in the username:

```text theme={null}
USERNAME-cc-<COUNTRY_CODE>:PASSWORD@proxy.pingnetwork.io:7776
```

Where `<COUNTRY_CODE>` is the ISO 3166-1 alpha-2 country code.

## Download list of all countries

You can download the full list of countries and entry nodes here:

<div className="mt-3 inline-flex items-center gap-3 rounded-xl border border-zinc-700/60 bg-zinc-900/40 p-4 hover:border-zinc-500/70">
  <svg width="22" height="22" viewBox="0 0 24 24" fill="none" className="shrink-0">
    <path d="M12 3v10m0 0l-3.5-3.5M12 13l3.5-3.5M4 17v2a2 2 0 002 2h12a2 2 0 002-2v-2" stroke="currentColor" strokeWidth="1.6" strokeLinecap="round" strokeLinejoin="round" />
  </svg>

  <div>
    <div className="text-sm text-zinc-400">Download file</div>

    <a href="/countries.json" download className="font-medium underline underline-offset-4">
      countries.json
    </a>
  </div>
</div>
