GeoIP Location Services

geo-ip.ml

Free, unlimited geolocation data solutions
      · backend solutions: JSON, XML, CSV
      · frontend solutions: JavaScript



JSON api

https://geo-ip.ml/json/54.145.69.236
{
  "ip": "54.145.69.236",
  "country": "US",
  "region": "VA",
  "city": "Ashburn",
  "postalCode": "20147",
  "latitude": "39.0180",
  "longitude": "-77.5390",
  "metroCode": "511",
  "areaCode": "703",
  "countryIcon": "https://lipis.github.io/flag-icon-css/flags/4x3/us.svg",   
  "locationMap": "https://www.google.com/maps/@39.0180,-77.5390,13z"   
}


XML api

https://geo-ip.ml/xml/54.145.69.236
<geo-ip-details>
    <ip>54.145.69.236</ip>
    <country>US</country>
    <region>VA</region>
    <city>Ashburn</city>
    <postal-code>20147</postal-code>
    <latitude>39.0180</latitude>
    <longitude>-77.5390</longitude>
    <metro-code>511</metro-code>
    <area-code>703</area-code>
    <country-icon>https://lipis.github.io/flag-icon-css/flags/4x3/us.svg</country-icon>
    <location-map>https://www.google.com/maps/@39.0180,-77.5390,13z</location-map>
</geo-ip-details>


CSV api

https://geo-ip.ml/csv/54.145.69.236
"IP","Country","Region","City","PostalCode","Latitude","Longitude","MetroCode","AreaCode","CountryIcon","LocationMap"
"54.145.69.236","US","VA","Ashburn","20147","39.0180","-77.5390","511","703","https://lipis.github.io/flag-icon-css/flags/4x3/us.svg","https://www.google.com/maps/@39.0180,-77.5390,13z"


JavaScript (frontend integration)

<script type="text/javascript" src="https://geo-ip.ml/geoip.js"></script>
// Auto-generated geo-ip details
var ipDetails = {};
ipDetails.ip="54.145.69.236";
ipDetails.country="US";
ipDetails.region="VA";
ipDetails.city="Ashburn";
ipDetails.postalCode="20147";
ipDetails.latitude="39.0180";
ipDetails.longitude="-77.5390";
ipDetails.metroCode="511";
ipDetails.areaCode="703";
ipDetails.countryIcon="https://lipis.github.io/flag-icon-css/flags/4x3/us.svg";
ipDetails.locationMap="https://www.google.com/maps/@39.0180,-77.5390,13z";