WhatIsMyIP - Find Your IP Address Instantly

The fastest WhatIsMyIP tool. Instantly see your public IPv4 and IPv6 addresses with geolocation and security details.

Detecting your IP addresses...

Detecting your IP address...

Privacy & Security Tools

Test your privacy and check for potential security issues.

Network Tools

Test, diagnose, and analyze network connections.

IP Intelligence

Everything you need to know about any IP address.

IP Geolocation

Country, region, city, coordinates, and timezone data.

Security Assessment

VPN, proxy, Tor detection and threat analysis.

ISP & Network Info

ISP name, ASN, organization, and connection details.

Developer API

Free JSON API. Works with curl, wget, and all languages.

Developer API

Free JSON API with automatic CLI detection. No API key required.

Quick Start

$ curl https://whatismyip.io

Code Examples

# Get your own IP info
curl https://whatismyip.io

# Look up a specific IP
curl https://whatismyip.io/8.8.8.8

Response Format

{
  "ip": "8.8.8.8",
  "type": "ipv4",
  "hostname": "dns.google",
  "country_code": "US",
  "country_name": "United States",
  "region_name": "California",
  "city": "Mountain View",
  "latitude": 37.42301,
  "longitude": -122.083352,
  "connection": {
    "asn": 15169,
    "isp": "Google LLC"
  },
  "security": {
    "is_proxy": false,
    "is_vpn": false,
    "threat_level": "low"
  }
}

Supported Clients

Our API automatically detects requests from these tools and returns JSON:

CLI Tools

curl, wget, httpie

Languages

Python, Node, Go, PHP

Libraries

axios, requests, fetch

Other

Postman, Insomnia

FAQ

Common questions about IP addresses.

What is my IP address?

Your IP address is the unique identifier shown at the top of this page. It's assigned by your internet service provider and allows websites and services to communicate with your device.

What's my IP and what does it reveal?

Your IP address reveals your approximate geographic location (city-level), your internet service provider, and whether you're using a VPN or proxy. It cannot reveal your exact address, name, or other personal information.

How do I find my IP address?

Simply visit this page and your IP address will be displayed automatically. You can also find it in your device settings, by typing "ipconfig" (Windows) or "ifconfig" (Mac/Linux) in command prompt, or by asking "what is my ip" in search engines.

Show my IP - why do I have different addresses?

You may see both IPv4 (like 192.168.1.1) and IPv6 (like 2001:db8::1) addresses. IPv4 is the older standard with limited addresses, while IPv6 is newer with virtually unlimited addresses. Both can work simultaneously.

My IP address - can it change?

Yes, most home users have dynamic IP addresses that change periodically when you restart your router or after a certain time. Some users pay for static IP addresses that don't change.

What is the difference between IPv4 and IPv6?

IPv4 uses 32-bit addresses (e.g., 192.168.1.1) with ~4.3 billion possible addresses. IPv6 uses 128-bit addresses (e.g., 2001:db8::1) with virtually unlimited addresses. IPv6 is the newer standard designed to replace IPv4 as addresses run out.

Can someone find my exact location from my IP?

No. An IP address only reveals approximate geographic location, typically at the city level. Only your ISP can connect your IP to your actual address.

How can I hide my IP address?

You can use a VPN (Virtual Private Network), proxy server, or the Tor network to mask your real IP address from websites. This can help protect your privacy and access geo-restricted content.

Ready to integrate?

Use our free API to add IP intelligence to your applications.

View API Documentation