What is my IP address?

216.73.216.87

CLI examples

$ curl -L i.kbrd.co
216.73.216.87

$ http -b i.kbrd.co
216.73.216.87

$ wget -qO- i.kbrd.co
216.73.216.87

$ fetch -qo- https://i.kbrd.co
216.73.216.87

$ bat -print=b i.kbrd.co/ip
216.73.216.87

JSON output

$ http i.kbrd.co/json
{
  "ip": "216.73.216.87",
  "ip_decimal": 3628718167,
  "country_eu": false
}

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

Plain output

Always returns the IP address including a trailing newline, regardless of user agent.

$ http i.kbrd.co/ip
216.73.216.87

Port testing

$ http i.kbrd.co/port/8080
{
  "ip": "216.73.216.87",
  "port": 8080,
  "reachable": false
}