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.

Vérifier la disponibilité d'un domaine

Get information about domain availability

Content-Type application/json
category domain
action check

Request parameters

Parameter Name Type Describe Example
domains String supports multiple domains, which are separated by commas example.com,example.net

Response parameters

Parameter Name Type Describe
data Array The return is a collection, with the domain name as the key and the availability status as the value
available : domain available for registration
unavailable : domain already taken
error : something error

Request Example

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

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "sdsjalkw.com": "available"        
    }
}
400 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Tous droits réservés.