Look up domain registration data using RDAP — the modern, structured replacement for legacy WHOIS. Returns registrar, creation/expiry dates, name servers, status flags, and the abuse contact. Useful for incident response, brand-protection investigations, and confirming a domain isn't about to expire on you.
WHOIS (port 43) returns free-form text that varies per registrar — impossible to parse reliably. RDAP (RFC 7480-7484) returns structured JSON with consistent field names: events.registration, entities[role=registrar], nameservers[].ldhName, etc. ICANN-mandated all gTLD registries to provide RDAP by 2019; most ccTLDs have followed. A handful of legacy ccTLDs (.uk, .de, some others) still WHOIS-only and are not yet supported here.