ip.dance is now easy with curl.
You can cURL https://ip.dance/ with a curl user-agent and get your ip address returned as the only content
curl https://ip.dance
18.117.105.14
You can cURL https://ip.dance/ with a curl user-agent and get your ip address returned as the only content
curl https://ip.dance
18.117.105.14