API: ReverseGAnalytics

This API call returns domains using the same Google Analytics ID. It will only returns domains currently using the ID. Use the ReverseHistory API to find domains using a Google Analytics ID in the past.

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>?apikey=<apikey>

Parameters:

id:

Analytics ID for example ua-15589237.

apikey:

Your API key

API response

Optional parameter:

page:

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

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. Use the page parameter to get up to 100,000 domain names.

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"
                        },
                        {"..."}
                ]
        }
}