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

# City

You can target a specific city by using the `city` parameter in your proxy string. This parameter allows you to connect to a proxy located in a specific city.\
You can specify any city in the proxy string. If a city uses a space in its name, replace the space with a dot (e.g., `New York` becomes `new.york`). Make sure to spell the city name in lowercase. If a city is not available our proxy servers will respond with a 412 error code.

### Valid `cc` + `city` examples

cc-US-city-los.angeles
cc-IT-city-rome
cc-TH-city-bangkok
cc-JP-city-tokyo
cc-AU-city-sydney
cc-ES-city-barcelona

## Code example

Example: request from **Munich, Germany** (cURL):

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

## Download list of all cities

You can download the full list of supported cities 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="/cities.json" download className="font-medium underline underline-offset-4">
      cities.json
    </a>
  </div>
</div>
