# Command-line usage # 1) Get plain IP curl -s https://whatsmyip.haasje.net curl -H "Accept: text/plain" -s https://whatsmyip.haasje.net curl -s https://whatsmyip.haasje.net/ip # 2) Full JSON (IP, headers, links) curl -s https://whatsmyip.haasje.net/json # 3) IPv6 check (HTML / text / JSON) curl -s https://whatsmyip.haasje.net/ipv6 curl -H "Accept: application/json" -s https://whatsmyip.haasje.net/ipv6 # 4) Pretty headers in your terminal curl -s https://whatsmyip.haasje.net/json | jq # 5) httpie / wget http https://whatsmyip.haasje.net/json wget -qO- https://whatsmyip.haasje.net