API documentation
??? ???? ????? Availability
domain ?? ??????? ?? ???? ??? ??????? ???? ????
Content-Type
application-json
????
domain
???
check
??????? ?? ?????????
| ???????? ?? ??? | ??? | ????? | ???? |
|---|---|---|---|
| domains | ?????? | ????? domains ?? ????? ???? ??? ????? commas ?? ??? ??? ???? ?? | example.com,example.net |
???? ?? ?????????
| ???????? ?? ??? | ??? | ????? |
|---|---|---|
| data | Array |
????? ??? ?????? ??? ?? ??? domain name key ?? ??? ?? ??? ??????? ?? ???? value ?? ??? ?? ???? ?? ?????? : ???????? ?? ??? domain ?????? ?? ?????? ???? : domain ???? ?? ??? ?? ??? ?? ????? : ??? ????? ???? ?? |
??????? ?? ????
{
curl https://api.nicenic.net/v2/?category=domain&action=check&domains={domains}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
????? ???? ????
0 OK
?????? ????
{
"code": 0,
"msg" : "success",
"data" : {
"sdsjalkw.com": "available"
}
}
400 ??? ???????
{
"code": 400,
"msg" : "Request parameter error",
}






