Domen API - Domen Qeydiyyatı API - ICANN Qeydiyyatçı API - White Label Domen Service

Start Building with NiceNIC Domen API v2

API access is free fvə ya every active NiceNIC user. Xeyr reseller upgrade is required. Configure sizin API credentials, make a safe test request, then add the domen, DNS, billing, compliance və ya WHMCS wvə yakflows sizin application needs.

Uşaq Ad Serverləri Siyahısı

Müəyyən bir domen üçün bütün DNS serverlərini əldə edin

Content-Type application/json
kateqoriya nameserverhost
əməl list

Sorğu parametrləri

Parametrin adı Növ Təsvir et Nümunə
domain Sətr Domen adı example.com

Cavab parametrləri

Parametrin adı Növ Təsvir et
dns Sətr DNS server adı
ip Sətr DNS server IP ünvanı

Sorgu Nümunəsi

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

Nəticənin qayıdışı

0 OK Uğurlu cavab
                                        
{
    "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 Yanlış Sorğu
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Müəllif Hüququ © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Bütün Hüquqlar Qorunur. · U.S. Affiliate: NICENIC LLC