Jump to content
Not connected, Your IP:

Recommended Posts

You can obtain data from ipleak.net trough an API, by querying the directory json or xml or php.


We don't require any authorization or API key for this service.

It's provided as a best-effort service.

We limit requests in time-range for specific IP addresses if anyone runs too many requests to preserve availability of this service.


For example, to fetch data about your IP in json format:

To force use of IPv4:
To force use of IPv6:
To fetch data about your DNS in json format (replace with a random hash in every request; must be 40 chars length):
To fetch data about the IP address in xml format:


query_textYour query text
query_typeCan be myip, mydns, ip or domain
query_dateUnix timestamp of server result.
levelLevel of detail. Can be min or max. Only some IP addresses are fetched for all available data (max levels)
cacheUnix timestamp of data accuracy, if the level is max. Data at min level are always in real time. Fields like Tor and reverse are always in real time.
ipThe IP address.
country_codeCountry ISO code
country_nameCountry Name
torIf the IP address matches a Tor Exit Node.
reverseReverse lookup.


The above fields are always provided. Other fields may be available if we known additional data.

If you query a domain name, every IP address resolved for that is available under an ips data node.


Reserved address

If the address is an IANA special address, data will contain special fields. See as example ( xml, json)

Look IANA IPv4 / ipv6 Special-Purpose Address Registry for more information about the fields.


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Security Check
    Play CAPTCHA Audio
    Refresh Image

  • Create New...