curl https://icanhazip\.com # Easy way to find your public IP address that is friendly to CLI users. There are many others, but ask yourself:
1) Do you have to parse the output?
2) Do they have SSL?
3) Have they been around for a while?
4) Are they IPv6 ready?
@climagic #identME checks all four, and also proposes different API calls : https://api.ident.me
works pretty well !
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!