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

ドメイン価格を取得

ドメイン登録、更新、移管の料金情報を取得

Content-Type application/json
カテゴリ domain
アクション get_price

リクエストパラメータ

パラメータ名 タイプ 説明
domain 文字列 (3-60) ドメイン名 example.com
type 文字列 ドメイン名の種類:新規登録、移管、更新、すべて register
year 整数 (4) 登録・更新・移管期間を選択してください(1~10年) 1

レスポンスパラメータ

パラメータ名 タイプ 説明
domain 文字列 ドメイン名
type 文字列 ドメイン名の種類(登録/移管/更新)
currency 文字列 通貨の種類
price 数量 価格
is_premium ブール値 このドメインがプレミアムドメインかどうか(登録タイプのみ)

リクエスト例

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

返却結果

0 OK 成功レスポンス
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        [
            {
                "domain": "example.com",
                "type": "register",
                "currency": "USD",
                "price": 15.99,
                "is_premium": false
            },
            {
                "domain": "example.com",
                "type": "renew",
                "currency": "USD",
                "price": 15.99
            }
        ]        
    }
}
400 不正なリクエスト
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
著作権 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 無断転載を禁じます. · U.S. Affiliate: NICENIC LLC