Domain Search API

Quick and simplest demo of checking domain availability (Login required):
https://domainsearchguru.com/index.php/domainSearch/domainAvailableJSON?domainName=test.com
What is Domain Search API?
Domain Search API is a standard Web service for getting data related to any domain name(TLD). These data include domain availability, ip address, ip location, popularity rank(Alexa) and registry data(registrar, created date, updated date, and expires date)
How to use Domain Search API?
Domain Search API can be consumed in two ways: 1. using standard web service client via xml, the WSDL can be viewed here. 2. using standard http get/post to read and parse the output in JSON, another popular data transport format. See client code for detailed examples.
Is Domain Search API Free?
Yes
Sample code snippets on using/consuming Domain Search API:
Currently sample code is provided in PHP, but it should be trivial to use it in any language/framework that supports Web service / JSON
PHP's way of consuming Domain Search API web service using Soap Client
$domainName = "google.com";
$wsdlUrl ="https://domainsearchguru.com/index.php/domainSearch/query"; 
$client = new SoapClient($wsdlUrl);
$client->login($userName,$password);
echo "<br> is $domainName available? " .$client->domainAvailable($domainName);
echo "<br> $domainName info: ".print_r($client->domainInfo($domainName),1);
PHP's way of consuming Domain Search API in JSON using standard http get
$domainName="test.com";
//check domain availability only
$url = "https://domainsearchguru.com/index.php/domainSearch/domainAvailableJSON?domainName=$domainName&username=$username&password=$password";
echo("url is $url<br>");
$content = file_get_contents($url);
echo("response is $content<br>");
$resp=json_decode($content);
if(isset($resp->error))echo($resp->error . "<br>");
else echo("is domain $domainName available? " . $resp->available . "<br>");

//get basic domain info, 
//to get specific domain info, pass in additional http parameters.  supported parameters are: 'ENABLE_BASIC_WHOIS', 'ENABLE_IP','ENABLE_COUNTRY', 'ENABLE_ALEXA','ENABLE_GPR'
$url = "https://domainsearchguru.com/index.php/domainSearch/domainInfoJSON?domainName=$domainName&username=$username&password=$password";
echo("url is $url<br>");
$content = file_get_contents($url);
echo("response is $content<br>");
$resp=json_decode($content);
if(isset($resp->error))echo($resp->error . "<br>");
else echo("Domain Info: " . print_r($resp->domainInfo,1) . "<br>");