I prefer ifconfig.co
Can't you use curl -4 or curl -6 to query v4 or v6?
ifconfig is a convenient one. We will add the curl capability soon ✌️
I use this too! I even have an alias which I use all of the time.
alias whatsmyip='curl ifconfig.co'
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.