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.

Renew Domain

Domain name renewal is the process of extending a domain name registration for an additional period beyond its current expiration date. It is important to renew a domain name in order to retain ownership and keep your website, mail services or other related services up and running

Content-Type application/json
category domain
action renew

Request parameters

Parameter Name Type Describe Example
domain String (3-60) Domain name example.com
deaddate Date Domain expiration date 2025-01-01
year Integer (4) The registration period is from 1 to 10 years, with some exceptions for certain domains. 1

Response parameters

Parameter Name Type Describe
domain String Domain name
old_expired_date Date Old domain expiration date
new_expired_date Date New domain expiration date

Request Example

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=renew&domain={domain}&deaddate={deaddate}&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",
        "old_expired_date" : "2025-01-31",
        "new_expired_date" : "2026-01-01"
                
    }
}
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