An IP address does not carry a location. When a website “knows” you are in Berlin, it has looked your IP up in a commercial geolocation database that estimates where the address is used, from registration records, routing data, latency measurements and user-supplied hints — and different databases estimate differently. This is why a proxy sold as “Berlin” can appear in Frankfurt on one site and Munich on another, why mobile IPs are so often located at the carrier's head office, and why “my proxy's location is wrong” is usually a question about databases rather than about the proxy. This guide explains what geolocation measures, why it disagrees, how to verify a proxy's location properly, and how to keep the rest of your setup consistent with what the target site will believe.
What IP geolocation actually is
Companies such as MaxMind (GeoIP2/GeoLite), IP2Location, IPinfo, DB-IP and others maintain databases mapping IP ranges to countries, regions, cities and approximate coordinates. Their sources:
- Registry records — the regional internet registries (RIPE, ARIN, APNIC…) record which organisation holds a block and, often, a postal address. Accurate for country; the address is the holder's, not the user's.
- ISP-published geofeeds (RFC 8805) — some networks publish CSV files stating where their sub-ranges are deployed. Where they exist, they are the most accurate input.
- Routing and latency — where a range is announced from, and how far it is (in milliseconds) from measurement points, constrains its position.
- User data — some vendors ingest location signals from apps and websites (with consent, in theory) to refine ranges.
- Corrections — submitted by network operators and users.
Country-level accuracy is high (typically 95–99% for the major vendors). City-level accuracy is much lower — commonly 50–80% within a reasonable radius, and considerably worse for certain address types. The “coordinates” a database returns are usually the centroid of the estimated city or region, not a position.
Why databases disagree, by proxy type
Datacenter
Generally located accurately — at the datacenter. Two wrinkles: a provider may announce a range from a different city than the registry address; and cloud regions sometimes carry addresses re-homed from elsewhere, so a database with stale data places them in the old location for months.
Residential (rotating)
Country is reliable; city depends on the ISP's allocation practices. Some ISPs assign address pools per city, which geolocates well; others assign from a national or regional pool, so an IP genuinely in Leipzig may be located to Berlin because that is where the pool's centroid falls. This is not the proxy provider's error — nothing about the IP says Leipzig.
Mobile
The hardest case, and the one behind most complaints. Mobile carriers use carrier-grade NAT: a public IP is shared by thousands of subscribers spread across a region or a whole country, and the address block is registered to the carrier's headquarters. Databases therefore place mobile IPs at the head office or the nearest large city, and the same IP will legitimately be used by phones hundreds of kilometres apart. A “Munich mobile proxy” whose SIM really is in Munich may still be located to Frankfurt or Düsseldorf by every database — correctly, from their point of view, because that is where the carrier's pool lives. City-level targeting for mobile proxies is largely a fiction at the database level, whatever the provider's dashboard says.
ISP proxies
Registered residential, hosted in a datacenter: databases may say the ISP's city (from registration) or the datacenter's (from latency), depending on the vendor. If precise city matters, test the specific IP.
Freshly moved ranges
When any range is reassigned — sold, leased to a proxy provider, moved between regions — databases lag by weeks to months, and lag differently. This is the main reason two databases disagree about the same IP.
Which database does the target use?
You cannot know for certain, and it varies: large platforms often license one or two commercial feeds, sometimes blend them, sometimes run their own. Practical approach: check a candidate IP against three or four public lookups (the free tiers of the major vendors). If they agree, the target almost certainly agrees too. If they split, assume the target may see any of the answers, and pick a proxy that satisfies all of them or accept the uncertainty. For anything where city precision is the point — local ad verification, local search results — ask the provider which database they validate against, then verify yourself.
How to verify a proxy's location
- Look the exit IP up in several databases, not one. Note country (should be unanimous), region and city (may differ), and the type/ASN each reports.
- Check what the target itself shows you where possible: a shopping site's default store or currency, a search engine's localisation, a map service's default centre, a weather site's default city. This is the only test that reveals the database the target actually uses.
- Test more than one IP from a rotating pool with city targeting; consistency across a sample tells you whether the targeting is real or aspirational.
- Measure latency from the proxy to a host in the claimed city and to one far away; a “Sydney” proxy with 20 ms to London and 300 ms to Sydney is not in Sydney. Method in how to measure proxy speed.
- Re-check periodically. Databases update; ranges move.
Fold this into the standard checklist in How to test a proxy; the geolocation section there is the short version of this article.
Consistency: the part you control
Whatever the target believes about the IP, everything else your client reveals should agree with it — because anti-bot systems cross-check location signals against each other (see how anti-bot systems score):
| Signal | Should match | Where to set it |
|---|---|---|
| Browser time zone | The IP's location (as databases see it) | Antidetect profile; Playwright timezone_id; OS setting |
Accept-Language / navigator.languages | Plausible for the country (e.g. de-DE,de;q=0.9,en;q=0.8 for Germany) | Headers; profile; Playwright locale |
| HTML5 Geolocation API (if the site asks) | Coordinates in the same city | Playwright geolocation; antidetect profile; or deny the permission consistently |
| Currency / locale formatting the site infers | Do not fight it — accept the site's local defaults | — |
| Device type | Mobile UA on mobile IP; desktop UA on broadband IP | User-Agent and client hints |
The most common self-inflicted mismatch is a German residential IP with the machine's real (say, UTC+3) time zone leaking through JavaScript. Fixing that in the browser profile is free; buying a more expensive proxy to compensate is not. The pairing rules are in what an antidetect browser controls.
Setting expectations by task
- Country-level (geo-restricted content, country pricing, country SERPs): any type works; verify country across databases; done.
- City-level, desktop (local ads, local search, store availability): residential with city targeting from an ISP that allocates per city; verify against several databases and the target's own localisation; expect some scatter.
- City-level, mobile: mostly not achievable at the database level; the IP will be located to the carrier's regional pool. If the task truly needs “phone in this city,” the platform is probably using GPS/HTML5 geolocation, not IP — set that instead, and accept the IP's city as the carrier region.
- Anything where the site shows you a location: trust what the site shows over what any database says.
Frequently asked questions
Why does my proxy show a different city on different sites?
Each site uses its own geolocation database, and databases estimate city differently — particularly for residential pools allocated regionally and for mobile IPs behind carrier NAT. Country agreement is normal; city disagreement is common and usually not a proxy fault.
Why are mobile proxies located in the wrong city?
Because a mobile public IP is shared by thousands of subscribers across a region and registered to the carrier, databases place it at the carrier's regional centre or head office. That is where the pool “is”; the SIM's physical city is not visible in the IP.
How accurate is IP geolocation?
Country: 95–99% for major vendors. City: roughly 50–80% within a reasonable radius, lower for mobile and for recently moved ranges. Coordinates are city centroids, not positions.
Which GeoIP database is correct?
None is authoritative; each is an estimate from different inputs. Check several; where they agree you can be confident, where they split assume the target could see any of them.
Does a proxy change my time zone?
No. Time zone comes from the browser or OS and is visible to JavaScript. Set it to match the proxy's location yourself, or the mismatch is a detectable inconsistency.
Can I get a proxy in a specific small town?
Rarely with any confidence: databases seldom resolve below major cities, and residential pools are allocated by ISPs at city or regional level. Test the specific IPs you receive rather than trusting a dashboard label.