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

רשום שרתי שמות ילדים

אחזר את כל שרתי ה-DNS עבור דומיין מסוים

Content-Type application/json
קטגוריה nameserverhost
פעולה list

פרמטרי בקשה

שם פרמטר סוג תיאור דוגמה
domain מחרוזת שם דומיין example.com

פרמטרי תגובה

שם פרמטר סוג תיאור
dns מחרוזת שם שרת DNS
ip מחרוזת כתובת IP של שרת DNS

דוגמת בקשה

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

תוצאת החזרה

0 OK תגובה מוצלחת
                                        
{
    "code": 0,
    "msg" : "success",
    "data" : {
        {
            "list": [
                {
                    "dns": "ns1.example.com",
                    "ip": "192.168.1.1"
                },
                {
                    "dns": "ns2.example.com",
                    "ip": "192.168.1.2"
                }
            ],
            "total": 2
        }        
    }
}
400 בקשה שגויה
                                        
{
    "code": 400,
    "msg" : "Request parameter error",
}
זכויות יוצרים © 2006–2026 חברת NICENIC INTERNATIONAL GROUP CO., LIMITED. כל הזכויות שמורות. · U.S. Affiliate: NICENIC LLC