216.73.216.216
Multiple command line HTTP clients are supported, including curl, httpie, wget, and fetch.
$ curl ip.encryption.io 216.73.216.216 $ http -b ip.encryption.io 216.73.216.216 $ wget -qO- ip.encryption.io 216.73.216.216 $ fetch -qo- https://ip.encryption.io 216.73.216.216 $ bat -print=b ip.encryption.io/ip 216.73.216.216
$ http ip.encryption.io/country United States $ http ip.encryption.io/country-iso US
$ http ip.encryption.io/city Palmdale
$ http ip.encryption.io/json { "ip": "216.73.216.216", "ip_decimal": 3628718296, "country": "United States", "country_eu": false, "country_iso": "US", "city": "Palmdale", "latitude": 34.5705, "longitude": -118.029, "asn": "AS20001", "asn_org": "TWC-20001-PACWEST", "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.encryption.io/ip 216.73.216.216
$ http ip.encryption.io/port/8080 { "ip": "216.73.216.216", "port": 8080, "reachable": false }