도메인 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.

자식 네임서버 생성

등록 a new DNS server f또는 use with a specific 도메인

Content-Type application/json
카테고리 nameserverhost
작업 add

요청 매개변수

매개변수 이름 유형 설명 예시
domain 문자열 도메인 이름 example.com
dns 문자열 (3-30) DNS 서버 이름(도메인과 일치해야 함) ns1.example.com
ip 문자열 DNS 서버 IP 주소 192.168.1.1

응답 매개변수

매개변수 이름 유형 설명
dns 문자열 DNS 서버 이름
ip 문자열 DNS 서버 IP 주소

요청 예시

                                    
{
    curl https://api.nicenic.net/v2/?category=nameserverhost&action=add&domain={domain}&dns={dns}&ip={ip} 
      -H "Authorization: username:api_secret" 
      -H "Content-Type: application/json" 
}

결과 반환

0 OK 성공 응답
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "dns": "ns1.example.com",
            "ip": "192.168.1.1"
        }        
    }
}
400 잘못된 요청
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
저작권 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 모든 권리 보유. · U.S. Affiliate: NICENIC LLC