API: ReverseHistory

This API call returns historical reverse data for Google Adsense, Google Analytics, IP, MX, and NS records.

This is a Premium API call, you have to buy API credits here (https://dnslytics.com/api).

API request and parameters

https://api.dnslytics.net/v1/reversehistory/<type>/<id>?apikey=<apikey>

Parameters:

type:

Fixed value can be adsense, ganalytics, ip, mx, or ns.

id:

Adsense Pub ID, Google Analytics ID, IP, MX, or NS record. Adsense ID is in format pub-xxxxx and Analytics ID is in format ua-xxxxx.

apikey:

Your API key

Optional parameter:

page:

A single API call returns a maximum of 2,500 events. With the page parameter you can step through the results and get results up to 100,000 events. Page value can be between 1 and 40.

API response

A JSON object with the following fields:

status:

Status of API call: succeed or error.

question:

Array of the question data with the following fields: type, id and page.

typeinfo:

Data type returned, always ‘reversehistory’.

nevents:

Total number of events found.

events:

Events found with the following fields (domain, firstseen, lastseen). Maximum of 2,500 events are returned. Use the page parameter to get up to 100,000 events.

Example

$ https://api.dnslytics.net/v1/reversehistory/adsense/pub-7232066202917795?apikey=<apikey>
{
        "status": "succeed",
        "data": {
                "question": {
                        "type": "adsense",
                        "id": "pub-7232066202917795",
                        "page": 1
                },
                "typeinfo": "reversehistory",
                "nevents": 3,
                "events": [
                {
                        "domain": "myip.report",
                        "lastseen": "2021-09-08",
                        "firstseen": "2018-07-03"
                },
                {
                        "domain": "qrutils.com",
                        "lastseen": "2019-10-23",
                        "firstseen": "2016-07-04"
                },
                {
                        "domain": "myip.report",
                        "lastseen": "2017-06-07",
                        "firstseen": "2016-06-01"
                }
                ]
        }
}