What is my IP address?
The squares below the numbers show the same address in binary. Each part has 8 bits and a lit square is a one.
- Hostname
- no reverse record
- Provider
- Amazon.com, Inc.
IP address details
What public databases reveal about your address.
- Country
- United States US
- Region
- Ohio
- City
- Columbus
- Continent
- North America
- EU country
- No
- Coordinates
- 39.961, -82.999
- Provider
- Amazon.com, Inc.
- AS number
- AS16509
- Network
- 216.73.216.0/22
- Address type
- IPv4
- IP as a number
- 3628718274
The location is only approximate. It is based on an IP address database, not on your device's GPS, and often shows where your internet provider is based.
IP address on the command line
No browser needed on a server or in a script. One command returns the bare IP address with no extra text.
$ curl mojaipadresa.sk
216.73.216.194
# Only the city from the JSON output
$ curl -s mojaipadresa.sk/json | jq -r .city
Columbus
$ http -b mojaipadresa.sk
216.73.216.194
# Only the hostname from the JSON output
$ http -b mojaipadresa.sk/json | jq -r .hostname
null
$ wget -qO- mojaipadresa.sk
216.73.216.194
# Only the country from the JSON output
$ wget -qO- mojaipadresa.sk/json | jq -r .country
United States
$ fetch -qo- https://mojaipadresa.sk
216.73.216.194
# Always just the IP address, with any client
$ fetch -qo- https://mojaipadresa.sk/ip
216.73.216.194
$ bat -print=b mojaipadresa.sk/ip
216.73.216.194
# Only the network the address belongs to
$ bat -print=b mojaipadresa.sk/json | jq -r .ip_network
216.73.216.0/22
JSON output
{
"ip": "216.73.216.194",
"hostname": null,
"country": "United States",
"country_2code": "US",
"city": "Columbus",
"latitude": "39.961",
"longitude": "-82.999",
"stateprov": "Ohio",
"stateprov_2code": null,
"continent": "North America",
"continent_2code": "NA",
"is_eu": false,
"ip_type": "ipv4",
"ip_network": "216.73.216.0/22",
"ip_decimal": 3628718274,
"as": {
"as_number": 16509,
"as_organization": "Amazon.com, Inc.",
"as_network": "216.73.216.0/22"
},
"copyright": {
"service": "MojaIPadresa.sk",
"service_html": "<a href=\"https://mojaipadresa.sk\">MojaIPadresa.sk</a>",
"geolocation": "db-ip.com",
"geolocation_html": "<a href=\"https://db-ip.com\">IP Geolocation by DB-IP</a>"
},
"status": "success",
"message": ""
}
Addresses for scripts
mojaipadresa.skReturns just the IP address for curl, wget and similar tools.mojaipadresa.sk/ipAlways just the IP address as plain text.mojaipadresa.sk/jsonIP address, hostname, location and network as JSON.ipv4.mojaipadresa.skForces the IPv4 address even if you have IPv6.
More network tools
Test the connection to a server or what of your network is visible from the internet.
-
Ping
Checks whether a server responds and how many milliseconds it takes.
-
Traceroute
Shows the path data takes to the target, hop by hop.
-
Port checker
Checks whether a port on an IP address or domain is open from the internet.
-
IP lookup
Shows the country, city, provider and network of any IP address.