Possibly ident.me
https://github.com/pcarrier/ident.me
It's also used by Neofetch by default.
https://ident.me/ returns just the IP
https://ident.me/json returns more info in JSON format
https://www.ident.me/ has a nicer UI
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
Looking for support?
Looking for a community?
~Icon~ ~by~ ~@Double_[email protected]~
Possibly ident.me
https://github.com/pcarrier/ident.me
It's also used by Neofetch by default.
https://ident.me/ returns just the IP
https://ident.me/json returns more info in JSON format
https://www.ident.me/ has a nicer UI
What do you want to use it for?
Not sure exactly what you want, but like this may be what you want. https://github.com/PeterDaveHello/ipinfo.tw
There are simpler solutions that are just a php script on your web server if you're only interested in IP address (I couldn't find a good example quickly on mobile)
ifconfig.me you can even curl it
It does not mention anything about IPv6, when connecting via IPv4.