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.

Əldə et Domen Ətraflı

Bu əməliyyat sizə domen adı haqqında məlumat əldə etməyə imkan verir.

Content-Type application/json
kateqoriya domain
əməl info

Sorğu parametrləri

Parametrin adı Növ Təsvir et Nümunə
domain Sətr (3-60) Domen adı example.com

Cavab parametrləri

Parametrin adı Növ Təsvir et
domain Sətr Domen adı
created_date Tarix Domen qeydiyyat vaxtı
expired_date Tarix Domenin bitmə tarixi
nameservers Sətr[] Domenin atribut verilməsi üçün istifadə etdiyi ad serverləri
organization Sətr (1-255) Təşkilat / Şirkət adı
name Sətr (1-16) Qeydiyyat sahibinin adı
country Sətr (1-255) Ölkə
state Sətr (1-255) Region / Ştat
city Sətr (1-255) Şəhərin qısaltması
address Sətr (1-255) Poçt ünvanı
postcode Tam ədəd (6) Poçt indeksi
phone Rəqəmləri ayırmaq üçün "." (30) +Ölkə kodu.bölmə kodu və telefon nömrəsi
fax Rəqəmləri ayırmaq üçün "." (30) +Ölkə kodu.bölmə kodu və faks nömrəsi
email Email ünvanı Email ünvanı

Sorgu Nümunəsi

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=info&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" : {
        "domain" : "example.com",
        "created_date":"2025-01-31",
        "expired_date":"2026-01-01",
        "nameservers" : [
            "ns1.test.com",
            "ns2.test.com",
        ],
        "contacts" : [
            "registrant" : [
                "organization" : "Example Company",
                "name" : "Example User",
                "country" : "HK",
                "state" : "HK,
                "city" : "HK",
                "address" : "Hong Kong",
                "postcode" : "100000",
                "phone" : "+852.XXXXXXXX",
                "fax" : "+852.XXXXXXXX",
                "email" : "[email protected]",
            ]
        ]        
    }
}
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