domain_check

Check the availability of a domain name.

Inputs Description Type Regular expression Mandatory
name Domain name String [A-Za-z0-9-\.]{5,68} Yes

 

Outputs Description Possible values
status Domain status AVAILABLE = 0 (Domain name unavailable for registration at the registry)
AVAILABLE = 1 (Domain name available for registration at the registry)
name Domain name

 

Command

<api>
[…]
<command>
<domain_check>
<name>…</name>
</domain_check>
</command>
</api>

Response

<?xml version="1.0" encoding="utf-8"?>
<api>
<response>
<trID>…</trID>
<result code="…">
<msg>…</msg>
</result>
</response>
<resData>
<domain_chkData>
<name available="…">…</name>
</domain_chkData>
</resData>
</api>