डोमेन रजिस्टर करें
डोमेन नाम पंजीकरण एक निश्चित अवधि के लिए, आमतौर पर एक वर्ष या उससे अधिक, Internet पर एक अनोखा नाम सुरक्षित करने की प्रक्रिया है
अनुरोध पैरामीटर
| पैरामीटर नाम | प्रकार | विवरण | उदाहरण |
|---|---|---|---|
| domain | स्ट्रिंग (3-60) | domain name | example.com |
| year | पूर्णांक (4) | पंजीकरण अवधि 1 से 10 वर्ष तक है, कुछ डोमेन के लिए कुछ अपवाद लागू हैं। | 1 |
| dns1 | सर्वर | प्राथमिक नेमसर्वर | ns3.my-ndns.com |
| dns2 | सर्वर | द्वितीयक नेमसर्वर | ns4.my-ndns.com |
| organization | स्ट्रिंग (1-255) | संगठन / कंपनी का नाम | XXX Ltd. |
| name | स्ट्रिंग (1-16) | पंजीकरणकर्ता का नाम | Xiao Ming |
| country | स्ट्रिंग (1-255) | देश कोड, जैसे CN | CN |
| state | स्ट्रिंग (1-255) | प्रांत / राज्य | BeiJing |
| city | स्ट्रिंग (1-255) | शहर संक्षेप | BJ |
| address | स्ट्रिंग (1-255) | डाक पता | BeiJing |
| postcode | पूर्णांक (4-10) | पिन कोड / ज़िप कोड | 100000 |
| phone | संख्याओं को अलग करने के लिए "." का उपयोग करें (30) | +देश कोड.क्षेत्र कोड और फ़ोन नंबर | +86.13800000000 |
| fax | संख्याओं को अलग करने के लिए "." का उपयोग करें (30) | +देश कोड.क्षेत्र कोड और फैक्स नंबर | +86.13800000000 |
| ईमेल पता | ईमेल पता | [email protected] | |
| contact_source | स्ट्रिंग (1-255) | Set to member to use आपका member profile instead of the supplied संपर्क विवरण. | member |
| document_type | स्ट्रिंग | Required fया HK डोमेनs. Common values: PASSNO (पासपोर्ट), OTHIDV (Other Individual दस्तावेज़ संख्या), OTHयाG (Other Organization दस्तावेज़ संख्या). | PASSNO |
| document_number | स्ट्रिंग (1-40 bytes) | Document number matching the selected type. Required fया HK डोमेनs. | E12345678 |
HK डोमेनs require both document fields, including when using contact_source=member. Other डोमेनs ignयाe them. Fया .com.hk, only BR is accepted.
प्रतिक्रिया पैरामीटर
| पैरामीटर नाम | प्रकार | विवरण |
|---|---|---|
| domain | स्ट्रिंग | domain name |
| created_date | तारीख | डोमेन पंजीकरण समय |
| expired_date | तारीख | डोमेन समाप्ति तिथि |
अनुरोध उदाहरण
{
curl https://api.nicenic.net/v2/?category=domain&action=register&domain={domain}&year={year}&dns1={dns1}&dns2={dns2}&organization={organization}&name={name}&country={country}&state={state}&city={city}&address={address}&postcode={postcode}&phone={phone}&fax={fax}&email={email}&contact_source={contact_source}
-H "Authorization: username:api_secret"
-H "Content-Type: application/json"
}
परिणाम लौटाएँ
{
"code": 0,
"msg" : "success",
"data" : {
"domain":"example.com",
"created_date":"2025-01-21",
"expired_date":"2026-01-21"
}
}
{
"code": 201,
"msg" : "Pending order, please wait for the order to be processed!"
}
}
नोट: code "201" means the registration याder was submitted successfully और the fee was deducted. Final डोमेन activation is still subject to registry confirmation. यदि the डोमेन cannot be activated, the registration fee will be refunded to आपका account balance within 24 hours.
{
"code": 400,
"msg" : "Request parameter error",
}






