DEV Community

Алексей Спинов
Алексей Спинов

Posted on

WHOIS Is Dead, Long Live RDAP — How to Look Up Domain Data in 2026

WHOIS, the 40-year-old protocol for looking up domain registration data, is being replaced by RDAP (Registration Data Access Protocol). Here's how to use it.

RDAP vs WHOIS

Feature WHOIS RDAP
Format Plain text Structured JSON
Standard Ad-hoc IETF RFC 7480-7484
Auth None Optional OAuth
Encoding ASCII UTF-8
Discovery Manual Bootstrap via IANA

How to Query RDAP

  1. Get the RDAP server URL from IANA bootstrap:
https://data.iana.org/rdap/dns.json
Enter fullscreen mode Exit fullscreen mode
  1. Query the domain:
https://rdap.verisign.com/com/v1/domain/google.com
Enter fullscreen mode Exit fullscreen mode
  1. Parse the JSON response for:
  2. Registration date
  3. Expiration date
  4. Registrar name
  5. Nameservers
  6. Status codes
  7. DNSSEC info

Bonus: Combine with DNS

Google DNS API gives you A, MX, NS, TXT records:

https://dns.google/resolve?name=stripe.com&type=MX
Enter fullscreen mode Exit fullscreen mode

I built a WHOIS/RDAP + DNS lookup tool that combines both — free on Apify Store (search knotless_cadence whois).

Top comments (0)