דומיין 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) +קוד מדינה.קוד אזור ומספר פקס
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