Your IP address is 18.116.15.22

Grab the macOS companion app >>

/v4

Returns your IPv4 address if available

Example
-> curl https://ip4.life/v4
<- 69.243.32.35

/v6

Returns your IPv6 address

Example
-> curl https://ip4.life/v6
<- 2601:14c:8300:6970:a001:cba9:b541:305

/auto

Returns your IPv4 address if available, otherwise returns your IPv6 address

Example
-> curl https://ip4.life/auto
<- 69.243.32.35
-> curl https://ip4.life/auto
<- 2601:14c:8300:6970:a001:cba9:b541:305

/json

Returns a JSON object containing your IPv4 address if available and your IPv6 address

Example
-> curl https://ip4.life/json
<- {
       "v4": "69.243.32.35",
       "v6": "::ffff:69.243.32.35"
   }

/xml

Returns an XML object containing your IPv4 address if available and your IPv6 address

Example
-> curl https://ip4.life/xml
<- <?xml version="1.0" encoding="UTF-8"?>
   <addresses>
       <v4>69.243.32.35</v4>
       <v6>::ffff:69.243.32.35</v6>
   </addresses>

Fun facts

  • There is no JavaScript in this page. The dropdown button is pure CSS
  • All pages and assets are served directly from RAM
  • This site follows your device's Dark Mode
  • Hosted on DigitalOcean and Cloudflare
  • The color orange was named after the fruit
  • If you're feeling generous, you can kick me a buck here