Just the IP address:

wget -q -O - http://whatismyip.org/