Skip to content

Domain Reputation API

The Domain Reputation API returns a risk score for a domain name, with an optional list of reasons contributing to the score.

https://api.domaintools.com/v1/reputation/
ParameterTypeDescription
domainstringRequired. The domain to query. If you provide a hostname (for example, www.domaintools.com) rather than a domain (for example, domaintools.com), the API attempts to return the risk score for the domain. The response always includes the domain used for the lookup.
include_reasonsbooleanReturn a list of reasons for the risk score. Valid values: true or false. Default: false.
formatstringResponse format. Valid values: json (default), html, xml.
curl -X GET \
'https://api.domaintools.com/v1/reputation/?domain=domaintools.com&include_reasons=true' \
-H "X-Api-Key: $DOMAINTOOLS_API_KEY"
{
"response": {
"domain": "domaintools.com",
"risk_score": 0,
"reasons": [
"zerolist"
]
}
}
FieldTypeDescription
domainstringThe domain queried.
risk_scorenumberRisk score from 0 (least risk) to 100 (known risk).
reasonsarrayReasons contributing to the score. Only present when include_reasons=true.
ValueDescription
blocklistDomain appears on a threat blocklist.
dnsDNS infrastructure associated with known-bad actors.
realtimeReal-time signals indicate active malicious behavior.
registrantRegistrant details associated with known-bad actors.
zerolistDomain is excluded from risk scoring; score is always 0. See Domain Risk Score ranges.
  • HTML: https://api.domaintools.com/v1/reputation/?domain=domaintools.com&include_reasons=true&format=html
  • JSON: https://api.domaintools.com/v1/reputation/?domain=domaintools.com&include_reasons=true
  • XML: https://api.domaintools.com/v1/reputation/?domain=domaintools.com&include_reasons=true&format=xml

Consult the Domain Risk Score documentation for more information on interpreting risk scores.