Description
This API allow you to query a domain availability, as long as a premium domain and the price of premium domain.
Action
pn_newqry.jsp
Parameters
Parameter | Mandatory | Description | Sample |
---|---|---|---|
source | Yes | Your Partner ID | webcc-xxxxxxxxx |
otime | Yes | Your Server Timestamp (URL encoded) | 2018-03-28%2000%3A00%3A00 |
ochecksum | Yes | Your encrypted API Password | fc5e038d38a57032085441e7fe7010b0 |
domain | Yes | The domain you intended to query | google.com |
Response
Status Code | Description | Sample |
---|---|---|
0 | Command Completed Successfully | -Domain name is not registered -Domain name is not registered lookupkey[lookupkey returned by registry] -Domain name already registered |
4 | System message | -Error message returned by registry -Invalid Reseller -Domain Name is a Mandatory field, cannot be empty. -Domain may contain only alpha-numeric characters or the dash (-) symbol (no leading or trailing dashes -Invalid domain name/extension -Invalid domain extension OR if you are a native domain name, please turn your browser to UTF-8 encoding |
6 | Partner authentication fail | Partner authentication fail) |
8 | Connection Failures | https connection error |
Sample Response
{
“result”:{
“code”:”0″,
“status”:”success”,
“message”:”Domain name is not registered”,
“data”:{
“available”:true,
“premium”:true,
“currency”:”USD”,
“register”:99.00,
“renew”:99.00,
“transfer”:99.00
}
}
}