$ curl domain.com 216.73.216.133 $ http -b domain.com 216.73.216.133 $ wget -qO- domain.com 216.73.216.133 $ fetch -qo- https://domain.com 216.73.216.133 $ bat -print=b domain.com/ip 216.73.216.133
$ curl domain.com/country United States $ curl domain.com/country-iso US
$ curl domain.com/city Columbus
$ curl domain.com/json
{
"ip": "216.73.216.133",
"ip_decimal": 3628718213,
"country": "United States",
"country_iso": "US",
"country_eu": false,
"region_name": "Ohio",
"region_code": "OH",
"metro_code": 535,
"zip_code": "43215",
"city": "Columbus",
"latitude": 39.9625,
"longitude": -83.0061,
"time_zone": "America/New_York",
"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.
$ curl domain.com/ip 216.73.216.133