API: ReverseAdsense
This API call returns domains using the same Google Adsense ID. It will only returns domains currently using the ID. Use the ReverseHistory API to find domains using a Google Adsense 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/reverseadsense/<pub id>?apikey=<apikey>
Parameters:
- pub id:
Adsense PUB ID for example pub-7232066202917795.
- apikey:
Your API key
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.
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: adsenseid and page.
- typeinfo:
Data type returned, always ‘reverseadsense’.
- 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/reverseadsense/pub-7232066202917795?apikey=<apikey>
{
"status": "succeed",
"data":
{
"question":
{
"adsenseid": "pub-7232066202917795",
"page": 1
},
"typeinfo": "reverseadsense",
"ndomains": 2,
"domains":[
{
"domain": "qrutils.com",
"firstseen": "2016-07-04",
"lastseen": "2019-10-23"
},
{"..."}
]
}
}