ドメイン 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
アクション info

リクエストパラメータ

パラメータ名 タイプ 説明
domain 文字列 (3-60) ドメイン名 example.com

レスポンスパラメータ

パラメータ名 タイプ 説明
domain 文字列 ドメイン名
created_date 日付 ドメイン登録時刻
expired_date 日付 ドメイン有効期限日
nameservers 文字列[] ドメイン名の委任先として使用されるネームサーバー
organization 文字列 (1-255) 組織名 / 会社名
name 文字列 (1-16) 登録者名
country 文字列 (1-255)
state 文字列 (1-255) 都道府県 / 州
city 文字列 (1-255) 市区町村略称
address 文字列 (1-255) 郵送先住所
postcode 整数 (6) 郵便番号 / ゾーンコード
phone 数字を区切るには "." を使用(30) +国番号.市外局番と電話番号
fax 数字を区切るには "." を使用(30) +国番号.市外局番とFAX番号
email メールアドレス メールアドレス

リクエスト例

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

返却結果

0 OK 成功レスポンス
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        "domain" : "example.com",
        "created_date":"2025-01-31",
        "expired_date":"2026-01-01",
        "nameservers" : [
            "ns1.test.com",
            "ns2.test.com",
        ],
        "contacts" : [
            "registrant" : [
                "organization" : "Example Company",
                "name" : "Example User",
                "country" : "HK",
                "state" : "HK,
                "city" : "HK",
                "address" : "Hong Kong",
                "postcode" : "100000",
                "phone" : "+852.XXXXXXXX",
                "fax" : "+852.XXXXXXXX",
                "email" : "[email protected]",
            ]
        ]        
    }
}
400 不正なリクエスト
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
著作権 © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. 無断転載を禁じます. · U.S. Affiliate: NICENIC LLC