NiceNIC API Introduction
NiceNIC is a Hong Kong based company providing domain name, hosting, and other internet services. The NiceNIC API provides developer access to NiceNIC’s domain reseller program. Based on HTTP POST calls, the API exposes all aspects of the domain registration and management process. The API is available to all registered NiceNIC resellers.
NiceNIC's API service is now listed on ProgrammableWeb API Directory:
API Environment
1. Nicenic API is based on HTTP & POST
2. Production Environment:
3. API Call is only available for Nicenic Resellers.
Test Server Environment:
Use following parameters to connect to Test Server Environment:
Username Password Email
testapi 123456
Public Parameters
The character set of all parameters is GB2312.
The following parameters must be provided when accessing API, otherwise Server will return error messages directly.
No. Parameter Description Type Remark
1 userid Username of the user account Constant(6-30 characters) Username of the User Account
2 userstr md5(userid Account password email vtime) Constant(32 characters) MD5: API encryption functionUsername of the User AccountPassword of the User AccountEmail of the User Account Vtime includes 12 characters If current time=2006-08-30 08:15Then vtime=200608300815 userstr: 32-character string after the sequentially connected 4 values encrypted by MD5
3 category domain Constant Product category
4 action Operation Constant Different function, different value, as described in more details below.
5 vtime Vtime includes 12 characters If current time=2006-08-30 08:15Then vtime=200608300815GMT+08:00 as Default
Action Parameters
  According to different function, choose different action value. One API Call, one action.
Domain Registration查看参数详情 Modify Contact查看参数详情
Domain Renewal查看参数详情 Modify Nameserver查看参数详情
Modify Domain Password查看参数详情 Get Domain Information查看参数详情
Domain Resolution查看参数详情 Get Domain Resolution Record查看参数详情
Add Domain Resolution Record查看参数详情Delete Domain Resolution Record查看参数详情
Modify Domain Resolution Record查看参数详情Restart DNS Server查看参数详情
Domain Registration
Detailed parameter list (all parameters are in lowercase):
(This action is NOT free.)
Parameter Description Type Remark
domain standard domain name String (3-60) i.e.
domainpwd domain password String (3-16) alphabetic characters, numbers only for domain management
vyear registration term Integer
dns1 primary nameserver server address default
dns2 secondary nameserver server address default
productid cn
Constant cn: English.CN
com: Generic gTLD(com,net,org)
cnch: Chinese.CN/中国
comch: Chinese Internationalized Domain Name
name: .name
mobi: .mobi
biz: .biz
info: .info
cc: .cc
tv: .tv
Registrant contact
Parameter Description Type Remark
nameRegistrant nameString (1-16)space required between words
organization organization/company name String (1-255)
state province/state String (1-255)
address mailing address String (1-255)  
city city acronym String (1-255)  
postcode post code/zip code Integer (6) country Country acronym String (2) i.e. CN for China
phone +Country code.district code and phone number "." to separate numbers (30) Fixed format, i.e.+86.07568298700
fax +Country code.district code and fax number "." to separate numbers (30)
email Email address String standard Email address including "@"
The following 3 contacts, repeat Registrant contact parameters please:

Administrative contact: add "a_" before Registrant contact parameters
Billing contact: add "b_" before Registrant contact parameters
Technical contact: add "t_" before Registrant contact parameters

OR use the follow sharing mode:
admin_same_as Administrative contact sharing mode 1 or 2 1: same as Nicenic's
2: same as Registrant's
tech_same_as Technical contact sharing mode 1or 2 or 3 1: same as Nicenic's
2: same as Registrant's
3: same as Administrative's
bill_same_as Billing contact sharing mode 1 or 2 or 3 or 4 1: same as Nicenic's
2: same as Registrant's
3: same as Administrative's
4: same as Technical's
Service Actions
action = rs_againrequest    (Note: public parameter category=all)
Function Description:
Service Re-submit is available for returning "pending process" to get the latest service status. Please be noted to do Re-submit 10 minutes after first-time request and repetitive Re-submits will be applicable till final success or failure when the service is under pending process.
Parameter Description Type Remark
domain standard domain name Character i.e.
action_old service re-submit action Character i.e.: activate,renew
productclassid service category: domain means domain service Character  
域名后缀 你的价格
COM ¥76
BIZ ¥168
HK ¥99
ASIA ¥99
MOBI ¥239
CC ¥98
ME ¥358
CO ¥424
TRAVEL ¥2396
TV ¥665
XXX ¥880
GD ¥699
DE ¥239.94
JP ¥954
KR ¥470
FR ¥1294
RU ¥363
SO ¥1349
BZ ¥477
  • 地址
  • 香港公司:香港铜锣湾百德新街恒隆中心1704室
  • 美国公司:1942 Broadway St.STE 314C Boulder CO 80302 US
    电话:+1(220)800 1201