Prices, search results, ads and even whole websites change with the visitor's location. Geo-targeting lets you see the web the way someone in Munich, Texas or São Paulo sees it. On crawlproxies it's part of your username, so you can switch location per request without changing anything else.
Residential Premium covers 200+ countries, with cities worldwide, and the whole network spans 233 countries and territories and more than 10,900 cities. Browse them on the Locations page.
Country and city
On Residential Premium (gateway prem.crawlproxies.com:3621, HTTP), append location options to your username, from broad to narrow:
| Level | Option | Example |
|---|---|---|
| Country | -country-<code> | USERNAME-country-de |
| City | -city-<name> | USERNAME-country-us-city-chicago |
The rules:
- Countries use two-letter ISO codes in lowercase:
us,gb,de,br,jp. - Cities are lowercase, with underscores for spaces:
new_york,los_angeles,london. They work worldwide, with no state needed. - Order matters: country first, then city. A city always goes after a country.
- No location at all (
USERNAME) means worldwide rotation.
Combine location with a sticky session when you need both (on Residential Premium a session is -ssid-<id>-sst-<seconds>, up to 3600 seconds):
USERNAME-country-us-city-los_angeles-ssid-job7-sst-1800US states
Residential Premium has no state option. Two places do take one:
- Older Residential Premium plans whose plan page shows
geo.crawlproxies.com(8080 / 1080) accept-state-<name>, lowercase with no spaces (texas,newyork). There a city only works together with its state, for the cities the generator lists:USERNAME-country-us-state-texas-city-houston. - Mobile (4G/5G) offers a state or city only where the generator lists one.
Try it
curl -x http://USERNAME-country-jp:PASSWORD@prem.crawlproxies.com:3621 https://ipinfo.io/jsonipinfo.io answers with the IP's country, region and city, so you can confirm you landed where you asked. Geolocation databases occasionally disagree with each other by a city or two, especially near borders and for mobile IPs, so treat city-level results as "in or near".
What each product supports
Not every proxy type can be targeted the same way. Here's what each one accepts:
| Product | Country | US state | City |
|---|---|---|---|
| Residential Premium | Yes | No | Yes, worldwide |
Residential Premium, older plans on geo.crawlproxies.com | Yes | Yes | With its state |
| Residential Private | Yes | No | No |
| Residential | No | No | No |
| Mobile (4G/5G) | Yes | Where the generator lists it | Where the generator lists it |
| Premium Unlimited Residential | Yes | No | Yes |
| Unlimited Residential | Yes | No | No |
| Shared ISP, ISP Europe | US / Netherlands | No | No |
| IPv6 Residential, IPv6 Datacenter | Yes | No | No |
| Datacenter | No: a US IP list, each IP fixed | No | No |
| Mobile USA | US only | No | No |
| Dedicated ISP | Fixed per IP | No | No |
The generator lists exactly the locations your plan supports, so it's the quickest way to see your options and get the spelling right.
Choosing how narrow to go
Narrower targeting means a smaller pool of IPs to rotate through. That's usually fine, but it has trade-offs:
- Country is right for most jobs: localized prices, search results, content and ads.
- City is for genuinely local results: maps, delivery, local search, store availability. For anything priced or regulated by US state (insurance, sports, tax-inclusive prices), pick a city in that state.
If a very specific city is slow or keeps failing, step out one level (to the country) and see whether the content still matches what you need. Often it does.
Code examples
Python, building the username from parts:
def geo_proxy(country=None, city=None):
user = "USERNAME"
if country:
user += f"-country-{country}"
if city:
user += "-city-" + city.lower().replace(" ", "_")
return f"http://{user}:PASSWORD@prem.crawlproxies.com:3621"
import requests
for cc in ("us", "de", "jp"):
p = geo_proxy(cc)
data = requests.get("https://ipinfo.io/json", proxies={"http": p, "https": p}, timeout=30).json()
print(cc, "->", data["country"], data.get("city"))The same helper in JavaScript:
const geoUser = ({ country, city } = {}) =>
["USERNAME",
country && `country-${country}`,
country && city && `city-${city.toLowerCase().replaceAll(" ", "_")}`,
].filter(Boolean).join("-");
geoUser({ country: "us", city: "san antonio" });
// "USERNAME-country-us-city-san_antonio"Common mistakes
- Spaces in names.
-city-new yorkbreaks the username. Write-city-new_york. - A state on Residential Premium. There's no state option there; target a city in that state instead (
-country-us-city-houston). - Expecting one fixed IP. Location targeting picks where the IP is; it still rotates unless you add a session. See sticky vs rotating sessions.
- Testing with one request. Sample a few IPs before deciding a location doesn't work.
New to crawlproxies? Start with your first proxy request.



