What is my IP address?

2600:1f28:365:80b0:f3e9:e7f:3cb6:2259

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

CLI examples

$ curl ifconfig.jeanfarrugia.net
2600:1f28:365:80b0:f3e9:e7f:3cb6:2259

$ wget -qO- ifconfig.jeanfarrugia.net
2600:1f28:365:80b0:f3e9:e7f:3cb6:2259

JSON output

$ curl ifconfig.jeanfarrugia.net/json
{
 "ip": "2600:1f28:365:80b0:f3e9:e7f:3cb6:2259",
 "continent": "NA",
 "country": "US",
 "city": "Ashburn",
 "latitude": "39.04372",
 "longitude": "-77.48749"
}

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