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.

I-update ang Mga Nameservers

Pinapayagan ka ng update na ito na baguhin ang nameserver ng domain

Content-Type application/json
kategorya domain
aksyon change_dns

Mga parameter ng request

Pangalan ng parameter Uri Paglalarawan Halimbawa
domain String (3-60) Pangalan ng domain example.com
dns1 Server Baguhin ang pangunahing nameserver ns1.my-ndns.com
dns2 Server Baguhin ang pangalawang nameserver ns2.my-ndns.com
... Server Higit pang DNS, hanggang 6 nsX.my-ndns.com

Halimbawa ng Request

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

Resulta ng Return

0 OK Matagumpay na tugon
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {        
    }
}
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