
RDAP Is Replacing WHOIS — And It Returns Structured JSON For Free
WHOIS Is Broken If you've ever tried to parse WHOIS data programmatically, you know the pain: Every registrar returns a different format The output is plain text with no standard structure Rate limits are aggressive Some registrars just... don't respond Enter RDAP RDAP (Registration Data Access Protocol) is the official replacement for WHOIS, standardized by IETF (RFC 7480-7484). The key difference: it returns structured JSON . curl https://rdap.org/domain/github.com You get: { "objectClassName" : "domain" , "handle" : "D1GITHUB-COM" , "ldhName" : "github.com" , "status" : [ "client delete prohibited" , "client transfer prohibited" ], "events" : [ { "eventAction" : "registration" , "eventDate" : "2007-10-09T18:20:50Z" }, { "eventAction" : "expiration" , "eventDate" : "2026-10-09T07:00:00Z" } ], "nameservers" : [ ... ] } No auth. No API key. Structured JSON. Real Example: Domain Intelligence Script import requests from datetime import datetime def domain_intel ( domain ): """ Get struct
Continue reading on Dev.to Python
Opens in a new tab


