What Is Proxy Geo-Targeting? Country, City and ASN Explained (2026)

Proxy geo-targeting picks where your exit IP is located. Learn how country, city and ASN filters work, why narrow targeting shrinks the pool, and when precision is worth it.

Author
ProxyHorizon Team
Published
October 29, 2026
9 min read
Expert-Verified
What Is Proxy Geo-Targeting? Country, City and ASN Explained (2026)

You point a scraper at a German shop and get prices in dollars. Or you check rankings for “plumber near me” and get results for a city two time zones away.

Both problems have the same fix: proxy geo-targeting. It tells your proxy provider which part of the world your exit IP should come from, so the website serves you the local version of the page.

This guide explains how country, city and ASN targeting work behind a proxy gateway, why every extra filter shrinks the pool you draw from, and when paying for precise targeting actually makes sense.

TL;DR
  • Proxy geo-targeting chooses where your exit IP is located: region, country, state, city, ZIP, coordinates or network.
  • Providers read the location from your username, password, a country entry point or a header.
  • Every extra filter shrinks the pool, which can mean fewer unique IPs and more failed connections.
  • Locations come from IP databases; MaxMind estimates 99.8% country accuracy but around 66% for US cities.
  • Target the broadest level the website actually checks, and verify with an echo endpoint before you scale.

What Is Proxy Geo-Targeting?

Proxy geo-targeting means choosing the location of the IP address your requests leave from. You add a country, region, city or network filter to your proxy credentials, and the provider routes each request through an exit IP that matches it.

Websites read your IP to decide what to show you: language, currency, prices, search results, ads and even whether the content loads at all. Geo-targeting lets you see the page the way a local visitor would.

It’s mostly a feature of pooled proxies, like residential and mobile networks, where one backconnect gateway fronts millions of IPs in many countries. With a single static IP, the location is fixed when you buy it.

How Geo-Targeting Works Behind the Gateway

The provider keeps a record of where each exit IP is located. When your request arrives, the gateway reads your location filter and only picks from exits that match it.

Diagram of a geo-targeted proxy request flowing from your scraper to the proxy gateway, through a location filter that narrows the IP pool, to the chosen exit IP
Illustrative: the gateway applies your location filter before it picks an exit IP.

That location record comes from IP geolocation databases, not GPS. Oxylabs states in its location settings docs that it uses the MaxMind GeoIP2 database to assign country, state and city values to its exit nodes, updated weekly. It also warns that other IP databases may show different locations.

That warning matters more than it sounds. Your proxy is “in Paris” only according to the provider’s database. The website you’re visiting may use a different one.

How Do You Tell the Proxy Which Location to Use?

Most providers read the location from your credentials. The syntax differs, but the idea is the same everywhere:

  • Username parameters: Bright Data uses -country-us, -city-sanfrancisco and similar flags in the username. Oxylabs uses cc-DE and city-new_york.
  • Password parameters: IPRoyal puts location in the password, such as _country-dk,it,ie, where its router randomly picks one of the listed countries.
  • Country entry points: Oxylabs runs country-specific hosts like de-pr.oxylabs.io:30000, so no username changes are needed.
  • Headers: Oxylabs also accepts coordinates through an X-Oxylabs-Geolocation proxy header, with a minimum 10-mile radius.

Here’s what a country plus city request looks like with Oxylabs’ documented format in cURL:

Bash
curl -x pr.oxylabs.io:7777 \
  -U "customer-USERNAME-cc-US-city-new_york:PASSWORD" \
  https://ip.oxylabs.io/location

If cURL proxy flags are new to you, our cURL proxy command guide covers -x, -U and debugging.

The Main Targeting Levels Explained

Providers offer a ladder of filters, from broad to very narrow. Here’s what each level does and who supports it, based on official docs checked October 29, 2026.

LevelWhat it selectsExamples from provider docs
Region or continentAny exit in a large areaOxylabs cn-EU, IPRoyal _region-europe
CountryExits in one country (ISO two-letter code)Oxylabs cc-DE, Bright Data -country-de
StateUS statesOxylabs st-us_california, Bright Data -state-ny
CityExits mapped to one cityOxylabs city-new_york, Bright Data -city-paris
ZIP codeUS ZIP codes onlyOxylabs postalcode-90210, Bright Data -zip-
CoordinatesExits within a radius of a pointOxylabs header, IPRoyal _geolocation-
ASN or ISPExits on one networkOxylabs ASN-21928, Bright Data -asn-, IPRoyal _isp-

1Country Targeting

Country is the workhorse. It covers most price, ad and search checks, and every major provider supports it. Oxylabs says its residential network covers over 195 locations, and Bright Data’s docs describe targeting across 195 countries.

It’s also the only option on some products. Bright Data’s configuration docs state that its datacenter and ISP proxies only support country targeting. If you need city-level IPs, you’re in residential or mobile territory.

2City and State Targeting

City targeting picks exits mapped to a named city. Both Oxylabs and Bright Data want the country included with the city, since many countries share city names. Bright Data adds that city names go in without spaces, as in -city-sanfrancisco.

State targeting is US-only at both providers. It’s a handy middle ground when a city is too narrow but a whole country is too broad, such as checking state-specific pricing or availability.

3ZIP Code and Coordinate Targeting

These are the narrowest location filters. Oxylabs and Bright Data both limit ZIP targeting to five-digit US ZIP codes.

Coordinate targeting picks exits near a latitude and longitude. IPRoyal’s location docs explain the trade-off clearly: by default, if no exit sits inside your radius, it uses the closest ones instead. Add the strict flag and the request fails rather than leaving the radius.

4ASN and ISP Targeting

ASN targeting is different. It doesn’t pick a place. It picks the network that owns the IP, identified by its Autonomous System Number. Our explainer on what an ASN is and why it matters for proxies covers the background.

You’d use it when a site treats traffic from one carrier or ISP differently, or when you need results as a specific broadband or mobile network’s customers see them.

Watch the interactions. Oxylabs notes that its ASN parameter is overridden if a country code is present. IPRoyal says its ISP filter should be chained to a city, and is only available with a verified ID after spending $1,000 or more.

Why Narrow Targeting Shrinks Your Pool

Every filter removes exits from the set the gateway can choose from. A country might have a deep pool. A single city has a fraction of it. One ISP in one city has a fraction of that.

Diagram of proxy geo-targeting levels from region and country to state, city and ZIP or coordinates, showing the pool getting smaller with each filter and ASN or ISP as a separate network axis
Each level down narrows the pool. Parameter names from Oxylabs, Bright Data and IPRoyal docs, checked October 29, 2026.

A smaller pool shows up in three ways:

  • Fewer unique IPs. Rotation draws from a short list, so the same exits repeat more often on a busy crawl.
  • Less stable sessions. Residential exits are real devices. When a sticky session’s device drops offline, a thin local pool has fewer replacements nearby.
  • Failed or out-of-area matches. Depending on the provider and settings, a filter with no available exits either fails or falls back to the nearest match, as IPRoyal’s strict and non-strict coordinate modes show.

Providers rarely publish exact IP counts per city, so test before you commit. Send a batch of requests with your filter and count how many unique IPs and how many errors you get back.

How Accurate Is Proxy Geo-Targeting?

Country targeting is reliable. City targeting is a best estimate. That isn’t a provider problem, it’s how IP geolocation works.

MaxMind Geolocation accuracy support article stating country-level accuracy of 99.8 percent, around 80 percent at US state level and 66 percent for US cities within a 50 km radius
MaxMind’s own accuracy estimates for its GeoIP data. Captured October 29, 2026.

MaxMind, whose database Oxylabs uses, publishes its own geolocation accuracy estimates. It estimates 99.8% accuracy at the country level. For US IPs, it estimates around 80% at the state level and 66% for cities, within a 50 km radius.

MaxMind also notes that mobile network IPs can be used by phones across a large distance, and that it leaves out city data when it can’t locate an IP precisely. So a mobile exit tagged “Massachusetts” may have no city at all.

Then there’s the website’s side. If the target uses a different geolocation database, your “Chicago” IP might show up as a nearby suburb or another state entirely. When precision matters, check the exit IP against the same lookup the site uses.

How to Check Your Proxy’s Real Location

Don’t trust the filter. Verify it with a few quick checks:

  1. Use the provider’s echo endpoint. Oxylabs uses ip.oxylabs.io/location in its examples. Bright Data recommends geo.brdtest.com/welcome.txt for checking exit geolocation.
  2. Cross-check with a second database. Look up the same exit IP on a public geolocation service and compare country, region and city.
  3. Check the page itself. Load the target and confirm the currency, language and local results match what you asked for.
  4. Mind DNS. Bright Data’s DNS location mismatch article explains why DNS leak tools can show a different country than your exit IP, and recommends sending hostnames rather than pre-resolved IPs. Our guide to DNS leaks covers the general idea.

Run the location check on a sample of IPs, not just one. A filter that looks right on the first request can drift across a thousand.

When Is Precise Targeting Worth Paying For?

Precise targeting isn’t always available on every plan or product. Bright Data limits its datacenter and ISP proxies to country targeting, and IPRoyal gates ISP targeting behind ID verification and spend. Check what your plan includes, then use this to decide how deep to go:

Use caseUsually enoughWhy
Price and currency checksCountryMost stores localize by country
Ad verificationCountry, sometimes cityCampaigns are often geo-fenced by region or metro
Local SEO rankingsCityMap packs and local results change by city
Store or delivery availabilityCity or ZIPStock and delivery can vary by postcode
Carrier-specific contentASN or ISPThe network matters more than the place
General scrapingCountry or noneExtra filters only shrink the pool

For example, price monitoring usually only needs country targeting, because that’s what decides currency and regional pricing. SEO monitoring is different: local search results can change from one city to the next, so city targeting earns its cost there.

If you’re only scraping public pages that look the same everywhere, skip geo-targeting entirely. You’ll get the largest pool and the fewest failures.

Common Geo-Targeting Mistakes

  • Targeting a city when the site only checks country. You pay for precision you don’t use and shrink your pool for nothing.
  • Forgetting the country with the city. Oxylabs and Bright Data both want the country included, since city names repeat across countries.
  • Mixing ASN and country without reading the docs. At Oxylabs, the country code overrides the ASN.
  • Leaking your real location elsewhere. Browser timezone, language headers and WebRTC can contradict the proxy’s location. A VPN or proxy only changes your IP, as our guide on whether a VPN hides your location explains.
  • Expecting street-level precision. MaxMind says its data is never precise enough to identify a household or street address.

If you’re still picking a network, our roundup of the best residential proxy providers compares location coverage, and the proxy directory lists options side by side.

Frequently Asked Questions

Target the Level the Website Actually Checks

Proxy geo-targeting is a filter on the provider’s IP pool. Country targeting is broad, accurate and supported almost everywhere. City, ZIP, coordinate and ASN targeting are powerful, but each one shrinks the pool and leans harder on geolocation databases that are only estimates.

Start at the broadest level that gets you the right page, then go narrower only when the results prove you need it.

Our take: treat every location filter as a hypothesis. Test it with an echo endpoint and the target page before you scale.