Request demo

Reverse NS API

List the Domains That Share One Name Server.

The Reverse NS API takes a name server hostname and returns the domains in Deepinfo’s index that use it, each as a full domain record with WHOIS, DNS, certificate and web data already attached.

name server ns1.dns-host.example

  1. Reverse NS GET /discovery/reverse-ns
    • acme-billing.example (the next pivot starts here)created 2025-11-03 · NS ns1, ns2.dns-host.example (updated 2026-09-10) · A 203.0.113.24
    • acme-status.example
    • acme-careers.example

Each record carries its complete NS set with an update date.

A Name Server Hostname Returns Domain Records.

Results come back in the envelope all Discovery finders share: the page, the total match count and the matching domain records.

GET https://api.deepinfo.com/v1/discovery/reverse-ns Reference
ParameterTypeDescription
nsstringRequiredThe name server hostname, for example ns1.dns-host.example.
apexbooleanOptionalDefault false. Set true to match at the apex level rather than on the exact hostname. The reference has the current definition.
include_subdomainsbooleanOptionalDefault false. Set true to return matching subdomains as well as registered domains.
pageintegerOptionalPage number, from 1.
page_sizeintegerOptionalResults per page. See pagination.
orderingstringOptionalField to sort by. Prefix - for descending.
exportbooleanOptionalReturn the result set as an export instead of a page. Default false.
export_formatstringOptionaljson or csv.
export_scopestringOptionalHow much of each record to include: basic, default or extended.

Request

curl "https://api.deepinfo.com/v1/discovery/reverse-ns?ns=ns1.dns-host.example&page_size=25" \
  -H "apikey: YOUR_API_KEY"

Response

200 OK · application/json
{
  "page": 1,
  "page_size": 25,
  "result_count": 3,
  "results": [
    {
      "punycode": "acme-billing.example",
      "unicode": "acme-billing.example",
      "is_idn": false,
      "type": 1,
      "domain": {
        "whois": {
          "create_date": "2025-11-03T09:41:12Z",
          "registrar": "…",
          "name_servers": ["ns1.dns-host.example", "ns2.dns-host.example"],
          "…": "…"
        },
        "…": "…"
      },
      "dns": {
        "ns": {
          "update_date": "2026-09-10T21:31:14Z",
          "name_servers": ["ns1.dns-host.example", "ns2.dns-host.example"]
        },
        "a": { "ip_addresses": ["203.0.113.24"] },
        "…": "aaaa, mx, soa, txt, cname"
      },
      "ip_history": ["203.0.113.24"],
      "ssl": { "…": "…" },
      "webdata": { "…": "…" }
    },
    { "punycode": "acme-status.example", "…": "domain record" },
    { "punycode": "acme-careers.example", "…": "domain record" }
  ]
}

result_count is the total number of matches across all pages. An invalid parameter, such as a non-boolean apex, returns a 400 that names it. Plan-dependent rate limits apply, one request per second by default.

The Count Tells You What You’ve Found.

One call answers a different question depending on the name server you ask about.

Few results

A Dedicated Name Server

A self-run or vanity name server usually serves one operator, so the domains on it are candidates for a common owner. Confirm with the registrant or certificate organization in each record.

Many results

A Shared DNS Provider

A managed DNS provider serves many unrelated customers, so sharing its name servers says little on its own. Pair it with a second signal, such as the registrant or the registration time.

In each result

Its Full Name Server Set

Each record carries the domain’s complete NS set with an update date. A less common name server in that set is often the better next query.

Questions About Reverse NS API

Does it read name servers from DNS or from WHOIS?

From DNS: a domain matches when its NS record names the server. The name servers listed in WHOIS are a separate field, domain.whois.name_servers, which Domain Search can filter.

Can we combine a name server with other conditions?

Yes, in Domain Search. Filter dns.ns.name_servers together with a registrar, a registration date or an extension in one body.

How is the Reverse NS API priced?

As part of an API services plan, priced by volume and frequency, separately from the platform. See Data & API pricing.

Can analysts run this pivot without writing code?

Yes. Deep Search & Insights runs Reverse NS and the other pivots in the Deepinfo Platform. See Domain Search.

Start With Name Servers You Know.

Most teams start with their own name servers and one from a recent case. We set up access and answer schema questions on a short call.