Hacker News new | ask | show | jobs
by lemcoe9 717 days ago
Another shameless plug for my website, you can use ipkitten.com to get your public IP address from your terminal:

  $ curl ipkitten.com
  27.44.144.144
And if you visit it in a browser, you get your IP address and a kitten GIF!:

https://ipkitten.com

4 comments

I love using ipinfo.com for the extra details it provides like hostname, ISP, ASN, etc.

   $ curl ipinfo.io/json
or you can look up these details for any other IP:

   $ curl ipinfo.io/18.18.18.18
We have a CLI as well: https://github.com/ipinfo/cli

It has a ton of bells and whistles, including summarize IPs, bulk enrichment, grepip, and a ton of network-related tools. I was writing a series of blog posts on the CLI, but I think the series got too long and left users to discover the features of the CLI on their own.

Just don't let grow up and eat http://ipchicken.com.
there's https://myip.wtf or wtfismyip.com which provides a strongly worded interface. You can also check which headers your browser is sending to the website.
icanhazip.com is another service which does this.
And the easy-to-remember-for-Unix-nerds:

    ifconfig.me/ip
if you use curl it'll do user agent detection and just give you your ip

    curl ifconfig.me
or google search, which you tell you (might be fourth or more result)

https://www.google.com/search?q=what%27s+my+ip

Or ifconfig.co
v6! Yay!
One of the reasons I dig it.