🚀 Experience the new and improved APIVoid! Check out what's new
A JSON API to check if a domain is actually parked and/or for sale. Use this API to identify parked (and thus inactive) domains, it uses multi-factorial techniques to detect a parked domain that have proven to be effective.
Consumes 2 credits per API call
# Example Curl request from the command line:
curl -X POST "https://api.apivoid.com/v2/parked-domain" \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY_HERE" \
-d '{"host": "example.com"}'
# Example JSON output for a 200 HTTP status code:
{
"host": "example.com",
"parked_domain": false,
"a_records_found": true,
"elapsed_ms": 162
}
Key Features
A parked domain is like an "under construction" domain that is "parked" (inactive) and is doing nothing. However, some parked domains may show suspicious advertisements or may redirect users to third-party websites that may be unsafe.
This API uses different multi-factorial detection methods to classify a domain as parked.
Detect domains parked at popular parking domains services like Sedo, ParkingCrew, ParkLogic.
Other than returning if the domain is parked, we also return if it has DNS A records configured.
The submitted domain is scanned in real-time and the response is returned in 1-3 seconds on average.
Common Use Cases
Our API can be used in many ways, from cybersecurity tasks to marketing-specific tasks. Here we showcase the most popular use cases according to our customers usage:
This API can be used in threat prevention to detect potentially unsafe parked domains.
Check a list of domains (e.g in CSV format) with this API to find out the ones that are parked and inactive.
Using a SIEM platform? Add context to security incidents, accurately classify parked domains.
Use this API to quickly check if a domain is parked and inactive before performing specific actions.
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 = 'google.com';
$apiUrl = 'https://api.apivoid.com/v2/parked-domain';
$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);
// Check if the domain is parked
if ($responseData['parked_domain'] ?? false) {
echo "The domain is parked.";
exit;
}
// Check if the domain is inactive
if (!($responseData['a_records_found'] ?? false)) {
echo "The domain is inactive (no DNS A record found).";
exit;
}
}
Create your account, pick a subscription plan, and make your first API call instantly with your API key—simple as that!
Get started now