Public IP address
Any server the app contacts sees the public IP, which can be matched to a city.
In one line
Can't avoid showing your public address to any server it contacts, which hints at a city
Any server the app contacts sees the public IP, which can be matched to a city.
IP gives city-level location and ISP, with no prompt. Apple's Private Relay and Google's IP Protection hide it for some traffic.
What it can and can't do
What the user does: Nothing. It happens whenever the app connects to the internet
It can
- Let every server see your public IP address
- Guess your city from the address, usually within 10 to 50 km
- Group visits from the same network
It cannot
- Pin your street or home from the address alone
- See the IP if you use a VPN; the VPN address shows instead
- Be hidden by Private Relay in apps; it only covers Safari on iPhone
- Be hidden by the phone without a VPN
How it differs between platforms: iCloud Private Relay hides the address in Safari on iPhone but not app traffic. Android has no built in equivalent.
On Android and iPhone
| Android | iPhone | |
|---|---|---|
| Status | Supported | Supported |
| First version | Android 1.0 (API 1) | iOS 2.0 |
| Permission or entitlement | INTERNET | none |
| Protection level | normal | none |
| How access is granted | install | none |
| What the user sees | Not listed | Not listed |
| How long it lasts | Not listed | Not listed |
| How to take it back | Not listed | Not listed |
| Store policy | None listed | None listed |
| API | Any network request; server-side logs | Private Relay hides it for Safari only, not app traffic |
| Notes | City-level geolocation typically 10 to 50 km | None |
Data you get
What comes back: IP address
Shape: string
How often: Per request
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
ip | string | None | IPv4 or IPv6 | exact |
Technical limits
- Cannot be hidden from apps by the OS
The story
What it is
Every server an app talks to sees your public internet address, which points to your city.
For you
You do not see it, and you cannot turn it off just by saying no. Every app and site that you contact learns your IP address. It shows your city and your internet provider.
For makers
Makers get a free, no permission clue about your area. They use it for regional content, taxes, fraud checks and ad targeting. It is also a way to link the same person across apps at home.
Where you see it
| Type | Example | Apps |
|---|---|---|
| media | A streaming app shows the shows licensed for your country because of your IP. | Netflix, Disney+ |
| games | A game picks the nearest server and region for you based on your IP. | Fortnite, Call of Duty Mobile |
| banking | A bank flags a login from a country far from your last one and asks you to confirm. | None named |
| shopping | A store shows prices and tax for your country and blocks orders from banned areas. | None named |
| ads | An ad network guesses your city from the IP and shows local offers, or links your phone with your laptop at home. | None named |
| security | A fraud system blocks an account that logs in from hundreds of cities in one hour. | None named |
Risks
- City level location with no prompt
- Cross app and cross device linking
Android and iPhone in short
- Android: Android apps see the public address like any other app, and Google is adding an IP protection feature for some Chrome traffic.
- iPhone: iPhone apps see it too, and Private Relay hides it only for Safari and some system traffic.
What the platform says
- Apple: iCloud Private Relay. Apple hides your IP address from sites in Safari and some app traffic for iCloud+ users.
Good uses and abuse
Legitimate uses
- Geo features, fraud checks
Known abuse
- Cross-app tracking, location inference
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 10 | Rough identifying entropy, when known |
Related capabilities
Related
- Local IP addresses and DNS servers. Can see your phone's home network address and DNS servers, with limits in Android 17
Same idea on the web
- Client IP address. Can see the public internet address your connection uses
Sources
- Reardon et al.: 50 Ways to Leak Your Data (USENIX Security 2019)
- Apple Support: Control access to Wi-Fi information and Private Wi-Fi addresses
How well checked: Inferred from related behavior.