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 Pricing

Retrieve pricing information for domain registration, renewal, and transfer operations

Content-Type application/json
category domain
action get_price

Request parameters

Parameter Name Type Describe Example
domain String (3-60) Domain name example.com
type String Domain name type: register, transfer, renew, all register
year Integer (4) Choose the registration/renewal/transfer period (1-10 years) 1

Response parameters

Parameter Name Type Describe
domain String Domain name
type String Domain name type (register/transfer/renew)
currency String Currency type
price Number Price amount
is_premium Boolean Whether the domain is a premium domain (only for register type)

Request Example

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

Return result

0 OK Successful response
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        [
            {
                "domain": "example.com",
                "type": "register",
                "currency": "USD",
                "price": 15.99,
                "is_premium": false
            },
            {
                "domain": "example.com",
                "type": "renew",
                "currency": "USD",
                "price": 15.99
            }
        ]        
    }
}
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