216.73.216.87
$ 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
$ 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.
Always returns the IP address including a trailing newline, regardless of user agent.
$ http i.kbrd.co/ip 216.73.216.87
$ http i.kbrd.co/port/8080
{
"ip": "216.73.216.87",
"port": 8080,
"reachable": false
}