Precise IP Location and other data

FREEMIUM
By Nikoloz Turazashvili | Updated a month ago | Location
Popularity

0.1 / 10

Latency

1,082ms

Service Level

100%

Health Check

N/A

README

How to use the API
To use the API, you need to send a GET request to the endpoint /location with the IP address as a parameter. The API will then return the location details in JSON format.

For example, you can send a GET request to https://turazashvili.pythonanywhere.com/location?ip=8.8.8.8 to get the location details of the IP address 8.8.8.8.

You can also use other services like ipstack to get location data from IP address.

Example response
Here is an example of the JSON response you can expect from the API:
{
“as”: “AS15169 Google LLC”,
“city”: “Mountain View”,
“country”: “United States”,
“countryCode”: “US”,
“isp”: “Google LLC”,
“lat”: 37.4192,
“lon”: -122.0574,
“org”: “Google”,
“query”: “8.8.8.8”,
“region”: “CA”,
“regionName”: “California”,
“status”: “success”,
“timezone”: “America/Los_Angeles”,
“zip”: “94043”,
“maps_link”: “https://www.google.com/maps?q=37.4192,-122.0574
}

The response includes the following fields:

as: The autonomous system number of the IP address.
city: The city of the location.
country: The country of the location.
countryCode: The country code of the location.
isp: The internet service provider of the IP address.
lat: The latitude of the location.
lon: The longitude of the location.
org: The organization that owns the IP address.
query: The IP address that was queried.
region: The region code of the location.
regionName: The name of the region of the location.
status: The status of the query (either “success” or “fail”).
timezone: The timezone of the location.
zip: The zip code of the location.
maps_link : link to google maps using latitude and longitude

Conclusion
This API makes it easy to get location details of an IP address. You can use the latitude and longitude, as well as the link to Google Maps, to get a better understanding of the location of the IP address. The API is easy to use and returns the location details in a clear and concise format.

Followers: 0
API Creator:
Rapid account: Nikoloz Turazashvili
Nikoloz Turazashvili
turazashvili
Log In to Rate API
Rating: 5 - Votes: 1