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

# Geolocation Targeting

> Oculus Proxies Geolocation Targeting feature allows you to fine-tune your proxy usage by specifying locations like Country, City, State or ASN. This precision lets you simulate access from specific areas to better match your use case.

## Country Targeting 🌍

To target a specific country, simply add a two-letter country code to your username. Use lowercase letters, like this example for the United States: `username-country-us`. Here's how it looks in a URL request:

```bash theme={null}
curl --proxy "[username]-country-us-session-YY:[password]@proxy.oculus-proxy.com:[port]" "http://httpbin.org/ip"`
```

## City Targeting 🏙️

Targeting a city is just as simple: append the city name to your username. Ensure the city code is lowercase with no spaces, for example, San Francisco would look like this: `-city-sanfrancisco`.

```bash theme={null}
curl --proxy "[username]-country-us-session-YY-city-sanfrancisco:[password]@proxy.oculus-proxy.com:[port]" "http://httpbin.org/ip"
```

## State Targeting 🗺️

For regions like the USA or Australia, you can focus even more by targeting states. Just use the two-letter state code in lowercase. Here's how you'd target New York in the USA:

<CodeGroup>
  ```bash Country: USA theme={null}
  curl --proxy "[username]-country-us-session-YY-state-ny:[password]@proxy.oculus-proxy.com:[port]" "http://httpbin.org/ip"
  ```

  ```bash Country: Australia theme={null}
  curl --proxy "[username]-country-au-session-YY-state-wa:[password]@proxy.oculus-proxy.com:[port]" "http://httpbin.org/ip"
  ```
</CodeGroup>

## ASN Targeting 🌐

To target a specific [ASN](https://bgp.potaroo.net/cidr/autnums.html), just add the ASN number to your username in the format `-asn-[ASN_NUMBER]`.

```bash theme={null}
curl --proxy "[username]-asn-56386-session-YY:[password]@proxy.oculus-proxy.com:[port]" "http://httpbin.org/ip"
```
