Welcome to GEO-IP

Your are Visiting us from 54.234.228.78

GEO-IP Geolocation API

About
GEO-IP API usage is free and unlimited.

Usage
To receive a response, send a GET request to:
https://geo-ip.eu/json

By default you'll get the geolocation of the request ip address.

Optional
If you want to supply an IP to lookup add this query string:
?ip=[the ip address to lookup]

Response
A successful request will return the following:

{
    "status": "success",
    "error": null,
    "data": {
        "ip": "136.23.55.93",
        "city": "Dearborn",
        "country": "√Čtats-Unis",
        "country_code": "US",
        "postal_code": "48121",
        "latitude": 42.3223,
        "longitude": -83.1763,
        "time_zone": "America/Detroit"
    }
}
                        

A failed request will return the following:
{
    "status": "fail",
    "error": "invalid ip address",
    "data": null
}
                        

Requests exemples:

jQuery

var settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://geo-ip.eu/json",
  "method": "GET"
}

$.ajax(settings).done(function (response) {
  console.log(response);
});