What Is My IP Address? How IP Addresses Work
Every device connected to the internet has an IP address. It's how data finds its way from a server to your browser and back. But what exactly is it, and how do websites use it to know where you are?
What Is an IP Address?
An IP (Internet Protocol) address is a unique numerical label assigned to every device on a network. Think of it like a mailing address for your computer โ it tells other devices where to send data so it reaches you.
When you visit a website, your browser sends a request that includes your IP address. The server uses this address to send the webpage back to you. Without it, the internet simply wouldn't work.
IPv4 vs IPv6
There are two versions of IP addresses in use today:
| Feature | IPv4 | IPv6 |
|---|---|---|
| Format | 192.168.1.1 | 2001:0db8:85a3::8a2e:0370:7334 |
| Address Space | ~4.3 billion | ~340 undecillion |
| Adoption | Still dominant | Growing (~40% of traffic) |
| Example | 203.0.113.42 | 2607:f8b0:4004:800::200e |
IPv4 addresses are running out, which is why IPv6 was created with a vastly larger address space. Most modern networks support both.
Public vs Private IP Addresses
Your home network has two types of IP addresses:
- Public IP โ Assigned by your ISP, visible to the internet. This is what websites see when you visit them. It's shared by all devices on your home network.
- Private IP โ Assigned by your router (e.g., 192.168.1.x). Only visible within your local network. Not accessible from the internet.
When a geolocation API returns your IP, it's always your public IP โ the one your ISP assigned to your connection.
How Do Websites Know My Location from My IP?
Your IP address doesn't directly contain your location. Instead, geolocation databases maintain mappings between IP ranges and physical locations. Here's how it works:
- Your ISP is assigned blocks of IP addresses by a Regional Internet Registry (RIR)
- These assignments include the ISP's registered address and service area
- Geolocation providers build databases mapping IP ranges to locations using ISP data, network measurements, and user reports
- When a website queries your IP, the database returns the approximate location
The result is typically accurate to the city level โ enough to show you local weather, set your timezone, or display prices in your currency.
Find Your IP Address Right Now
You can see your public IP and location data with a single API call:
curl https://geo.kamero.ai/api/geoThis returns your IP along with city, country, timezone, and coordinates:
{
"ip": "203.0.113.42",
"city": "San Francisco",
"country": "US",
"timezone": "America/Los_Angeles",
"latitude": "37.7749",
"longitude": "-122.4194"
}Or just visit geo.kamero.ai to see a live demo with your location plotted on a map.
Can Someone Find My Exact Address from My IP?
No. IP geolocation typically resolves to a city or neighborhood level โ not a street address. The coordinates point to a general area (often the city center or ISP hub), not your physical location.
Only your ISP knows the exact address associated with an IP, and they're legally required to protect that information. Law enforcement can request it with a court order, but websites and APIs cannot access it.
How to Hide Your IP Address
If you want to mask your IP location:
- VPN โ Routes your traffic through a server in another location. Websites see the VPN server's IP instead of yours.
- Tor Browser โ Routes traffic through multiple relays. Very private but slower.
- Proxy Server โ Acts as an intermediary. Less secure than a VPN but simpler.
Check Your IP Location
See what our API detects for your IP โ live on the homepage.
View Live Demo โ