🕵️

Associated Domains

Discover a domain's infrastructure — nameservers, MX hosts, and providers.

GET /v1/associated
curl "https://dns.toolkitapi.io/v1/associated?domain=github.com"
import httpx

resp = httpx.get(
    "https://dns.toolkitapi.io/v1/associated?domain=github.com",
)
print(resp.json())
const resp = await fetch("https://dns.toolkitapi.io/v1/associated?domain=github.com", {
});
const data = await resp.json();
console.log(data);
# See curl example
Response 200 OK
{
  "domain": "github.com",
  "nameservers": ["dns1.p08.nsone.net", "dns2.p08.nsone.net"],
  "mx_hosts": ["aspmx.l.google.com"],
  "a_records": ["140.82.121.3"],
  "reverse_dns": ["lb-140-82-121-3-iad.github.com"],
  "ns_providers": ["NS1"],
  "mx_providers": ["Google"],
  "query_time_ms": 156.3
}

Try It Live

Live Demo

Description

Discover a domain's infrastructure — nameservers, MX hosts, and providers.

How to Use

1

1. Pass the domain in the `domain` parameter. 2. Review `ns_providers` and `mx_providers` to identify hosting and email providers.

About This Tool

Associated Domains discovers a domain's infrastructure relationships: authoritative nameservers, MX hosts, A records, reverse DNS hostnames, and the provider organizations behind the NS and MX servers. It maps the ecosystem around a domain.

Why Use This Tool

Frequently Asked Questions

How are providers identified?
Provider names are derived from the nameserver and MX hostnames — e.g., `dns1.p08.nsone.net` maps to NS1.
Does this discover sibling domains?
Not directly — it maps infrastructure relationships. Use reverse DNS and NS provider info to find related domains manually.

Start using Associated Domains now

Get your free API key and make your first request in under a minute.