Domeni API - Regjistrimi i domenit API - ICANN Regjistrues API - White Label Domeni Service

Start Building with NiceNIC Domeni API v2

API access is free fose every active NiceNIC user. Jo reseller upgrade is required. Configure tënd API credentials, make a safe test request, then add the domain, DNS, billing, compliance ose WHMCS wosekflows tënd application needs.

Merr Domeni Detajet

Kjo veprimtari ju lejon të merrni informacion për një emër domaini.

Lloji i përmbajtjes application/json
kategori domain
veprim info

Parametrat e kërkesës

Emri i parametrave Lloji Përshkrim Shembull
domain Varës (3-60) Emri i domain-it example.com

Parametrat e përgjigjes

Emri i parametrave Lloji Përshkrim
domain Varës Emri i domain-it
created_date Data Koha e regjistrimit të domenit
expired_date Data Data e skadencës së domenit
nameservers Varës[] Serverat e emrave që përdor një domen për delegim
organization Varës (1-255) Emri i organizatës / kompanisë
name Varës (1-16) Emri i regjistruesit
country Varës (1-255) Shteti
state Varës (1-255) Provincia / Shteti
city Varës (1-255) Shkurtimi i qytetit
address Varës (1-255) Adresa postare
postcode Numër i plotë (6) Kod poste / Kodi ZIP
phone "." për të ndarë numrat (30) +Kodi i vendit.kodi i rajonit dhe numri i telefonit
fax "." për të ndarë numrat (30) +Kodi i vendit.kodi i rajonit dhe numri i faksit
email Adresa email Adresa email

Shembull kërkese

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

Kthe rezultatin

0 OK Përgjigje e suksesshme
                                        
{
    "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 Kërkesë e gabuar
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Të drejtat e autorit © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Të gjitha të drejtat e rezervuara. · U.S. Affiliate: NICENIC LLC