Skip to content

IP Geo-Locator API

This API provides detailed information on IP addresses and domain. It shows data such as the physical location (Country, City), the Internet Service Provider (ISP), and specific other details.

POST /api/v1/ip-info

The following parameters are accepted in the request body:

FieldTypeRequiredDescription
ipstringYesThe IP address (IPv4/IPv6) or Domain Name to look up.
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/ip-info \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"ip": "8.8.8.8"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"data": {
"ip": "8.8.8.8",
"city": "Mountain View",
"region": "California",
"country": "US",
"org": "Google LLC",
"timezone": "America/Los_Angeles",
"map": "https://www.google.com/maps?q=37.4223,-122.085"
}
}