Client IP address
Every request carries the sender's public IP address.
In one line
Can see the public internet address your connection uses
Every request carries the sender's public IP address.
The server sees the IP (or the proxy or relay address). IPv4 gives about 32 bits at most; an IPv6 /64 gives up to 64. It is the base for geolocation, ISP and VPN checks, and rate limits. Shared NAT and CGNAT blur it.
What it can and can't do
What the user does: Nothing. Every site you visit gets it when you connect
It can
- See your IP address, or your VPN, proxy or relay address
- Guess your country and city from it
- Check your internet company and spot VPNs
- Limit how many requests one address can make
It cannot
- Find your street address or name
- See your device's private home network address
- Be sure it is you; shared connections and carrier networks blur it
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 1 | 2008-12-11 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 1 | 2004-11-09 | None |
| Safari | Supported | 1 | 2003-06-23 | None |
| Safari on iPhone | Supported | 1 | 2007-06-29 | None |
| Chrome on Android | Supported | 1 | Not listed | None |
| Samsung Internet | Supported | 5.0 | 2016-12-15 | None |
How a site asks for it
| API | TCP/IP source address; X-Forwarded-For at proxies |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Browser connects
- Server reads the socket peer address
- Join with GeoIP and ASN databases
Data you get
What comes back: IPv4 dotted quad or IPv6
Shape: string
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
ip | string | None | IPv4 or IPv6 | exact |
Technical limits
- Hidden by VPN, Tor, iCloud Private Relay, Chrome IP Protection and corporate proxies
- CGNAT shares one IP among hundreds of users
The story
What it is
Every site you visit sees your internet address.
For you
You never see it, but every site you visit receives your network address. It shows your internet provider and rough area. A VPN or relay swaps it for another address.
For makers
Makers need it to send you the page. They also use it for rough location, rate limits, abuse blocking and fraud, and ads use it to link visits from the same home or office.
Where you see it
| Type | Example | Apps |
|---|---|---|
| games | A multiplayer game server uses your address to place you in a region and connect you with nearby players. | Roblox, Krunker.io |
| games | A cloud gaming service uses your address to pick the closest data center for the lowest lag. | GeForce NOW, Xbox Cloud Gaming |
| media | A streaming service uses it to decide which shows are licensed in your country. | Netflix, Disney+ |
| security | A website blocks an address that tries a password thousands of times. | None named |
| ads | An ad network links visits from one household address to guess that devices belong together. | None named |
| analytics | A site counts unique visitors and cities by address. | Google Analytics |
| banking | A bank flags a login from an address it has never seen for that customer. | None named |
Risks
- Reveals rough location
- Links your visits
Good uses and abuse
Legitimate uses
- Rate limiting, abuse prevention, geo compliance
Known abuse
- Cross-site tracking when combined with other signals
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 3 of 5 | How revealing the data is |
| Utility | 5 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 4 | Rough identifying entropy, when known |
Related capabilities
Related
- IP geolocation. Can guess your country, region and city from your IP address
- ASN, ISP and hosting type. Can tell which internet company you use and if you look like a home user
- IP masking (Private Relay, IP Protection, Tor). Can see only a relay's address when you browse with Private Relay, IP Protection or Tor
Sources
How well checked: Based on official documentation.