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

# Geolocation Targeting

> Toolip`s 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.

Prefer an enterprise-grade guide? Learn more about Oculus Proxies <a href="https://docs.oculusproxies.com/proxy-networks/rotating-residential/geolocation-targeting" target="_blank" rel="noopener">Rotating Residential Proxies Geolocation Targeting</a>.

## Country Targeting

To target a specific country, simply add a two-letter country code to your username. Use lowercase letters, see the [list of country codes](https://docs.toolip.io/proxy-networks/rotating-residential/country-codes). Here's how it looks in a cURL request:

```bash theme={null}
curl --proxy "[username]-country-us-session-YY:[password]@proxy.toolip.io:[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.toolip.io:[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.toolip.io:[port]" "http://httpbin.org/ip"
  ```

  ```bash Country: Australia theme={null}
  curl --proxy "[username]-country-au-session-YY-state-wa:[password]@proxy.toolip.io:[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.toolip.io:[port]" "http://httpbin.org/ip"
```

<Warning>Rotating Residential **does not support POST requests** and operates in **read-only mode**.</Warning>
