WHOIS vs RDAP: which domain lookup result should you trust?
RDAP and WHOIS both provide registration information. RDAP uses HTTP and structured JSON; traditional WHOIS returns text whose layout varies by server. Prefer an authoritative source with clear timestamps and limitations over a result that merely contains more fields. Neither protocol guarantees access to a domain owner's identity.
Registration and DNS answer different questions
A registered domain may have no website, A record or MX record. A DNS lookup that returns no address does not establish that the domain can be registered. Conversely, an old registration record does not prove that the registrant still controls a working website.
Use WHOIS Lookup for registration data and DNS Lookup for resolution. If your workflow needs an availability decision, distinguish a conclusive unregistered result from a timeout, unsupported suffix or incomplete response.
How the protocols differ
| Question | RDAP | Traditional WHOIS |
|---|---|---|
| Transport and format | HTTP, typically over HTTPS, with standardized JSON | TCP port 43, usually free-form text |
| Dates and objects | Structured events, entities and links | Labels and text conventions depend on the service |
| Privacy | Fields may be withheld or access restricted | Fields may also be withheld or replaced |
| Integration | Parse defined objects while handling optional fields | Account for server-specific layouts and referrals |
ICANN describes RDAP as the replacement for WHOIS. Coverage and disclosure still depend on the relevant registry and registrar, particularly across different top-level domains; do not assume every source returns the same fields.
A practical comparison workflow
- Normalize the input and confirm which domain was actually queried, including its Unicode and Punycode forms.
- Record the source protocol, server and retrieval time. A cached response should be evaluated using its age.
- Compare equivalent events. Registration, expiration and last-change dates are different facts; a cache timestamp is none of them.
- Inspect missing-field warnings and redactions before making a downstream decision. A normalized JSON shape makes responses easier to consume, but it cannot create information the source did not publish.
For example, a response with registration confirmed but no public contact email should lead to “registered; contact not disclosed,” not “no owner.” See missing WHOIS data for that case.
Use the result in code
AntAPI normalizes supported RDAP and WHOIS sources into a shared response. Read the WHOIS quickstart and data quality guide before using optional fields in an application. Check published coverage rather than assuming universal TLD support.