Hostname from IP Address

ipapi ~ ipapi.co
2 min readNov 24, 2021

The IP address location API from Kloudend now has the ability to let you find the hostname (a domain name assigned to a host computer) from an IP Address.

The feature is currently in beta, please contact us to enable it for your subscription.

You can perform the IP address to hostname mapping in multiple ways :

  1. With the API :

https://ipapi.co/8.8.8.8/json/?hostname : Returns the location of IP address 8.8.8.8 along with the hostname

{
"ip": "8.8.8.8",
"version": "IPv4",
"city": "Mountain View",
"region": "California",
"region_code": "CA",
"country": "US",
"country_name": "United States",
"country_code": "US",
"country_code_iso3": "USA",
"country_capital": "Washington",
"country_tld": ".us",
"continent_code": "NA",
"in_eu": false,
"postal": "94043",
"latitude": 37.42301,
"longitude": -122.083352,
"timezone": "America/Los_Angeles",
"utc_offset": "-0800",
"country_calling_code": "+1",
"currency": "USD",
"currency_name": "Dollar",
"languages": "en-US,es-US,haw,fr",
"country_area": 9629091.0,
"country_population": 327167434,
"asn": "AS15169",
"org": "GOOGLE",
"hostname": "dns.google"
}

https://ipapi.co/hostname : Returns the hostname assigned to IP address 8.8.8.8 i.e. dns.google

https://ipapi.co/json/?hostname : Returns the location of your IP address (formatted as JSON) along with the hostname

https://ipapi.co/hostname : Returns the hostname assigned to your IP address

2. You can also use the familiar bulk IP lookup tool for hostname lookup

As mentioned above, the hostname lookup feature is currently in beta. If you wish to enable it for your paid subscription, please let us know.

--

--

ipapi ~ ipapi.co

IP Lookup | IP Geolocation API | IP Address Locator by Kloudend, Inc. USA. Trusted by Fortune 500 !