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

자식 네임서버 목록

특정 도메인에 대한 모든 DNS 서버를 검색합니다.

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

요청 매개변수

매개변수 이름 유형 설명 예시
domain 문자열 도메인 이름 example.com

응답 매개변수

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

요청 예시

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

결과 반환

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