Your public IP address, via Google Search
google.com
google.com
http://www.google.com/search?q=gazpacho
Check the sidebar...
curl ifconfig.meSome applications need to use the public IP address. So far we mostly have to maintain our own solutions (http://myip.wampdeveloper.com/) for our own products (http://www.devside.net/server/webdeveloper).
I got excited about GoogGoogle's IP query, then I looked at the page's source code! I guess I could parse that but still, there is no guarantee the format/syntax/text would stay the same.
So far I've seen a few dozen different IP return URLs. And I'm sure there are 1000s more private ones. If we could have one that's guaranteed to be around, that would help everyone out.
And if you really need to confirm your IP address with Google: https://duckduckgo.com/?q=!g+ip
(check out the many other '!' features)
[edit]
Clarification: with ipv4 it shows my ipv4 address, with ipv6, it doesn't show any address at the top.
Your public IP address is 2001:610:1908:8000:224:1dff:----:---
Keep in mind that although you might think you're on ipv6, there's a lot of stuff between you and google that might prevent you from actually connecting to google using ipv6.
I'm on a university campus that explicitly negotiated with google to have us on their ipv6 whitelist pretty early on. I forgot why they had a whitelist, hopefully its easier getting on google through ipv6 now.
edit: redacted a bit, I just realised maybe publishing my ip could have negative effects
alias myip="dig +short myip.opendns.com @resolver1.opendns.com"
alias myip2="curl -s icanhazip.com"