If you’re using a Unix or Linux terminal and you need to know what your external IP address is (e.g. if you’re behind NAT) then there’s a quick one-liner that will do it for you:
dig +short txt ch whoami.cloudflare @1.0.0.1
Simply type this in and hit return and it will display a line of text with your external public IP address.