ڈومین 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.

Domain Pricing حاصل کریں

domain registration, renewal, اور transfer operations کے لیے قیمتوں کی معلومات حاصل کریں

Content-Type application/json
زمرہ domain
عمل get_price

درخواست کے پیرامیٹرز

پیرامیٹر کا نام قسم تفصیل مثال
domain اسٹرنگ (3-60) Domain name example.com
type اسٹرنگ domain name type: register, transfer, renew, all register
year عدد صحیح (4) registration/renewal/transfer period منتخب کریں (1-10 سال) 1

جواب کے پیرامیٹرز

پیرامیٹر کا نام قسم تفصیل
domain اسٹرنگ Domain name
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