myip - Dead Simple IP API

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

Your current IP address is

3.141.31.222

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 3.141.31.222
https://myip.arens.online/xml XML <?xml version="1.0" encoding="UTF-8" ?>
<ip>3.141.31.222</ip>
https://myip.arens.online/json JSON {"ip":"3.141.31.222"}
https://myip.arens.online/jsonp JSONP callback({"ip":"3.141.31.222"});
https://myip.arens.online/jsonp/myVeryOwnCallback JSONP (custom callback) myVeryOwnCallback({"ip":"3.141.31.222"});

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.