GETDNS Lookup
https://api-dns-whois.dataandapis.com/v1/dns
Query parameters
| Parameter | Example | |
|---|---|---|
| domain | google.com | Required |
| type | MX | Optional |
Example request
curl "https://api-dns-whois.dataandapis.com/v1/dns?domain=google.com&type=MX" \
-H "X-Api-Key: YOUR_API_KEY"{
"domain": "google.com",
"type": "MX",
"record_count": 1,
"records": [
{
"name": "google.com",
"type": "MX",
"ttl": 289,
"data": "10 smtp.google.com."
}
]
}




