דומיין 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