IP History
Shows a historical list of IP addresses a given domain name has been hosted on as well as where that IP address is geographically located, and the owner of that IP address.
URL
https://api.viewdns.info/iphistory/
Parameters
domain - the domain to find historical IP addresses for
output - the output format required ('xml' or 'json')
apikey - your api key
Sample Query
domain: example.com
GET https://api.viewdns.info/iphistory/?domain=example.com&apikey=yourapikey&output=output_type
XML Response (output=xml)
<?xml version='1.0' encoding='ISO-8859-1'?>
<viewdns>
<query>
<tool>iphistory_PRO</tool>
<domain>example.com</domain>
</query>
<response>
<records>
<record>
<ip>93.184.216.34</ip>
<location>United States</location>
<owner>NETBLK-03-EU-93-184-216-0-24</owner>
<lastseen>2016-09-13</lastseen>
</record>
<record>
<ip>93.184.216.119</ip>
<location>United States</location>
<owner>NETBLK-03-EU-93-184-216-0-24</owner>
<lastseen>2014-12-09</lastseen>
</record>
<record>
<ip>192.0.43.10</ip>
<location>Los Angeles - United States</location>
<owner>ICANN</owner>
<lastseen>2013-07-09</lastseen>
</record>
<record>
<ip>192.0.32.10</ip>
<location>Los Angeles - United States</location>
<owner>ICANN</owner>
<lastseen>2011-06-05</lastseen>
</record>
</records>
</response>
</viewdns>
JSON Response (output=json)
{
"query": {
"tool": "iphistory_PRO",
"domain": "example.com"
},
"response": {
"records": [{
"ip": "93.184.216.34",
"location": "United States",
"owner": "NETBLK-03-EU-93-184-216-0-24",
"lastseen": "2016-09-13"
}, {
"ip": "93.184.216.119",
"location": "United States",
"owner": "NETBLK-03-EU-93-184-216-0-24",
"lastseen": "2014-12-09"
}, {
"ip": "192.0.43.10",
"location": "Los Angeles - United States",
"owner": "ICANN",
"lastseen": "2013-07-09"
}, {
"ip": "192.0.32.10",
"location": "Los Angeles - United States",
"owner": "ICANN",
"lastseen": "2011-06-05"
}]
}
}