A WHOIS lookup API allows you to do a domain name lookup using an application program interface (API) rather than a regular web form. That can be done by entering the domain name or providing the registrar's ID. You can enter WHOIS information into a website to obtain certain contact and registration information about the domain's registrant, including their name, address and phone number. Domain name registrars provide WHOIS information to the public.
https://yourtrc.com/2023/05/26..../what-is-the-role-of