Alan Adı Kaydet
Domain name kaydı, İnternet üzerinde benzersiz bir adı belirli bir süre için, genellikle bir yıl veya daha uzun süreyle rezerve etme işlemidir
İstek parametreleri
| Parametre Adı | Tür | Açıklama | Örnek |
|---|---|---|---|
| domain | String (3-60) | Alan adı | example.com |
| year | Tamsayı (4) | Kayıt süresi 1 ila 10 yıl arasındadır; bazı domainlerde istisnalar olabilir. | 1 |
| dns1 | Sunucu | Birincil nameserver | ns3.my-ndns.com |
| dns2 | Sunucu | İkincil nameserver | ns4.my-ndns.com |
| organization | String (1-255) | Kuruluş / Şirket adı | XXX Ltd. |
| name | String (1-16) | Kayıt sahibinin adı | Xiao Ming |
| country | String (1-255) | Ülke Kodu, örneğin CN | CN |
| state | String (1-255) | İl / Eyalet | BeiJing |
| city | String (1-255) | Şehir kısaltması | BJ |
| address | String (1-255) | Posta adresi | BeiJing |
| postcode | Tamsayı (4-10) | Posta kodu / Zip kodu | 100000 |
| phone | Sayıları ayırmak için "." (30) | +Ülke kodu.alan kodu ve telefon numarası | +86.13800000000 |
| fax | Sayıları ayırmak için "." (30) | +Ülke kodu.alan kodu ve faks numarası | +86.13800000000 |
| E-posta adresi | E-posta adresi | [email protected] | |
| contact_source | String (1-255) | Set to member to use sizin member profile instead of the supplied iletişim bilgileri. | member |
| document_type | String | Required fveya HK domains. Common values: PASSNO (Pasaport), OTHIDV (Other Individual Belge Numarası), OTHVEYAG (Other Organization Belge Numarası). | PASSNO |
| document_number | String (1-40 bytes) | Document number matching the selected type. Required fveya HK domains. | E12345678 |
HK domains require both document fields, including when using contact_source=member. Other domains ignveyae them. Fveya .com.hk, only BR is accepted.
Yanıt parametreleri
| Parametre Adı | Tür | Açıklama |
|---|---|---|
| domain | String | Alan adı |
| created_date | Tarih | Domain kayıt zamanı |
| expired_date | Tarih | Domain son kullanma tarihi |
İstek Örneği
{
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"
}
Dönüş sonucu
{
"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!"
}
}
Not: code "201" means the registration veyader was submitted successfully ve the fee was deducted. Final domain activation is still subject to registry confirmation. Eğer the domain cannot be activated, the registration fee will be refunded to sizin account balance within 24 hours.
{
"code": 400,
"msg" : "Request parameter error",
}






