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

# Location Targeting

> Target specific countries, cities, regions, and ISPs (ASNs) for geo-restricted content access, localized testing, and region-specific web scraping.

anyIP offers precise geographic targeting for over 195 countries. You can drill down to the Region, City, or even Carrier/ISP level.

## 🌍 Country Targeting

Use the `country_[ISO]` flag in your username.

* **Format:** `country_[2-letter-code]`
* **Example (France):** `user_XXXX,country_FR`
* **Reference:** `https://dashboard.anyip.io/api/data/country`

```bash theme={null}
# Connect to a French IP
curl -x "http://user_XXXX,country_FR:pass@portal.anyip.io:1080" http://ip-api.com/
```

## 🏙 Region & City Targeting

### How to target a Region

You can target specific states or regions within a country.

* **Format:** `region_[name]`
* **Note:** You **must** specify the country first.
* **Example:** `user_XXXX,country_US,region_texas`

### How to find Region Names

You can view available regions via our API:
`https://dashboard.anyip.io/api/data/region/[COUNTRY_CODE]`

**Common Examples:**

* `country_US,region_california`
* `country_US,region_newyork`
* `country_GB,region_england`
* `country_DE,region_bavaria`

### How to target a City

You can target specific cities within a region.

* **Format:** `city_[name]`
* **Note:** You **must** specify the country and region first.
* **Example:** `user_XXXX,country_US,region_texas,city_dallas`

### How to find City Names

You can view available cities via our API:
`https://dashboard.anyip.io/api/data/city/[COUNTRY_CODE]/[REGION_NAME]`

**Common Examples:**

* `country_US,region_california,city_losangeles`
* `country_US,region_newyork,city_newyork`
* `country_GB,region_england,city_london`
* `country_DE,region_bavaria,city_munich`

## 📡 Carrier & ASN Targeting

Target specific Internet Service Providers (ISPs) or Mobile Carriers using their **ASN** (Autonomous System Number).

* **Format:** `asn_[number]`
* **Example (T-Mobile USA):** `user_XXXX,country_US,asn_21928`

**Popular ASNs:**

* **T-Mobile US:** 21928
* **Verizon US:** 701
* **AT\&T US:** 7018
* **Vodafone UK:** 13285

## 📍 GPS Coordinates

For hyper-local targeting, you can request an IP closest to specific coordinates.

* **Format:** `lat_[value],lon_[value]`
* **Example (Eiffel Tower, Paris):**
  `user_XXXX,lat_48.8584,lon_2.2945`

<Note>
  We will assign the **closest available peer** to these coordinates. It is not guaranteed to be at that location.
</Note>

## 🗺 Pre-defined Pools

We offer curated pools for broad regions. Use `pool_[name]` in your username.

| Pool Name          | Flag                | Countries                          |
| :----------------- | :------------------ | :--------------------------------- |
| **Western**        | `pool_western`      | US, CA, GB, DE, FR, IT, ES, NL, BE |
| **Europe**         | `pool_europe`       | All 50 European countries          |
| **North America**  | `pool_northamerica` | US, CA, MX + Caribbean             |
| **South America**  | `pool_southamerica` | BR, AR, CO, CL + 8 more            |
| **Asia**           | `pool_asia`         | IN, ID, PH, TH, VN + 9 more        |
| **Southeast Asia** | `pool_sea`          | ID, MY, PH, TH, VN + 5 more        |
| **MENA**           | `pool_mena`         | Middle East & North Africa         |
| **Africa**         | `pool_africa`       | All 55 African countries           |

👉 **[See the full Regional Pools Reference](/guides/pools-reference)** for complete country lists for all 19 available pools.

***

## ⚡️ Performance: Choosing the Right Server

We have global entry nodes. While `portal.anyip.io` automatically routes you to the nearest one, you can manually force a connection to a specific gateway if you are experiencing latency.

| Region                  | Entry Node           |
| :---------------------- | :------------------- |
| **Global (Auto)**       | `portal.anyip.io`    |
| **North/South America** | `portal-na.anyip.io` |
| **Europe/Africa**       | `portal-eu.anyip.io` |
| **Asia/Oceania**        | `portal-as.anyip.io` |

**Tip:** If you are scraping a US website from a server in Germany, connect to `portal-na.anyip.io` to ensure your request enters our network closer to the target.
