API documentation
??? ?????? ?????
?? ????????? ??????? ???? ???? domain name ???????? ???? ???? ???????
Content-Type
application-json
?????
domain
????
info
???????? ???????????
| ????????????? ??? | ??? | ????? | ?????? |
|---|---|---|---|
| domain | ??????? (3-60) | ?????? ??? | example.com |
????????????? ???????????
| ????????????? ??? | ??? | ????? |
|---|---|---|
| domain | ??????? | ?????? ??? |
| created_date | ????? | ?????? ????????? ???? |
| expired_date | ????? | ?????? ?????? ????? ????? |
| nameservers | ???????[] | ?????????? ???? ???? domain name ?? name servers ??????? ??? |
| organization | ??????? (1-255) | ?????? / ????????? ??? |
| name | ??????? (1-16) | ???????????? ??? |
| country | ??????? (1-255) | ??? |
| state | ??????? (1-255) | ?????? / ????? |
| city | ??????? (1-255) | ????? ????????? ??? |
| address | ??????? (1-255) | ??? ?????? |
| postcode | ??????????? (6) | ????? ??? / ??? ??? |
| phone | ?????? ????? ???? "." ??????? ???? (30) | +????? ???.?????? ??? ??? ??? ????? |
| fax | ?????? ????? ???? "." ??????? ???? (30) | +????? ???.?????? ??? ??? ??????? ????? |
| ???? ?????? | ???? ?????? |
???????? ??????
{
curl https://api.nicenic.net/v2/?category=domain&action=info&domain={domain}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
????? ???? ???
0 OK
??? ????????????
{
"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 ??? ??????
{
"code": 400,
"msg" : "Request parameter error",
}






