Get the full WHOIS record of a domain

Returns everything published for the domain: registrar, dates, status codes, name servers, DNSSEC, registrant/admin/tech contacts (redacted where the registry hides them), plus every raw row. Add raw=true to include the original WHOIS text.

Request

GEThttps://whois-domain-lookup.p.apihiver.com/v1/lookup?domain=github.com&raw=false
*
String. Domain name, e.g. github.com. A full URL is also accepted.
Boolean. Set true to include the original WHOIS text (raw_text). Default false.
Language
Client
1curl --request GET \
2  --url 'https://whois-domain-lookup.p.apihiver.com/v1/lookup?domain=github.com&raw=false' \
3  --header 'Accept: application/json' \
4  --header 'X-API-Key: YOUR_API_KEY'

Get the full WHOIS record of a domain: WHOIS Domain Lookup API reference

Returns everything published for the domain: registrar, dates, status codes, name servers, DNSSEC, registrant/admin/tech contacts (redacted where the registry hides them), plus every raw row. Add `raw=true` to include the original WHOIS text. 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  "dates": {
3    "created": "2007-10-09T18:20:50Z",
4    "expires": "2028-10-09T18:20:50Z",
5    "updated": "2026-09-07T09:22:52Z"
6  },
7  "dnssec": "unsigned",
8  "domain": "github.com",
9  "status": [
10    "clientDeleteProhibited",
11    "clientTransferProhibited",
12    "clientUpdateProhibited"
13  ],
14  "registrar": {
15    "url": "http://www.markmonitor.com",
16    "name": "MarkMonitor Inc.",
17    "iana_id": "292",
18    "abuse_email": "[email protected]"
19  },
20  "registered": true,
21  "domain_name": "GITHUB.COM",
22  "name_servers": [
23    "dns1.p08.nsone.net",
24    "dns2.p08.nsone.net",
25    "ns-1283.awsdns-32.org"
26  ],
27  "contacts_redacted": true
28}

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.