API documentation
?? ???
??? ??? ?? ??? ??? ?? ???? ??? ??? ???? ?????. ???? ???? ????, ?? ??? ?? ?? ?? ???? ???? ?? ????? ???? ???? ?? ?????
Content-Type
application-json
????
domain
??
renew
?? ????
| ???? ?? | ?? | ?? | ?? |
|---|---|---|---|
| domain | ??? (3-60) | ??? ?? | example.com |
| deaddate | ?? | ??? ??? | 2025-01-01 |
| year | ?? (4) | ?? ??? 1??? 10?????, ?? ???? ??? ?? ? ????. | 1 |
?? ????
| ???? ?? | ?? | ?? |
|---|---|---|
| domain | ??? | ??? ?? |
| old_expired_date | ?? | ?? ??? ??? |
| new_expired_date | ?? | ? ??? ??? |
?? ??
{
curl https://api.nicenic.net/v2/?category=domain&action=renew&domain={domain}&deaddate={deaddate}&year={year}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
?? ??
0 OK
?? ??
{
"code": 0,
"msg" : "success",
"data" : {
"domain" : "skinporkit123.com",
"old_expired_date" : "2025-01-31",
"new_expired_date" : "2026-01-01"
}
}
400 ??? ??
{
"code": 400,
"msg" : "Request parameter error",
}






