WHOIS and RDAP Domain Lookup
Query domain and IP registration data, registrars, and status over standard RDAP endpoints.
Try:
About RDAP
RDAP is the replacement for WHOIS. It gives the registration data of a domain or an IP address as JSON over HTTPS, so the answer has a fixed structure.
The result shows the registrar, the creation date, the expiry date, the name servers, and the status codes. A status such as clientTransferProhibited means that the domain has a transfer lock.
Personal contact data is usually hidden by privacy rules. The registrar and the dates are still public, which is enough to see who to contact and when a domain expires.