RDAP vs Whois: What Changed and How to Query RDAP

Updated: 4 min read Editorial team Domainwhois Service
Short answer

RDAP is the successor to whois. Whois sends unstructured text over unencrypted port 43; RDAP returns standardised JSON over HTTPS, finds the right server through an IANA bootstrap file and marks redacted fields explicitly. Since 28 January 2025 RDAP is the authoritative source for gTLD registration data, and whois is optional for ICANN-contracted operators.

Anyone who has tried to parse whois output in a script knows the pain. Every registrar formats its reply differently, dates come in half a dozen styles, and the same field is called “Expiry Date” on one server and “Registrar Registration Expiration Date” on another. RDAP was built to end that, and for generic TLDs it officially has.

RDAP vs whois at a glance

Whois (port 43)RDAP
Transportraw TCP, unencryptedHTTPS
Formatfree text, varies by serverJSON with fixed field names
Finding the serverconventions and hand-kept listsIANA bootstrap files
Access levelsone answer for everyonesupports tiered access
Redacted data“REDACTED FOR PRIVACY” as textredacted member per RFC 9537
Non-ASCII textoften brokenUTF-8 throughout
Errorsad-hoc messagesHTTP status codes

The protocol is defined in a set of IETF documents: RFC 7480 for HTTP usage, RFC 9082 for the query format, RFC 9083 for JSON responses and RFC 9224 for bootstrapping.

The whois sunset of January 2025

ICANN set 28 January 2025 as the date when RDAP became the authoritative source for gTLD registration data. From then on, registries and registrars under ICANN contract no longer had to provide port-43 whois or a whois web form. Some kept them running, others shut them down. If a whois client suddenly times out on a .xyz or .shop domain, that’s usually why.

Country-code TLDs aren’t bound by ICANN contracts. Nominet (.uk) and DENIC (.de) run both protocols, and each ccTLD decides independently.

A first RDAP query

You only need the RDAP base URL and the domain:

curl -s https://rdap.verisign.com/com/v1/domain/example.com | jq '.status'
[
  "client delete prohibited",
  "client transfer prohibited",
  "client update prohibited"
]

Status values are written as words. clientTransferProhibited becomes client transfer prohibited, mapped in RFC 8056. The domain status codes guide lists them all.

Dates live in the events array:

curl -s https://rdap.verisign.com/com/v1/domain/example.com \
  | jq -r '.events[] | "\(.eventAction): \(.eventDate)"'
registration: 1995-08-14T04:00:00Z
expiration: 2027-08-13T04:00:00Z
last changed: 2026-08-14T08:01:43Z
last update of RDAP database: 2026-10-18T13:50:13Z

Compare that with whois, where the same three dates appear as Creation Date, Registry Expiry Date and Updated Date on Verisign’s server and under different names elsewhere.

Finding the right RDAP server

IANA publishes a bootstrap file mapping each TLD to its RDAP server:

curl -s https://data.iana.org/rdap/dns.json | python3 -c '
import json, sys
for tlds, urls in json.load(sys.stdin)["services"]:
    if "com" in tlds or "uk" in tlds: print(tlds[:3], urls)'
['uk'] ['https://rdap.nominet.uk/uk/']
['com'] ['https://rdap.verisign.com/com/v1/']

rdap.org does this lookup for you and answers with an HTTP 302 redirect to the correct server. Add -L so curl follows it:

curl -sL https://rdap.org/domain/example.com | jq -r '.ldhName'

There’s a gap. Some ccTLDs that run RDAP aren’t in the bootstrap file. .de is the best-known example: DENIC serves RDAP at https://rdap.denic.de/domain/<name>, but rdap.org returns 404 for every .de name. The guide to whois for .de domains has the details.

Registry and registrar: the two-step lookup

.com and .net are thin registries. Verisign stores no contact data; the registrar does. The registry’s RDAP response includes the registrar’s URL in its links:

curl -s https://rdap.verisign.com/com/v1/domain/github.com | jq -r '.links[].href'
https://rdap.verisign.com/com/v1/domain/github.com
https://rdap.markmonitor.com/rdap/domain/GITHUB.COM

Query the registrar’s URL for the entities. Public responses usually show REDACTED REGISTRANT along with a contact-uri to a web form. The find domain owner guide explains what to do next.

Errors you’ll meet

RDAP uses ordinary HTTP status codes:

  • 404: not found. From the correct registry, that means the name is unregistered. From rdap.org for an unlisted TLD, it means nothing at all.
  • 429: too many requests. Add pauses to loops.
  • 302: a redirect, normal for rdap.org and bootstrap services.

Internationalised names generally work as typed with Verisign and DENIC, but some smaller registries expect the Punycode form, such as xn--mller-kva.com for müller.com. If a query with non-ASCII characters fails, convert it first.

Tiered access: the promise not yet kept

The real architectural difference isn’t the JSON. Whois gives everyone the same answer. RDAP can authenticate a requester and return more data to, say, an accredited law enforcement agency than to the public. That was a large part of why ICANN pushed it.

In practice, no common accreditation framework for gTLD requesters exists yet. Disclosure requests still go through registrars or ICANN’s Registration Data Request Service. What RDAP does deliver today is transparency about what’s hidden: the redacted array lists each removed field and the reason, so you can tell an empty field from a withheld one.

Which one should you use?

For a quick look in a terminal, whois is still fine where it runs. One line of Domain Status: reads faster than nested JSON. For anything automated, such as expiry monitoring, status alerts or comparing name servers across a portfolio, use RDAP. The expiry date guide has a ready-made monitoring script.

For your own domains, a registrar API saves the detour through public lookups. The betadomain API for developers returns status and expiry directly, and AI agents can use it through an MCP server. If RDAP returns a 404 from the right registry, the name is free, and the domain availability search will confirm it. Yearly rates for .com and other endings are on the pricing page.

Step by step

  1. Find the RDAP serverDownload https://data.iana.org/rdap/dns.json and look up the TLD to get its RDAP base URL.
  2. Send the queryAppend domain/<name> to the base URL and request it with curl, for example https://rdap.verisign.com/com/v1/domain/example.com.
  3. Extract the fieldsUse jq to pull status, events, nameservers or entities from the JSON response.
  4. Follow the registrar linkFor thin registries like .com, the links array contains the registrar's RDAP URL, where contact data lives.

Found your domain? You can check and register it directly at check your domain – yearly price from €2.99.

FAQ

Is whois dead?

Not entirely. gTLD registries and registrars are no longer required to run port-43 whois, and many have switched it off. Verisign still runs it for .com and .net, and most country-code registries keep their whois services.

Do I need special software for RDAP?

No. RDAP is plain HTTPS, so a browser or curl works. jq makes the JSON readable, and command-line clients such as OpenRDAP's rdap format the output as text and follow referrals for you.

Does RDAP show more data than whois?

Not to the public. Anonymous queries get the same redacted data. RDAP is designed to support tiered access for authenticated requesters, but a common accreditation system for gTLDs doesn't exist yet.

Why does rdap.org return 404 for a domain that exists?

rdap.org redirects based on the IANA bootstrap file. TLDs missing from that file, such as .de, can't be resolved, even when the registry runs its own RDAP server. Query those registries directly.