What is my IP address?

2600:1f28:365:80b0:113:f625:a692:9e7

Multiple command line HTTP clients are supported, including curl, GNU Wget.

CLI examples

$ curl ifconfig.jeanfarrugia.net
2600:1f28:365:80b0:113:f625:a692:9e7

$ wget -qO- ifconfig.jeanfarrugia.net
2600:1f28:365:80b0:113:f625:a692:9e7

JSON output

$ curl ifconfig.jeanfarrugia.net/json
{
 "ip": "2600:1f28:365:80b0:113:f625:a692:9e7",
 "continent": "NA",
 "country": "US",
 "city": "Ashburn",
 "latitude": "39.04372",
 "longitude": "-77.48749"
}

Setting the Accept: application/json header also works as expected.