ドメイン 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