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