API: ReverseGAnalytics

This API call returns domains using the same Google Analytics ID. 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/reverseganalytics/<id or domain>?apikey=<apikey>

Parameters:

id or domain

Analytics ID for example ua-15589237 or domain name. In case of a domain we use the last Analytics ID used by this domain to find the related domains.

apikey

Your API key

API response

Optional parameter:

page

The page paramter to get more than 2,500 domains is not supported yet.

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: ganalyticsid and page.

typeinfo

Data type returned, always ‘reverseganalytics’.

ndomains

Total number of domains found.

domains

Domain names found with the following fields (domain, firstseen, lastseen). Maximum of 2,500 domains are returned.

Example

$ https://api.dnslytics.net/v1/reverseganalytics/ua-15589237?apikey=<apikey>
{
        "status": "succeed",
        "data":
        {
                "question":
                {
                  "ganalyticsid": "ua-15589237",
                  "page": 1
                },
                "typeinfo": "reverseganalytics",
                "ndomains": 2,
                "domains":[
                        {
                          "domain": "dnslytics.com",
                          "firstseen": "2018-05-17",
                          "lastseen": "2020-02-20"
                        },
                        {"..."}
                ]
        }
}