Domain API - Pagrehistro ng Domain API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fo every active NiceNIC user. Hindi reseller upgrade is required. Configure iyong API credentials, make a safe test request, then add the domain, DNS, billing, compliance o WHMCS wokflows iyong application needs.

Kunin Domain Mga Detalye

Pinapayagan ka ng operasyong ito na makakuha ng impormasyon tungkol sa isang domain name.

Content-Type application/json
kategorya domain
aksyon info

Mga parameter ng request

Pangalan ng parameter Uri Paglalarawan Halimbawa
domain String (3-60) Pangalan ng domain example.com

Mga parameter ng tugon

Pangalan ng parameter Uri Paglalarawan
domain String Pangalan ng domain
created_date Petsa Oras ng pagrerehistro ng domain
expired_date Petsa Petsa ng pag-expire ng domain
nameservers String[] Ang mga name server na ginagamit ng isang domain name para sa delegation
organization String (1-255) Pangalan ng organisasyon / kumpanya
name String (1-16) Pangalan ng rehistrante
country String (1-255) Bansa
state String (1-255) Probinsya / Estado
city String (1-255) Daglat ng lungsod
address String (1-255) Mailing address
postcode Integer (6) Postal code / Zip code
phone "." para paghiwalayin ang mga numero (30) +Country code.district code at numero ng telepono
fax "." para paghiwalayin ang mga numero (30) +Country code.district code at numero ng fax
email Email address Email address

Halimbawa ng Request

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

Resulta ng Return

0 OK Matagumpay na tugon
                                        
{
    "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 Hindi wastong kahilingan
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Lahat ng Karapatan ay Nakalaan. · U.S. Affiliate: NICENIC LLC