> public ip

IPv4
...
IPv6
...
# plain text
$ curl -L ip.rootik.cz

# json
$ curl -L -H "Accept: application/json" ip.rootik.cz