home
home

API Documentation: HostingHistory

HostingHistory

This API call returns the IP/DNS history for a specific domain. The following records are supported: A, AAAA, MX, NS and SPF. This is a Premium API call, you have to buy API credits.

API request

https://api.dnslytics.net/v1/hostinghistory/<domain>?apikey=<apikey>

API response

Example

URL

$ curl https://api.dnslytics.net/v1/hostinghistory/dnslytics.com?apikey=<apikey

Output

{
        "status": "succeed",
        "data":
        {
                "question": "dnslytics.com",
                "typeinfo": "hostinghistory",
                "ipv4":[
                        {
                          "ip": "104.27.179.200",
                          "updatedate": "2018-04-29"
                        },
                        {"..."}
                ],
                "ipv6":[
                        {
                          "ip": "2400:cb00:2048:1::681b:b2c8",
                          "updatedate": "2018-04-29"
                        },
                        {"..."}
                ],
                "dns":[
                        {
                          "dns": "cody.ns.cloudflare.com",
                          "updatedate": "2018-04-29"},
                        {"..."}
                ],
                "mx":[
                        {
                          "mx": "mx1.emailowl.com",
                          "updatedate": "2018-04-29"},
                        {"..."}
                ],
                "spf":[
                        {
                          "record": "v=spf1 ip4:5.45.109.92 include:smtp1.uservoice.com ~all",
                          "updatedate":"2018-04-29"
                        },
                        {"..."}
                ]
        }
}