My IP Address:

Query IP Address Location


About My IP Address Online Tool:

This online my ip address location tool helps you to find your public IP address, with IP geographical information include longitude, latitude and zip code.

comic my ip address

What is IP address?

Just like your real life mail address used to receive Amazon package, IP address (Internet Protocol address) is a label to mark your location in the Internet, so other computers (mostly website servers) know where to send the data.

There are two kinds of IP address. Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6). IPv6 used a 128 bits number to mark your location, though IPv6 will not be used widely in next 10 years. IPv4 used a 32 bits number to mark your location (0.0.0.0 ~ 255.255.255.255), which means it has totally 2^32 = 4,294,967,296 unique address. (4 billion is not a large number !!!).

Most likely, the device you are using right now, doesn't has a unique IPv4 public address, however, a private address is used. Your router has a dedicate public IP address and works as a pub to transit all the Internet traffic to the outside world. This technology is called NAT (Network address translation). NAT can not only save IPv4 address, but also provide you an extra layer of security protection.

Why should I care about IP address?

Privacy. Your IP address might expose your real geographical information (which country and which city). VPN or proxy is often used by people who wants to change his/her Internet location. It's a trade off between which authority do you trust more, your IPS (Internet Service Provider) is national large companies that work with government. On the other hand, VPN providers build their business based on protect its customer's privacy but you didn't know for sure whether they collect your browsing history. For advanced users, I suggest using Tor, one VPN tunnel following by another VPN tunnel. So no one can know your real IP address.

More information about IP:

Wikipedia (Internet Protocol): https://en.wikipedia.org/wiki/Internet_Protocol

RFC 791 (Internet Protocol): https://tools.ietf.org/html/rfc791

Geolocation API (ip-api): http://ip-api.com/docs/

Geolocation API (Google Maps API): https://developers.google.com/maps/documentation/geolocation/intro

Find IP location with Python (with free and unlimited API provided by Coding.tools):

import requests
import json

ip_json_str = requests.post('https://coding.tools/my-ip-address', data={'queryIp': '8.8.8.8'}).text
ip_json = json.loads(ip_json_str)
print(ip_json)

print('IP address:', ip_json['ip'])
print('Country:', ip_json['country_name'])
print('Region:', ip_json['region_name'])
print('City:', ip_json['city_name'])
print('Latitude:', ip_json['latitude'])
print('Longitude:', ip_json['longitude'])