#Free #Whois #API in #PHP
Yes, I just discovered you can write your own WHOIS API in PHP in two lines of code;
$output = shell_exec(“whois ” . $_GET[“domain”]);
– Really easy.
So, you can call /whois.php?domain=google.com
Whois data is not very standardised, so be prepared to do a bit of parsing before you get what you need.