API documentation
Get domain information
This operation allows you to get information about a domain name.
Content-Type
application-json
category
domain
action
info
Request parameters
| Parameter Name | Type | Describe | Example |
|---|---|---|---|
| domain | String (3-60) | Domain name | example.com |
Response parameters
| Parameter Name | Type | Describe |
|---|---|---|
| domain | String | Domain name |
| created_date | Date | Domain registration time |
| expired_date | Date | Domain expiration date |
| nameservers | String[] | The name servers that a domain name uses for delegation |
| organization | String (1-255) | Organization / Company name |
| name | String (1-16) | Registrant name |
| country | String (1-255) | Country |
| state | String (1-255) | Province / State |
| city | String (1-255) | City acronym |
| address | String (1-255) | Mailing address |
| postcode | Integer (6) | Post code / Zip code |
| phone | "." to separate numbers (30) | +Country code.district code and phone number |
| fax | "." to separate numbers (30) | +Country code.district code and fax numbe |
| Email address | Email address |
Request Example
{
curl http://api.www.unionroom.cn/v2/?category=domain&action=info&domain={domain}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Return result
0 OK
Successful response
{
"code": 0,
"msg" : "success",
"data" : {
"domain" : "skinporkit.com",
"created_date":"2025-01-31",
"expired_date":"2026-01-01",
"nameservers" : [
"ns1.ndns.cn",
"ns2.ndns.cn",
],
"contacts" : [
"registrant" : [
"organization" : "xiao rui fei dao",
"name" : "xiao rui fei dao",
"country" : "CN",
"state" : "Beijing",
"city" : "Beijing",
"address" : "GuangDongZhuHai",
"postcode" : "100000",
"phone" : "+138XXXXXXXX",
"fax" : "+13800000000",
"email" : "[email protected]",
]
]
}
}
400 Bad Request
{
"code": 400,
"msg" : "Request parameter error",
}






