Domain API - Alan Adı Kaydı API - ICANN Kayıt Kuruluşu API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fveya every active NiceNIC user. Hayır reseller upgrade is required. Configure sizin API credentials, make a safe test request, then add the domain, DNS, billing, compliance veya WHMCS wveyakflows sizin application needs.

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

Content-Type application/json
kategori domain
işlem register

İ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
email 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

0 OK Başarılı yanıt
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain":"example.com",
        "created_date":"2025-01-21",
        "expired_date":"2026-01-21"        
    }
}
201 Beklemede Beklemede veyader
                                        
{
    "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.

400 Hatalı İstek
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Telif Hakkı © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Tüm Hakları Saklıdır.