Subreg EPP server documentation
[All Commands]

Check domain

Check if particular domains are available for registration (free) or are already registered. Free domains can be registered using <create> command. It's possible to specify up to 10 domain names in single <check> request.

Input fields

  • name - full domain name, possibly up to 10 (required)

Output fields

  • cd-name - full domain name, same number as on input (required)
  • cd-name@avail - booleam 0/1 if the domain name is available or not (required)
  • extension-cd-name - full domain name, same number as on input
  • extension-cd-price@command - domain create, domain renew or domain transfer
  • extension-cd-price-amount - current domain price (premium incl. if applicable)
  • extension-cd-price-amount_with_trustee - current domain price with trustee fee if required (premium incl. if applicable)
  • extension-cd-price-currency - currency of domain prices
  • extension-cd-price-premium - booleam 0/1 if the domain name is premium or not
  • extension-cd-existing_claim_id - Claim ID from TMCH. If Exists, domain is not possible register via API/EPP

Example


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
 <command>
  <check>
   <domain:check xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
    <domain:name>first.cz</domain:name>
    <domain:name>second.cz</domain:name>
    <domain:name>testandvalidate.testtwo</domain:name>
   </domain:check>
  </check>
  <clTRID>SUBREG20120218T023444Z715</clTRID>
 </command>
</epp>

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
   <result code="1000">
    <msg lang="en">Command completed successfully</msg>
   </result>
   <resData>
    <domain:chkData xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
     <domain:cd>
      <domain:name avail="0">first.cz</domain:name>
     </domain:cd>
     <domain:cd>
      <domain:name avail="1">second.cz</domain:name>
     </domain:cd>
     <domain:cd>
      <domain:name avail="1">testandvalidate.testtwo</domain:name>
     </domain:cd>
    </domain:chkData>
   </resData>
   <extension>
    <subreg:chkData xmlns:subreg="http://www.subreg.cz/epp/subreg-1.0">
     <subreg:cd>
      <subreg:name>second.cz</subreg:name>
      <subreg:price command="create">
       <subreg:amount>1500</subreg:amount>
       <subreg:premium>1</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
      <subreg:price command="renew">
       <subreg:amount>1500</subreg:amount>
       <subreg:premium>1</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
      <subreg:price command="transfer">
       <subreg:amount>0</subreg:amount>
       <subreg:premium>1</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
     </subreg:cd>
     <subreg:cd>
      <subreg:name>testandvalidate.testtwo</subreg:name>
      <subreg:price command="create">
       <subreg:amount>100</subreg:amount>
       <subreg:premium>0</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
      <subreg:price command="renew">
       <subreg:amount>100</subreg:amount>
       <subreg:premium>0</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
      <subreg:price command="transfer">
       <subreg:amount>0</subreg:amount>
       <subreg:premium>0</subreg:premium>
       <subreg:currency>GBP</subreg:currency>
      </subreg:price>
      <subreg:existing_claim_id>2014020400/4/0/b/QLNKTCznXzNzdhJKtN</subreg:existing_claim_id>
     </subreg:cd>
    </subreg:chkData>
   </extension>
   <trID>
    <clTRID>SUBREG20140204T154459ZDB0</clTRID>
    <svTRID>SUBREG20140204T154507ZB72</svTRID>
   </trID>
  </response>
</epp>

Subreg EPP server documentation - version 1.0