🚀 Experience the new and improved APIVoid! Check out what's new
A JSON API to get domain registrar (e.g NameCheap), abuse email, owner organization, owner country, domain age, nameservers, DNSSEC. Use this API to get additional domain information and enrich SIEM data.
Consumes 10 credits per API call
# Example Curl request from the command line:
curl -X POST "https://api.apivoid.com/v2/domain-info" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-d '{"host": "google.com"}'
# Example JSON output for a 200 HTTP status code:
{
"host": "google.com",
"debug_message": "",
"domain_age_found": true,
"domain_registered": "yes",
"domain_creation_date": "1997-09-15",
"domain_age_in_days": 9970,
"domain_age_in_months": 321,
"domain_age_in_years": 27,
"registrar": "MarkMonitor Inc.",
"registrar_url": "markmonitor.com",
"registrar_abuse_email": "abusecomplaints@markmonitor.com",
"registrar_abuse_form": "",
"registrar_twitter": "markmonitor",
"owner_organization": "Google LLC",
"owner_country": "US",
"owner_state_province": "CA",
"owner_email_hash": "",
"owner_email_domain": "",
"owner_free_email": false,
"owner_private_person": false,
"whois_data_hidden": false,
"dnssec": "unsigned",
"nameservers": [
{
"name": "ns1.google.com",
"ipv4": "216.239.32.10",
"ipv6": "2001:4860:4802:32::a"
},
{
"name": "ns4.google.com",
"ipv4": "216.239.38.10",
"ipv6": "2001:4860:4802:38::a"
},
{
"name": "ns3.google.com",
"ipv4": "216.239.36.10",
"ipv6": "2001:4860:4802:36::a"
},
{
"name": "ns2.google.com",
"ipv4": "216.239.34.10",
"ipv6": "2001:4860:4802:34::a"
}
],
"elapsed_ms": 524
}
Key Features
Businesses and startups use this Domain Info API to get important domain details like creation date, registrar, abuse email, X (Twitter) account, owner organization, DNSSEC, nameservers.
This API supports most pupular domain TLDs such as .com, .org, .net, .info, .it, .in, site, .pl, .com.br.
With this API you can get the nameservers (and the associated IPv4 and IPv6) and the DNSSEC status.
The API returns accurate information about domain registration date, the format is YYYY-MM-DD.
You can get domain registrar, registrar URL, abuse email, owner organization and country, and more.
Common Use Cases
Our API can be used in many ways, from cybersecurity tasks to domain analysis/research tasks. Here we showcase the most popular use cases according to our customers usage:
Using a SIEM platform? Add domain registration information to security incidents related to domains.
With this API you can get very valuable information about a domain detected in your platform.
Whether you need to get domain age, domain registrar or domain owner country, our API has it all.
Scan a list of domains to extract the domain registration date and whois-like data for research purposes.
USAGE EXAMPLE
All it takes is a HTTPS POST request with JSON payload to our endpoint, and you’ll receive the response within seconds, usually within 1-5 seconds. Here are a few code examples to use the API:
$domain = 'facebook.com';
$apiUrl = 'https://api.apivoid.com/v2/domain-info';
$apiKey = 'your_api_key_here';
$ch = curl_init($apiUrl);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json', 'X-API-Key: ' . $apiKey]);
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(['host' => $domain]));
$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($httpCode === 200) {
$responseData = json_decode($response, true);
print_r($responseData);
}
Create your account, pick a subscription plan, and make your first API call instantly with your API key—simple as that!
Get started now