News for hackers. Stuff that matters.
Re:Icanhazip: A simple IP address tool survived a deluge of ... by 0x6A75616E on Monday July 31, 2023 @05:45PM (#36949290)
the issue is that these return a bunch of html so using them from the command line is not ideal.

I made wgetip.com back in 2008 to solve this. icanhaz must've been pretty suboptimal back then to have issues with traffic. wgetip still gets about 3M requests per hour. All from a single $5 droplet.

Re:Icanhazip: A simple IP address tool survived a deluge of ... by zokier on Monday July 31, 2023 @05:47PM (#36949317)
ip4.me and ip6.me have /api endpoint for programmatic access
Re:Icanhazip: A simple IP address tool survived a deluge of ... by SadTrombone on Monday July 31, 2023 @06:28PM (#36949742)
The /api endpoint seems to return me a 301 error from the command line.
Re:Icanhazip: A simple IP address tool survived a deluge of ... by ComputerGuru on Monday July 31, 2023 @06:35PM (#36949796)
That’s a redirect, not an error. Probably to /api/ with a trailing slash. Or use the -l flag to curl to have it auto redirect.
Re:Icanhazip: A simple IP address tool survived a deluge of ... by jffry on Monday July 31, 2023 @06:32PM (#36949772)

  curl https://ip4.me/api/
works for me
Re:Icanhazip: A simple IP address tool survived a deluge of ... by pepa65 on Tuesday August 01, 2023 @04:52AM (#36953870)
There, /ip is better.
Re:Icanhazip: A simple IP address tool survived a deluge of ... by pepa65 on Tuesday August 01, 2023 @04:48AM (#36953841)
Best thing to try first is to append /ip I've found.

For wgetip.com that is not needed of course. But I haven't found a way to get the IPv4 address there...