This one also shows both your IPv6 and your IPv4 at the same time, which none of the other ones linked in these comments seems to do
Pro of icanhazip.com is that you can curl it directly, it returns your address and nothing else; you don't have to parse the result to get the value, which is a big plus when used in a script: