Why location matters
Websites personalise content by location. Search results, prices, product availability, ads, currency, language, shipping options and even whether you can access a page at all can depend on where your IP appears to be. Geo-targeted proxies let you choose that location.
Levels of targeting
| Level | Example | Typical availability | Common uses |
|---|---|---|---|
| Country | US, DE, JP | All proxy types | Most scraping, regional sites |
| State/region | California, Bavaria | Residential, some ISP | Regional pricing, taxes |
| City | Chicago, Manchester | Residential, some ISP/mobile | Local SEO, ads, local listings |
| ZIP/postcode | 10001 | Some residential providers | Hyper-local pricing, delivery |
| ASN/ISP | Comcast (AS7922) | Some residential providers | Carrier-specific testing, consistency |
| Carrier | T-Mobile, Vodafone | Mobile providers | Mobile ad and app testing |
How accurate is proxy geolocation?
Geolocation comes from IP intelligence databases (MaxMind, IP2Location, ipinfo and others). They're generally accurate at country level, fairly good at state level, and less reliable at city level, especially for mobile IPs, which can geolocate to the carrier's hub rather than the user's actual city. Different websites use different databases, so a proxy might appear in Chicago on one site and a nearby suburb on another.
The trade-off: precision vs pool size
The narrower you target, the fewer IPs are available. Targeting a small city can leave you with a pool so thin that you keep getting the same IPs, which increases blocks. Use the broadest targeting that still gives correct results. See proxy pool size.
Cost
Country targeting is almost always included. City, ZIP and ASN targeting may be included on higher tiers, or carry a surcharge. Don't pay for granularity you don't need.
Choosing the right level by use case
- General scraping: country.
- E-commerce pricing: country, sometimes state or ZIP for delivery-dependent prices.
- Local SEO: city, or use a search engine's location parameters with a country-level proxy. See SEO proxies.
- Ad verification: city. See ad verification proxies.
- Sneakers: country or region close to the retailer's servers. See sneaker proxies.
- Accounts: a consistent city for each account.
Keep the rest of your setup consistent
A Paris IP with a browser set to en-US, timezone America/New_York, and a US-only font list is an obvious mismatch. Align:
- Timezone
- Language and
Accept-Languageheader - Locale (number and date formats)
- Geolocation API responses in browsers
See browser fingerprinting and proxies.
Proxy tip: If you're comparing types on your own targets, a provider that offers several of them saves time. Geonode lets you buy residential traffic by the GB, ISP IPs by the month and datacenter traffic by the GB, then compare results side by side. See our Geonode proxies guide.
Geo-targeting syntax examples
Providers implement targeting in different ways. Common patterns:
| Method | Example |
|---|---|
| Username parameters | customer-USER-country-us-state-texas-city-austin |
| Separate ports per country | Port 10001 = US, 10002 = GB |
| Country-specific hostnames | us.gate.example.com |
| Dashboard-generated lists | Choose location, download host:port:user:pass lines |
Always confirm targeting worked by checking the exit location:
curl -s -x http://customer-USER-country-de-city-berlin:PASS@gate.example.com:7777 https://ipinfo.io/jsonVerifying geolocation across databases
Because websites use different IP databases, check a few exits against two or three lookup services. If they consistently agree on country and roughly on region, you're fine. City disagreements are common and usually harmless unless you're doing hyper-local work.
Geo-targeting and session behaviour
When you combine city targeting with sticky sessions:
- The pool of eligible exits is smaller, so sessions may drop more often.
- If a session drops, the gateway may assign an exit in a slightly different location.
- For long sessions in small cities, consider state-level targeting or ISP proxies in the nearest metro.
Global coverage realities
Coverage is deepest where consumer internet and the provider's partner apps are most common: North America, Western Europe, parts of Asia and Latin America. Some countries have thin pools or legal restrictions. If you need coverage in less common countries, test before committing and ask providers for country-level availability.
Location-related pitfalls
- Currency and language redirects that depend on cookies or headers, not just IP.
- Store selectors (ZIP or postcode) that override IP-based location.
- Search engine location parameters that matter more than IP for local results.
- Mobile IP geolocation pointing to carrier hubs.
See US proxies, UK proxies and SEO proxies.
DNS, CDNs and where your request really lands
Choosing a proxy in the right place is half of geo-targeting. The other half is where your request lands. Large sites use CDNs and DNS-based routing, so the server a hostname resolves to depends on where the DNS lookup happens. If DNS is resolved on your machine in London while the proxy exits in Chicago, the connection can reach a London edge server, and you may get European content, currency or prices through a US IP.
| Setup | Who resolves the hostname | Risk of mismatch |
|---|---|---|
| HTTP(S) proxy | The gateway or the exit node, depending on the provider | Low to moderate |
SOCKS5 with socks5h | The proxy | Low |
SOCKS5 with plain socks5 | Your machine | High |
| Browser with a SOCKS proxy | Depends on the remote DNS setting | Check it |
Not every CDN chooses servers by DNS. Cloudflare, for example, uses anycast routing, which follows your exit's network instead. Its /cdn-cgi/trace page is still a handy sanity check: loc= shows the country Cloudflare places your exit IP in, and colo= shows the airport code of the data centre that answered.
curl -s -x http://USER:PASS@gate.example.com:7777 https://www.cloudflare.com/cdn-cgi/trace | grep -E 'loc|colo'If loc doesn't match the country you paid for, the problem is the IP itself. If it matches but content on other sites still looks foreign, ask your provider where DNS is resolved for your product; some resolve at the exit node, others at the gateway. See DNS leaks and proxies and backconnect proxies. This matters most for prices and fares; see price monitoring proxies and travel fare aggregation proxies.
Key takeaways
- Targeting levels range from country to state, city, ZIP, ASN and carrier.
- Geolocation databases agree at country level but often disagree at city level.
- Narrow targeting shrinks the pool; use the broadest level that gives correct results.
- Site settings (store selectors, search parameters) can matter more than IP location.
- Keep timezone, language and locale consistent with the proxy. See us proxies.
FAQ
Can I choose an exact IP in a specific city?
With rotating residential, no; you choose the city and get an IP there. With ISP or datacenter proxies, you buy specific IPs in specific locations.
Why does my proxy show a different city on different sites?
Different IP databases disagree, especially at city level.
Editorial note: Proxy providers change their pools, features and prices often, so treat any figures here as typical ranges at the time of writing and confirm current terms with the provider before you buy.