Investigate a domain
Find which subdomains of a domain appear in leaks, then search the domain itself.
Find the subdomains
Subdomain discovery returns the subdomains seen in leaks and the number of infections behind each. Example response, shortened:
curl -G "https://api.darkradar.com/api/public/v1/hunter/subdomains" \ -H "x-api-key: $DARKRADAR_API_KEY" \ --data-urlencode "value=ornek.com.tr"
{
"success": true,
"data": {
"found": true,
"totalDomains": 4,
"totalInfections": 12,
"displayedDomains": 4,
"displayedInfections": 12,
"domains": [
{
"domain": "vpn.darkradar.com",
"infectionCount": 7,
"infections": []
}
],
"rateLimit": {
"remaining": 18,
"limit": 20
}
}
}Search the domain
curl -G "https://api.darkradar.com/api/public/v1/hunter/search" \ -H "x-api-key: $DARKRADAR_API_KEY" \ --data-urlencode "kind=domain" \ --data-urlencode "value=ornek.com.tr" \ --data-urlencode "limit=50"
Searching spends no credits and results are masked. Unmasking a record or machine spends credits and is done in the dashboard. A request over the per-minute limit returns
429. Do not set up automatic retries.