#
What's my IP address?
ipwho.de is a text only website, which displays your public IP address, the related location and the provider, as well as the web client you used to call the site.
It also provides endpoints forcurl
.
#
Usage from CLI
The single protocol related links return your public IP:
#
IPv4
curl 4.ipwho.de/ip
# Example output:
93.184.215.14
#
IPv6
curl 6.ipwho.de/ip
# Example output:
2606:2800:21f:cb07:6820:80da:af6b:8b2c
# All IPs as json:
curl ipwho.de/json
# Example output:
{
"ip": "93.184.215.14",
"country_code": "XY",
"country_name": "Sampleland",
"city_name": "Foo City",
"asn": "1234",
"as_desc": "Random ASN",
"user_agent": "curl/8.11.1"
}