myip - Dead Simple IP API

myip provides an easy to use API to programmatically get your public IP address.

Your current IP address is

35.172.230.21

IP protocol version

You can specify the IP protocol version by using a specific domain.

Domain Protocol Description
IPv4 IPv6
myip.arens.online Use the default domain if you just want any public IP
ipv4.myip.arens.online Use a specific domain if the protocol matters
ipv6.myip.arens.online

Response formats

You can select the response format that's easier for you by calling the matching API endpoint.

Endpoint Format Example Response
https://myip.arens.online/plain Plaintext 35.172.230.21
https://myip.arens.online/xml XML <?xml version="1.0" encoding="UTF-8" ?>
<ip>35.172.230.21</ip>
https://myip.arens.online/json JSON {"ip":"35.172.230.21"}
https://myip.arens.online/jsonp JSONP callback({"ip":"35.172.230.21"});
https://myip.arens.online/jsonp/myVeryOwnCallback JSONP (custom callback) myVeryOwnCallback({"ip":"35.172.230.21"});

Privacy

The webserver that provides this site doesn't store request information of any kind. There are no cookies set or required to use this site.