$ curl ip.vps.zethis.ovh 216.73.216.114 $ http -b ip.vps.zethis.ovh 216.73.216.114 $ wget -qO- ip.vps.zethis.ovh 216.73.216.114 $ fetch -qo- https://ip.vps.zethis.ovh 216.73.216.114 $ bat -print=b ip.vps.zethis.ovh/ip 216.73.216.114
$ http ip.vps.zethis.ovh/country United States $ http ip.vps.zethis.ovh/country-iso US
$ http ip.vps.zethis.ovh/city Palmdale
$ http ip.vps.zethis.ovh/json
{
"ip": "216.73.216.114",
"ip_decimal": 3628718194,
"country": "United States",
"country_eu": false,
"country_iso": "US",
"city": "Palmdale",
"latitude": 34.5705,
"longitude": -118.029,
"user_agent": {
"product": "Mozilla",
"version": "5.0",
"comment": "AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)",
"raw_value": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
}
}
Setting the Accept: application/json header also works as expected.
Always returns the IP address including a trailing newline, regardless of user agent.
$ http ip.vps.zethis.ovh/ip 216.73.216.114
$ http ip.vps.zethis.ovh/port/8080
{
"ip": "216.73.216.114",
"port": 8080,
"reachable": false
}
As of 2018-07-25 it's no longer possible to force protocol using
the v4 and v6 subdomains. IPv4 or IPv6 still can be forced
by passing the appropiate flag to your client, e.g curl -4
or curl -6.