API documentation
Check domain availability
Get information about domain availability
Content-Type
application-json
category
domain
action
check
Request parameters
| Parameter Name | Type | Describe | Example |
|---|---|---|---|
| domains | String | supports multiple domains, which are separated by commas | example.com,example.net |
Response parameters
| Parameter Name | Type | Describe |
|---|---|---|
| data | Array |
The return is a collection, with the domain name as the key and the availability status as the value available : domain available for registration unavailable : domain already taken error : something error |
Request Example
{
curl http://api.www.gtlpnf.cn/v2/?category=domain&action=check&domains={domains}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Return result
0 OK
Successful response
{
"code": 0,
"msg" : "success",
"data" : {
"sdsjalkw.com": "available"
}
}
400 Bad Request
{
"code": 400,
"msg" : "Request parameter error",
}






