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.

Daftar Nameserver Anak

Ambil semua server DNS untuk domain tertentu.

Content-Type application/json
kategori nameserverhost
aksi list

Parameter permintaan

Nama parameter Tipe Deskripsi Contoh
domain String Nama domain example.com

Parameter respons

Nama parameter Tipe Deskripsi
dns String Nama server DNS
ip String Alamat IP server DNS

Contoh Permintaan

                                    
{
    curl https://api.nicenic.net/v2/?category=nameserverhost&action=list&domain={domain} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Kembalikan hasil

0 OK Respons berhasil
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "list": [
                {
                    "dns": "ns1.example.com",
                    "ip": "192.168.1.1"
                },
                {
                    "dns": "ns2.example.com",
                    "ip": "192.168.1.2"
                }
            ],
            "total": 2
        }        
    }
}
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