https://ifconfig.me/
$ curl ifconfig.me
129.6.255.60
$ curl ifconfig.me/all
ip_addr: 129.6.255.60
remote_host: unavailable
user_agent: curl/7.68.0
port: 52332
replies(1):
$ curl ifconfig.me
129.6.255.60
$ curl ifconfig.me/all
ip_addr: 129.6.255.60
remote_host: unavailable
user_agent: curl/7.68.0
port: 52332