Skip to content

Domain Profile API

The domain-profile API provides registration details for a domain name and a preview of data available from DomainTools membership and report products.

https://api.domaintools.com/v1/{domain}/
ParameterTypeDescription
domainstringRequired. The domain to query. Provided as a path segment in the URL.
formatstringResponse format. Valid values: json (default), html, xml.
curl -X GET \
'https://api.domaintools.com/v1/domaintools.com/' \
-H "X-Api-Key: $DOMAINTOOLS_API_KEY"
{
"response": {
"registrant": {
"name": "DomainTools, LLC",
"domains": 5,
"product_url": "https://reversewhois.domaintools.com/?all[]=DomainTools%2C+LLC&none[]="
},
"server": {
"ip_address": "198.202.211.1",
"other_domains": 384286,
"product_url": "https://reverseip.domaintools.com/search/?q=domaintools.com"
},
"registration": {
"created": "1998-08-02",
"expires": "2027-08-01",
"updated": "2020-01-09",
"registrar": "eNom, LLC",
"statuses": [
"clientTransferProhibited"
]
},
"name_servers": [
{
"server": "DNS1.P04.NSONE.NET",
"product_url": "https://reversens.domaintools.com/search/?q=DNS1.P04.NSONE.NET"
},
{
"server": "DNS2.P04.NSONE.NET",
"product_url": "https://reversens.domaintools.com/search/?q=DNS2.P04.NSONE.NET"
},
{
"server": "DNS3.P04.NSONE.NET",
"product_url": "https://reversens.domaintools.com/search/?q=DNS3.P04.NSONE.NET"
},
{
"server": "DNS4.P04.NSONE.NET",
"product_url": "https://reversens.domaintools.com/search/?q=DNS4.P04.NSONE.NET"
}
],
"history": {
"registrar": {
"earliest_event": "",
"events": 0,
"product_url": "https://research.domaintools.com/research/hosting-history/?q=domaintools.com"
},
"name_server": {
"events": 1,
"timespan_in_years": 1,
"product_url": "https://research.domaintools.com/research/hosting-history/?q=domaintools.com"
},
"ip_address": {
"events": 92,
"timespan_in_years": 22,
"product_url": "https://research.domaintools.com/research/hosting-history/?q=domaintools.com"
},
"whois": {
"records": 7432,
"earliest_event": "2001-10-26",
"product_url": "https://research.domaintools.com/research/whois-history/search/?q=domaintools.com"
}
},
"seo": {
"score": "",
"product_url": ""
},
"website_data": {
"response_code": "",
"title": "",
"server": "",
"meta": [],
"product_url": "https://whois.domaintools.com/domaintools.com"
}
}
}

Not all data elements in the response are available for all domains.

FieldTypeDescription
namestringRegistrant name from WHOIS.
domainsintegerNumber of domains associated with this registrant.
product_urlstringLink to a Reverse WHOIS search for this registrant.
FieldTypeDescription
ip_addressstringCurrent IP address of the domain.
other_domainsintegerNumber of other domains sharing this IP address.
product_urlstringLink to a Reverse IP search for this domain.
FieldTypeDescription
createdstringRegistration creation date (YYYY-MM-DD).
expiresstringRegistration expiration date (YYYY-MM-DD).
updatedstringDate the registration was last updated (YYYY-MM-DD).
registrarstringRegistrar name.
statusesarrayEPP status codes for the domain.

Array of name server objects.

FieldTypeDescription
serverstringName server hostname.
product_urlstringLink to a Reverse Name Server search for this host.

The history object summarizes change counts across four sub-objects: registrar, name_server, ip_address, and whois. Each sub-object contains:

FieldTypeDescription
eventsintegerNumber of recorded change events.
earliest_eventstringDate of the earliest recorded event (YYYY-MM-DD), if available.
timespan_in_yearsnumberYears spanned by the recorded history (name server and IP sub-objects).
recordsintegerNumber of historical WHOIS records (WHOIS sub-object only).
product_urlstringLink to the full history in the DomainTools research portal.
FieldTypeDescription
response_codeintegerHTTP response code from the domain’s website.
titlestringHTML title of the domain’s website.
serverstringWeb server software reported in the HTTP response.
metaarrayMeta tags from the domain’s website.
product_urlstringLink to the WHOIS record for this domain.
  • HTML: https://api.domaintools.com/v1/domaintools.com/?format=html
  • JSON: https://api.domaintools.com/v1/domaintools.com/
  • XML: https://api.domaintools.com/v1/domaintools.com/?format=xml