Jump to content
Sign in to follow this  


Recommended Posts


It's basically another site for retrieving your public IP address.

Why is any different than the standard UDF?

You can get you IP in plain or json string, there is no limit to how often you can call it, and the provider assures the service is free, will not expire, and (this is the bit I like) "regardless of whether the server running the API dies, or if there's an enormous tornado which destroys half of the east coast, ipify will still be running"

I named the function with the real provider of the service in mind, which is where the only credit belongs.


MsgBox(0, "IP String", _Ipify())
MsgBox(0, "IP JSON String", _Ipify(1))

Func _Ipify($JSON = 0)
    Local $sURI = "https://api.ipify.org"
    if $JSON Then $sURI &= "?format=json"
    Return BinaryToString(InetRead($sURI, 1))


  • Like 1

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.