DNS records, hosts, ASNs and banners found for a domain
GET/domain/{domain}
- Takes: Domain
- Passive: the target is not contacted
- Plan: Free and Plus
Returns the A, CNAME, MX, NS and TXT records found for the domain. Each host comes with its IPs and, for each IP, PTR, ASN, ASN name and range, country and HTTP/HTTPS banners where seen. Free accounts get up to 50 records per domain, Plus up to 200 per page.
Path parameters
domainThe domain to look up
Query parameters
pagePage of host records beyond the first 200 (Plus only)
mapSet to 1 to include a base64-encoded domain map (Plus only; adds a large amount of data)
Response fields · 15ShowHide
host
Host name with an A record
ip
IP address of the host
ptr
Reverse DNS (PTR) name of the IP
asn
Autonomous system number
asn_name
Owner of the autonomous system
asn_range
Netblock the IP belongs to
country
Country name
country_code
Two-letter country code
http
HTTP banner: server, title, apps
https
HTTPS banner: server, title, apps, certificate cn and alt_n
cname[]
CNAME records
mx[]
Mail servers, same shape as a[]
ns[]
Name servers, same shape as a[]
txt[]
TXT records
total_a_recs
Number of A records found
curl 'https://api.dnsdumpster.com/domain/example.com' \
-H 'X-API-Key: YOUR_API_KEY'{
"a": [
{
"host": "www.example.com",
"ips": [
{
"asn": "64500",
"asn_name": "EXAMPLE-NET Example Hosting",
"asn_range": "203.0.113.0/24",
"banners": {
"http": {
"apps": [
"Nginx"
],
"server": "nginx",
"title": "Example Domain"
},
"https": {
"alt_n": [
"www.example.com"
],
"apps": [
"Nginx"
],
"cn": "www.example.com",
"server": "nginx",
"title": "Example Domain"
},
"ip": "203.0.113.10"
},
"country": "Netherlands",
"country_code": "NL",
"ip": "203.0.113.10",
"ptr": ""
}
]
}
],
"cname": [],
"mx": [],
"ns": [
{
"host": "ns1.example.net",
"ips": [
{
"asn": "64501",
"asn_name": "EXAMPLE-DNS",
"asn_range": "198.51.100.0/24",
"country": "United States",
"country_code": "US",
"ip": "198.51.100.53",
"ptr": ""
}
]
}
],
"total_a_recs": 1,
"txt": [
"v=spf1 -all"
]
}