Which name servers does this domain use?

The domain's name servers, their count, status, when they last changed and the DNSSEC state.

Request

GEThttps://whois-domain-lookup.p.apihiver.com/v1/nameservers?domain=github.com
*
String. Domain name, e.g. github.com. A full URL is also accepted.
Language
Client
1curl --request GET \
2  --url 'https://whois-domain-lookup.p.apihiver.com/v1/nameservers?domain=github.com' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Which name servers does this domain use?: WHOIS Domain Lookup API reference

The domain's name servers, their count, status, when they last changed and the DNSSEC state. This endpoint is part of the WHOIS Domain Lookup API: Look up who registered a domain, when it expires, its name servers and age. Clean JSON, no HTML parsing.

Example response (200, application/json)

Success

1{
2  "count": 4,
3  "dnssec": "unsigned",
4  "domain": "github.com",
5  "name_servers": [
6    "dns1.p08.nsone.net",
7    "dns2.p08.nsone.net",
8    "dns3.p08.nsone.net",
9    "dns4.p08.nsone.net"
10  ],
11  "name_server_status": "active"
12}

Errors

  • 400 — Pass a domain name such as apihiver.com (not an IP address).
    1{
    2  "error": {
    3    "code": "INVALID_INPUT",
    4    "message": "Pass a domain name such as apihiver.com (not an IP address)."
    5  }
    6}
  • 404 — No WHOIS record found. The domain may not be registered.
    1{
    2  "error": {
    3    "code": "NOT_FOUND",
    4    "message": "No WHOIS record found. The domain may not be registered."
    5  }
    6}
  • 422 — WHOIS data is not available for this domain extension.
    1{
    2  "error": {
    3    "code": "TLD_NOT_SUPPORTED",
    4    "message": "WHOIS data is not available for this domain extension."
    5  }
    6}

Gateway errors (missing key, no subscription, rate limits) are listed in Error codes.