Domain API - Pendaftaran Domain API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fatau every active NiceNIC user. Tidak reseller upgrade is required. Configure Anda API credentials, make a safe test request, then add the domain, DNS, billing, compliance atau WHMCS wataukflows Anda application needs.

Daftarkan Domain

Pendaftaran domain adalah proses pemesanan nama unik di Internet untuk jangka waktu tertentu, biasanya satu tahun atau lebih

Content-Type application/json
kategori domain
aksi register

Parameter permintaan

Nama parameter Tipe Deskripsi Contoh
domain String (3-60) Nama domain example.com
year Bilangan bulat (4) Masa pendaftaran adalah 1 hingga 10 tahun, dengan beberapa pengecualian untuk domain tertentu. 1
dns1 Server Nameserver utama ns3.my-ndns.com
dns2 Server nameserver sekunder ns4.my-ndns.com
organization String (1-255) Nama organisasi / perusahaan XXX Ltd.
name String (1-16) Nama pendaftar Xiao Ming
country String (1-255) Kode negara, seperti CN CN
state String (1-255) Provinsi / Negara bagian BeiJing
city String (1-255) Singkatan kota BJ
address String (1-255) Alamat surat BeiJing
postcode Bilangan bulat (4-10) Kode pos 100000
phone "." untuk memisahkan angka (30) +Kode negara.kode area dan nomor telepon +86.13800000000
fax "." untuk memisahkan angka (30) +Kode negara.kode area dan nomor faks +86.13800000000
email Alamat email Alamat email [email protected]
contact_source String (1-255) Kontak sumber, jika diatur ke anggota, informasi kontak akan sama dengan informasi anggota, dan informasi kontak lainnya akan diabaikan member

Parameter respons

Nama parameter Tipe Deskripsi
domain String Nama domain
created_date Tanggal Waktu registrasi domain
expired_date Tanggal Tanggal kedaluwarsa domain

Contoh Permintaan

                                    
{
    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" 
}

Kembalikan hasil

0 OK Respons berhasil
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain":"example.com",
        "created_date":"2025-01-21",
        "expired_date":"2026-01-21"        
    }
}
201 Tertunda Tertunda atauder
                                        
{
    "code": 201,
    "msg" : "Pending order, please wait for the order to be processed!"
    }
}

Catatan: code "201" means the registration atauder was submitted successfully dan the fee was deducted. Final domain activation is still subject to registry confirmation. Jika the domain cannot be activated, the registration fee will be refunded to Anda account balance within 24 hours.

400 Permintaan tidak valid
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Seluruh Hak Dilindungi. · U.S. Affiliate: NICENIC LLC