API Commands
[All Commands]

Command: Info_Domain



command Info_Domain

Get informations about a single domain from your account

Input Parameters ($data):

string ssid Token from Login
string domain Domain name for requested informations

Output Responses:

string status ok | error
array data Details about your request
 
string domain Domain name
array contacts Contacts (admin,tech,bill) associated with domain name
string subregid Contact ID from Subreg Database
string registryid Contact ID directly from Registry
array hosts Nameservers
string registrant Domain name owner
string crDate Date of domain creation
string trDate Date of domain last transfer
string upDate Date of domain last update
string exDate Date of domain expiration
string authid Domain password for transfers
array status Domain status (ok,clientTransferProhibited,etc..)
int autorenew Domain autorenew setting (0 - EXPIRE | 1 - AUTORENEW | 2 - RENEWONCE)
int premium 0 - domain is not premium, 1 - domain is premium with premium price
decimal price Domain price

Sample:


<?
$client 
= new SoapClient(
        
null
        array(
            
"location" => "https://PRODUCTION/robot.php",
            
"uri" => "http://PRODUCTION/soap"
            
)
        );

$params = array ( 
    
"data" => array (
        
"login" => "demo",
        
"password" => "password",
    )
);

$response $client->__call("Login",$params);

$token $response["data"]["ssid"];

unset(
$params);

$params = array (
    
"data" => array (
            
"ssid" => $token,
            
"domain" => "domena.or.af",
    )
);

$response $client->__call("Info_Domain",$params);

?>
INPUT: [data] => Array ( [ssid] => 123abcd [domain] => testovacidomena.biz ) OUTPUT: [status] => ok [data] => Array ( [domain] => testovacidomena.biz [contacts] => Array ( [admin] => Array ( [0] => Array ( [registryid] => P-JLT23 [subregid] => G-000040 ) ) [tech] => Array ( [0] => Array ( [registryid] => P-PLN115 [subregid] => G-000009 ) ) [billing] => Array ( [0] => Array ( [registryid] => P-PLN115 [subregid] => G-000009 ) ) ) [registrant] => Array ( [registryid] => P-PBN125 [subregid] => G-000007 ) [exDate] => 2012-01-06 [crDate] => 2011-01-06 [trDate] => [upDate] => 2011-01-06 [authid] => rjI?5sjb [status] => Array ( [0] => ok ) [premium] => 1 [price] => 145 ) OUTPUT (with error): [status] => error [data] => Array ( [errormsg] => This domain is not yours! [errorcode] => 1002 )

API Manual - version from 2017-09-15 12:54:14