Geo-Targeted Proxies: Which Type Gives Which Granularity

Country, state, city or ASN. Which proxy type sells each level, what it costs, how to ask for it in the username, and how to prove the exit is there.

A geo-targeted proxy routes your request through an exit address in a location you name, so a website serves you the prices, search results, ads or catalog it shows a user there. How fine you can target depends on the proxy type, not the vendor's headline: a static datacenter proxy is one fixed address whose country you pick when you buy it, a rotating datacenter gateway lets you name a country per request, and a residential gateway lets you name a country, a state, a city and a network operator per request. At Node4 that means dedicated and shared datacenter addresses in the United States, Italy or Spain, Rotating Datacenter with a -country- segment for the same three countries, and residential exits in 160+ countries with -state-, -city- and -asn- segments. A location the pool cannot serve is refused with an error, never quietly served from somewhere else.

Which proxy type gives which targeting granularity?

Three mechanisms exist, and each vendor cited below sells some mix of them. The address carries its location (static), the gateway picks an address in a country you name (rotating datacenter), or the gateway picks a device matching several filters you name (residential).

Node4 productFinest granularityWhere you set itChangeable per requestCountriesBilled bySmallest plan
Dedicated datacenterCountry, fixed per addressThe country picker at checkoutNo; the address is the locationUnited States, Italy, SpainPer proxy, per month, no data cap$7.45/month for 5 proxies ($1.49 per proxy)
Shared datacenterCountry, fixed per addressThe country picker at checkoutNoUnited States, Italy, Spain, or an Italy + Spain splitPer proxy, per month, with 3 GB per proxy, pooled across your order$5.00/month for 25 proxies ($0.20 per proxy)
Rotating DatacenterCountry-country-xx in the usernameYesUnited States, Italy, SpainPer GB$5.90/month for 10 GB ($0.59/GB)
Rotating UnmeteredCountry-country-xx in the usernameYesThe same pool as Rotating DatacenterConcurrent connections, no byte meter$29.00/month for 250 connections ($0.116 per connection)
ResidentialCountry, state, city, ASN, plus a session pin-country-, -state-, -city-, -asn-, -session- in the usernameYes160+ countriesPer GB$4.99/month for 3 GB ($1.66/GB)

Rotating Datacenter and Rotating Unmetered draw the same exits; only the meter differs, so pay by the gigabyte if you use a little and by concurrency if you use a lot. On the static products, choosing a country is a purchase, not a request parameter: the dedicated picker offers United States, Italy, Spain or Any country, the shared plans add an even Italy + Spain split, and moving an address to another country afterwards is a support request. US datacenter addresses are on the US East Coast. Choosing and changing proxy locations walks through the picker.

The same split shows on other vendors' own pages, which is why "does this vendor support city targeting" is the wrong question and "on which product" is the right one. Bright Data documents country targeting on every proxy network, with city, state, ASN and ZIP code targeting on Residential proxies only. Oxylabs documents country, city, state, continent and ASN parameters in the username on pay-per-GB datacenter proxies, while pay-per-IP datacenter, ISP and self-service dedicated datacenter proxies carry no location parameter: the port of the IP assigned to a location is the targeting. Some vendors do tag datacenter pools below country level: Decodo advertises country, region and ZIP code level precision on shared or dedicated datacenter proxies, with city, state and ASN targeting for datacenter and ISP proxies announced as live, and IPRoyal lists over 50 countries with state and city targeting on datacenter proxies. Node4's rotating datacenter gateway is country only: a -city- segment is parsed and not used, so USERNAME-country-us-city-boston gets any US exit. Vendor pages were checked November 30, 2026.

What does each level of targeting cost to get?

At Node4, targeting is not a surcharge. Every residential plan carries country, state, city, ASN and session targeting from the smallest tier up, so the cost of city-level targeting is the residential per-GB rate, $1.66/GB on the 3 GB monthly plan and lower on larger plans (residential pricing). Country-level rotation inside the United States, Italy or Spain costs the Rotating Datacenter rate, $0.59/GB on the 10 GB monthly plan (rotating pricing), or a connection-priced Rotating Unmetered plan (unmetered pricing) if you move more data than you want to meter. A fixed address in one of those countries costs $1.49 per proxy on the 5-proxy dedicated plan (dedicated pricing) or $0.20 per proxy on the 25-proxy shared plan (shared pricing), and Italian and Spanish addresses are the same price as US ones.

Two other vendors read the same way on their own pages: Oxylabs states free-of-charge location targeting on all Oxylabs solutions, and Bright Data's datacenter page states no geo-targeting or domain costs on datacenter proxies, a network it counts at over 770,000 IPs from 98 countries, while the same page advertises city targeting for datacenter proxies that the vendor's geolocation docs say is deprecated. The cost of granularity is the product you have to buy to get it: finer targeting lives on residential pools, which are metered per gigabyte, so a city-level job pays for every byte of every page where a country-level job on a fixed datacenter address would not.

That has a sizing consequence. If a localized price check needs only "a shopper in Spain" and the target accepts datacenter ranges, a rotating datacenter plan or a few dedicated Spanish addresses is the cheaper way to see that page at matching plan sizes ($0.59/GB against $0.99/GB on the two 10 GB monthly plans; residential undercuts the rotating ladder only on its large plans, $0.45/GB on the 500 GB monthly plan against $0.47/GB on the 50 GB rotating plan); the bandwidth sizing guide estimates what the same crawl would cost per GB on residential.

How do you request a location on each product?

On the static products there is nothing to request at run time: connect to the address from your Proxies page and you are in its country. On the two gateway products the location rides in the username and the password never changes:

# Rotating Datacenter: a fresh Italian exit for this connection (HTTP)
curl -q --noproxy '' --max-time 30 \
  -x "http://USERNAME-country-it:PASSWORD@gw-rotating_datacenter.node4.io:8083" \
  https://node4.io/api/tools/ip

# Residential: an Austin, Texas exit held on one session for a multi-page price check (HTTP)
curl -q --noproxy '' --max-time 30 \
  -x "http://USERNAME-country-us-state-tx-city-austin-session-pricerun1:PASSWORD@gw-residential.node4.io:8082" \
  https://node4.io/api/tools/ip

# Residential: a German exit on one network operator, over SOCKS5
curl -q --noproxy '' --max-time 30 \
  -x "socks5h://USERNAME-country-de-asn-3320:PASSWORD@gw-residential.node4.io:1082" \
  https://node4.io/api/tools/ip

The response names the exit address and the country it geolocates to. The grammar that matters when you build these strings in code:

SegmentRotating Datacenter and UnmeteredResidential
-country-xxus, it or esAny two-letter ISO code with exits in the pool
-state-xxNot a rotating key: after -country-us it is read into the country value and refused with a 502; straight after the username it is a 407Two or three letters or digits; most useful as a US state code
-city-nameParsed, not usedLowercase letters and digits only, no spaces; pair it with its country, and add the state when a name exists in more than one state
-asn-nNot a rotating key; the same two outcomes as -state-The operator's AS number as bare digits, no AS prefix
-session-idHolds one exit for up to 30 minutesBest effort, with a 30-minute ceiling; mint a new id after repeated failures

Write the rotating username in the documented order, username then -country-xx then -session-ID: a misspelled key straight after the username is a 407, while one after another segment is read as part of that segment's value, so check the exit after you change targeting. Residential is strict wherever the typo sits: a misspelled key is a 400 naming it, and a malformed value is a 407. Residential targeting has the full segment reference and the dashboard builder, and the REST API returns ready-made strings for a country, state, city or session (building proxy strings with the gateway API), with GET /geo/countries/{country}/cities listing the city codes the pool currently covers.

If you authenticate by IP whitelist instead of credentials, the scope differs by product: on dedicated and shared datacenter proxies you register the address and connect with no credentials, and nothing is lost because nothing is expressed per request; on the rotating gateways a whitelisted server keeps its country by sending the targeted username with an empty password; on the residential gateway a whitelisted connection carries no username at all, so it is untargeted and rotates across the whole pool. Anything that pins a residential country, city or session authenticates with credentials. IP whitelisting best practices covers each product.

What does a refused location look like?

Ask for a location the pool has no exit in and the request fails. It is never served from another country, because a plausible wrong answer written into a price report is worse than a visible failed request. What you see depends on the product and the protocol:

SituationRotating gateways over HTTP(S)Residential over HTTP(S)Either gateway over SOCKS5
Well-formed country with no exits (for example -country-de on rotating)502 with a plain-text reason and X-Node4-Country: unavailable502 with X-Node4-Targeting: country-unavailable and X-Node4-Country: unavailableThe handshake fails with reply code 4, host unreachable; no text
State or city with no exits, or a city name that needs a stateNot applicable; city is not used502 with X-Node4-Targeting set to state-unavailable, city-unavailable or city-ambiguousReply code 4, host unreachable
Misspelled key407 straight after the username; after another segment, read as part of that value400 naming the key, with X-Node4-Targeting: unknown-keyReply code 2, connection not allowed, wherever HTTP would answer 407 or 400; on rotating, a typo swallowed into the country value is reply code 4, and one swallowed into a session id is served
Malformed value (three-letter country, uppercase city)A country value with no exits is a 502407Rotating: reply code 4, because the value is a country with no exits. Residential: reply code 2

The one check worth building in before a run is the refusal itself. Through a rotating datacenter username with a country the pool does not have, the plain-HTTP headers tell you in one line:

curl -q --noproxy '' --max-time 30 -s -o /dev/null -D - \
  -x "http://USERNAME-country-de:PASSWORD@gw-rotating_datacenter.node4.io:8083" \
  http://example.com/ | grep -i -E '^HTTP/|^x-node4-'

Expect HTTP/1.1 502 Bad Gateway and X-Node4-Country: unavailable: Germany is not a rotating datacenter country here. Swap de for it and the same command reports 200 with X-Node4-Country: honored.

Residential availability also moves through the day, because exits are consumer devices that join and leave. A small city that served you at noon may have nothing online at four in the morning local time, so read a residential city refusal as "not right now", and if the task allows it, widen in your own code from city to state to country while recording which level each row was collected at.

How do you confirm the exit is really where you asked?

The header is evidence only where it is delivered; the observed exit is evidence everywhere.

  • Plain HTTP on the rotating gateways: read X-Node4-Country. honored means the exit is in the country you asked for, none means no country segment was parsed, unavailable is the refusal above.
  • HTTPS on the rotating gateways: the gateway writes the 200 to your CONNECT before the destination answers, and that line carries X-Node4-Sticky only. A successful tunnel carries no country header, and its absence proves nothing either way. Check the exit the destination observed.
  • Residential, both protocols: a successful response carries no country header; only refusals do. Check the observed exit.
  • SOCKS5, both gateways: there are no headers at all. Check the observed exit.

"Check the observed exit" means fetching an IP-echo such as https://node4.io/api/tools/ip, or What Is My IP in a browser, through the exact proxy string your job uses, then reading the country it resolves to. Country-level attribution is dependable across geolocation databases; city-level attributions disagree between databases routinely, so a city placed in a neighboring suburb is ordinary noise and a wrong country is a problem. The scripted, bounded version of this check, saving the headers of one HTTPS and one plain-HTTP request per proxy string, is in the country-coverage ranking, and proxy location accuracy explains why a target's own geolocation can still disagree with a verified exit, and how to check the destination itself.

Which product should you buy for localized prices, SERPs, ads or region-locked content?

Start from the finest location the job needs, then from whether the target accepts datacenter ranges.

JobLocation it needsBuyWhy
Country-level price, catalog or availability checks in the United States, Italy or Spain, many pagesCountryRotating Datacenter with -country-xx, or Rotating Unmetered at volumeA fresh exit per connection, metered by GB or by concurrency; at matching plan sizes the cheaper way to see those three markets if the site accepts datacenter addresses
The same checks in any other countryCountryResidential with -country-xxThe datacenter products do not cover it
Prices that change by delivery area or store (groceries, marketplaces, travel)City, and a stable identity through a cart flowResidential with -country-us-state-xx-city-xxxx-session-idCity is the finest level sold; one session keeps the basket on one exit for up to the ceiling
Local search results and map packs by cityCityResidential city targeting, a new session per query batchA city exit is one input; the engine also reads its own location parameters, so set those too (rank tracking)
Ad verification: what a given ISP's subscribers in a city are shownCity and networkResidential with -city- and -asn-ASN targeting is how you appear on a named operator's network (ad verification)
Region-locked content, country catalogs, licensing checksCountryResidential with -country-xxMedia and streaming targets classify datacenter ranges; a residential exit is the one that looks like a viewer
A fixed, known address in one country for logins, long sessions or a whitelisted integrationCountry, unchangingDedicated datacenter, country chosen at checkoutThe address is yours alone and does not rotate

For price monitoring specifically, the difference between "the proxy was in the right place" and "the page showed the local price" is covered in region-locked pricing checks: a local exit does not by itself supply a local account, delivery address, currency preference or language header, and the target reads those too. Treat the IP as one input to the localization test.

Where Node4 does not cover your location or granularity

Residential exits are bought from upstream residential providers under written contracts and resold; the datacenter blocks are Node4's own. If your requirement says "provider-owned residential addresses", that is a product Node4 does not have.

FAQ

Do datacenter proxies support city targeting?

It depends on the vendor's product, not on the word datacenter. Node4's rotating datacenter gateway is country only and its static addresses are one country each. Bright Data's docs restrict city, state, ASN and ZIP targeting to residential, while Decodo and Oxylabs advertise city and state parameters on some datacenter products. Read the product's own targeting page, then verify the exit.

Can I target a ZIP code or GPS coordinates?

Not on Node4: city is the finest level, with ASN as a network filter. Oxylabs, Bright Data, Decodo and Webshare advertise ZIP or coordinate filters on their residential pools, cited above.

Which countries can a rotating datacenter proxy target?

At Node4, the United States, Italy and Spain, with -country-us, -country-it or -country-es. Without a segment, an exit can come from any of the three, so an untargeted rotating datacenter request is not a worldwide one. Any other country is refused with a 502.

Do I need residential proxies for SERP tracking by city?

For city-level results, yes, because city targeting is a residential feature and search engines tend to classify datacenter ranges. For country-level results in the United States, Italy or Spain, a rotating datacenter exit with -country-xx is the cheaper first test at matching plan sizes; if the engine returns a block page, move that market to residential.