Domain API - Domain Registration API - ICANN Registrar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free for every active NiceNIC user. No reseller upgrade is required. Configure your API credentials, make a safe test request, then add the domain, DNS, billing, compliance or WHMCS workflows your application needs.

Get Domain Details

This operation allows you to get information about a domain name.

Content-Type application/json
category domain
action info

Request parameters

Parameter Name Type Describe Example
domain String (3-60) Domain name example.com

Response parameters

Parameter Name Type Describe
domain String Domain name
created_date Date Domain registration time
expired_date Date Domain expiration date
nameservers String[] The name servers that a domain name uses for delegation
organization String (1-255) Organization / Company name
name String (1-16) Registrant name
country String (1-255) Country
state String (1-255) Province / State
city String (1-255) City acronym
address String (1-255) Mailing address
postcode Integer (6) Post code / Zip code
phone "." to separate numbers (30) +Country code.district code and phone number
fax "." to separate numbers (30) +Country code.district code and fax numbe
email Email address Email address

Request Example

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

Return result

0 OK Successful response
                                        
{
    "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 Bad Request
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
Copyright © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. All Rights Reserved. · U.S. Affiliate: NICENIC LLC