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:
http://www.programmableweb.com/api/nicenic
API Environment
1. Nicenic API is based on HTTP & POST
2. Production Environment:http://api.nicenic.com/
3. API Call is only available for Nicenic Resellers.
Test Server Environment: http://apitest.nicenic.com/
Use following parameters to connect to Test Server Environment:
Username Password Email
testapi 123456 test@nicenic.com
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
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
action=activate
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. nicenic.com
domainpwd domain password String (3-16) alphabetic characters, numbers only for domain management
vyear registration term Integer
dns1 primary nameserver server address default dns1:ns1.ndns.cn
dns2 secondary nameserver server address default dns2:ns2.ndns.cn
productid cn
com
cnch
comch
name
mobi
biz
info
cc
tv
More...
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
More...
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. nicenic.com
action_old service re-submit action Character i.e.: activate,renew
productclassid service category: domain means domain service Character  
价格表
域名后缀 你的价格
COM ¥60
中国.CHINESE IDNS ¥39
BIZ ¥168
HK ¥105
ASIA ¥99
MOBI ¥198
CC ¥98
ME ¥189
CO ¥319
TRAVEL ¥1800
TV ¥500
XXX ¥880
GD ¥229
DE ¥119
JP ¥789
KR ¥389
FR ¥972
RU ¥179
SO ¥1014
BZ ¥359
  • 关注
  • flickr linkedin facebook twitter
  • 地址
  • 恒隆中心1704室
    香港铜锣湾百德新街
    support@nicenic.net
Copyright © 2005-2020 耐思尼克国际集团有限公司 保留所有权利
公安备案号: 粤公网安备 44049002000125号