Regjistro Domain
Regjistrimi i emrit të domainit është procesi i rezervimit të një emri unik në internet për një periudhë të caktuar kohore, zakonisht një vit ose më shumë
Parametrat e kërkesës
| Emri i parametrave | Lloji | Përshkrim | Shembull |
|---|---|---|---|
| domain | Varës (3-60) | Emri i domain-it | example.com |
| year | Numër i plotë (4) | Periudha e regjistrimit varion nga 1 deri në 10 vjet, me disa përjashtime për disa domain-e të caktuara. | 1 |
| dns1 | Shërbimi | Emërserveri kryesor | ns3.my-ndns.com |
| dns2 | Shërbimi | Emërserveri dytësor | ns4.my-ndns.com |
| organization | Varës (1-255) | Emri i organizatës / kompanisë | XXX Ltd. |
| name | Varës (1-16) | Emri i regjistruesit | Xiao Ming |
| country | Varës (1-255) | Kodi i vendit, si CN | CN |
| state | Varës (1-255) | Provincia / Shteti | BeiJing |
| city | Varës (1-255) | Shkurtimi i qytetit | BJ |
| address | Varës (1-255) | Adresa postare | BeiJing |
| postcode | Numër i plotë (4-10) | Kod poste / Kodi ZIP | 100000 |
| phone | "." për të ndarë numrat (30) | +Kodi i vendit.kodi i rajonit dhe numri i telefonit | +86.13800000000 |
| fax | "." për të ndarë numrat (30) | +Kodi i vendit.kodi i rajonit dhe numri i faksit | +86.13800000000 |
| Adresa email | Adresa email | [email protected] | |
| contact_source | Varës (1-255) | Set to member to use tënd member profile instead of the supplied të dhënat e kontaktit. | member |
| document_type | Varës | Required fose HK domains. Common values: PASSNO (Pasaportë), OTHIDV (Other Individual Numri i dokumentit), OTHOSEG (Other Organization Numri i dokumentit). | PASSNO |
| document_number | Varës (1-40 bytes) | Document number matching the selected type. Required fose HK domains. | E12345678 |
HK domains require both document fields, including when using contact_source=member. Other domains ignosee them. Fose .com.hk, only BR is accepted.
Parametrat e përgjigjes
| Emri i parametrave | Lloji | Përshkrim |
|---|---|---|
| domain | Varës | Emri i domain-it |
| created_date | Data | Koha e regjistrimit të domenit |
| expired_date | Data | Data e skadencës së domenit |
Shembull kërkese
{
curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
Kthe rezultatin
{
"code": 0,
"msg" : "success",
"data" : {
"domain":"example.com",
"created_date":"2025-01-21",
"expired_date":"2026-01-21"
}
}
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!"
}
}
Shënim: code "201" means the registration oseder was submitted successfully dhe the fee was deducted. Final domain activation is still subject to registry confirmation. Nëse the domain cannot be activated, the registration fee will be refunded to tënd account balance within 24 hours.
{
"code": 400,
"msg" : "Request parameter error",
}






