$ curl four.ip.n7r.de 64:ff9b::d849:d873 $ http -b four.ip.n7r.de 64:ff9b::d849:d873 $ wget -qO- four.ip.n7r.de 64:ff9b::d849:d873 $ fetch -qo- https://four.ip.n7r.de 64:ff9b::d849:d873 $ bat -print=b four.ip.n7r.de/ip 64:ff9b::d849:d873
$ http four.ip.n7r.de/json
{
"ip": "64:ff9b::d849:d873",
"ip_decimal": 524413980667603649783483184940963955,
"country_eu": false,
"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 four.ip.n7r.de/ip 64:ff9b::d849:d873