도메인 API - 도메인 등록 API - ICANN 등록기관 API - White Label 도메인 Service

Start Building with NiceNIC 도메인 API v2

API access is free f또는 every active NiceNIC user. 아니요 reseller upgrade is required. Configure 귀하의 API credentials, make a safe test request, then add the 도메인, DNS, billing, compliance 또는 WHMCS w또는kflows 귀하의 application needs.

도메인 등록

도메인 등록은 인터넷에서 특정 기간 동안 고유한 이름을 예약하는 과정이며, 일반적으로 1년 이상입니다

Content-Type application/json
카테고리 domain
작업 register

요청 매개변수

매개변수 이름 유형 설명 예시
domain 문자열 (3-60) 도메인 이름 example.com
year 정수 (4) 등록 기간은 1년에서 10년까지이며, 일부 도메인은 예외가 있을 수 있습니다. 1
dns1 서버 기본 네임서버 ns3.my-ndns.com
dns2 서버 보조 네임서버 ns4.my-ndns.com
organization 문자열 (1-255) 기관 / 회사명 XXX Ltd.
name 문자열 (1-16) 등록자 이름 Xiao Ming
country 문자열 (1-255) 국가 코드, 예: CN CN
state 문자열 (1-255) 주 / 도 BeiJing
city 문자열 (1-255) 도시 약어 BJ
address 문자열 (1-255) 우편 주소 BeiJing
postcode 정수 (4-10) 우편번호 / ZIP 코드 100000
phone 숫자를 구분하는 "." (30) +국가 코드.지역 코드 및 전화번호 +86.13800000000
fax 숫자를 구분하는 "." (30) +국가 코드. 지역 코드 및 팩스 번호 +86.13800000000
email 이메일 주소 이메일 주소 [email protected]
contact_source 문자열 (1-255) 연락처 출처가 회원으로 설정된 경우, 연락처 정보는 회원 정보와 동일하며 다른 연락처 정보는 무시됩니다 member

응답 매개변수

매개변수 이름 유형 설명
domain 문자열 도메인 이름
created_date 날짜 도메인 등록 시간
expired_date 날짜 도메인 만료일

요청 예시

                                    
{
    curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

결과 반환

0 OK 성공 응답
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain":"example.com",
        "created_date":"2025-01-21",
        "expired_date":"2026-01-21"        
    }
}
201 보류 중 보류 중 또는der
                                        
{
    "code": 201,
    "msg" : "Pending order, please wait for the order to be processed!"
    }
}

참고: code "201" means the registration 또는der was submitted successfully 및 the fee was deducted. Final 도메인 activation is still subject to registry confirmation. 만약 the 도메인 cannot be activated, the registration fee will be refunded to 귀하의 account balance within 24 hours.

400 잘못된 요청
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
저작권 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 모든 권리 보유. · U.S. Affiliate: NICENIC LLC