API de domaine - API d'enregistrement de domaine - API de bureau d'enregistrement ICANN - Service de domaine en marque blanche

Commencer à développer avec l’API de domaine v2 NiceNIC

L'accès à l'API est gratuit pour chaque utilisateur actif de NiceNIC. Aucune mise à niveau vers un compte revendeur n'est requise. Configurez vos identifiants d'API, effectuez une requête de test sécurisée, puis ajoutez les flux de travail de domaine, DNS, facturation, conformité ou WHMCS dont votre application a besoin.

Transférer le domaine entrant

This operation can transfer a domain name from another registrar to NiceNIC

Content-Type application/json
category domain
action transfer

Request parameters

Parameter Name Type Describe Example
domain String (3-60) Domain name example.com
authcode String Domain transfer code year Transfer and renew term
year Integer (4) The registration period is from 1 to 10 years, with some exceptions for certain domains. 1
dns1 Server Primary nameserver ns3.my-ndns.com
dns2 Server Secondary nameserver ns4.my-ndns.com
organization String (1-255) Organization / Company name XXX Ltd.
name String (1-16) Registrant name Xiao Ming
country String (1-255) Country Code, such as CN CN
state String (1-255) Province / State BeiJing
city String (1-255) City acronym BJ
address String (1-255) Mailing address BeiJing
postcode Integer (4-10) Post code / Zip code 100000
phone "." to separate numbers (30) +Country code.district code and phone number +86.13800000000
fax "." to separate numbers (30) +Country code.district code and fax numbe +86.13800000000
email Email address Email address [email protected]

Request Example

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=transfer&domain={domain}&authcode={authcode}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

Return result

201 OK Successful response
                                        
{
    "code": 201,
    "msg" : "Pending order, please wait for the order to be processed!",
    "data" : {        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Tous droits réservés.