iploc background

Get IP address and Geolocation

Best and secure way to get IP address, geolocation, and service provider for free.

home banner

Documentation

Response Body:
{
    "country": "United States",
    "countryCode": "US",
    "region": "TX",
    "regionName": "Texas",
    "cityName": "Dallas",
    "zip": "75270",
    "lat": 32.7767,
    "lon": -96.797,
    "timeZone": "America/Chicago",
    "isp": "Limestone Networks",
    "org": "Vadim Mazo",
    "as": "AS46475 Limestone Networks, Inc.",
    "ip": "69.162.81.155"
}

Check the ways to get data from the api

  1. To get data of your own IP just call  https://iploc.vercel.app/api/data [GET]
  2. To get data for any specific IP call  https://iploc.vercel.app/api/data?ip={SPECIFIC_IP} [GET]

Example