-
$ curl ifconfig.io
2600:1900:2000:17::
-
$ curl ifconfig.io/ip
2600:1900:2000:17::
-
$ curl ifconfig.io/host
ipv6.gae.googleusercontent.com.
-
$ curl ifconfig.io/country_code
US
-
$ curl ifconfig.io/ua
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/93.0.4577.0 Safari/537.36
-
$ curl ifconfig.io/port
29588
-
$ curl ifconfig.io/lang
ja-JP
-
$ curl ifconfig.io/encoding
gzip
-
$ curl ifconfig.io/mime
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
-
$ curl ifconfig.io/forwarded
2600:1900:2000:17::
-
$ curl ifconfig.io/all
-
$ curl ifconfig.io/all.xml
-
$ curl ifconfig.io/all.json
-
$ curl ifconfig.io/all.js