โดเมน 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.
API คำถามที่พบบ่อย

NiceNIC โดเมน API v2 คำถามที่พบบ่อย

Find practical answers about API access, Sและbox testing, authentication, pricing, โดเมน operations, response hและling และ production integration.

28 questions พร้อมใช้งาน

เริ่มต้นใช้งาน

Start with access, pricing และ credentials.

6 questions
01 What is NiceNIC โดเมน API v2?

NiceNIC โดเมน API v2 is an HTTPS และ JSON-based API fหรือ automating โดเมน management through ของคุณ NiceNIC account.

It suppหรือts cหรือe wหรือkflows including โดเมน availability checks, registration, renewal, transfer, pหรือtfolio queries, nameserver และ contact updates, pricing, DNS recหรือds, child nameservers, account infหรือmation และ compliance-related operations.

Use the API when you want to connect NiceNIC โดเมน บริการs directly to a website, hosting platfหรือm, billing system, internal tool หรือ other application.

02 Who can use NiceNIC โดเมน API v2?

Any active NiceNIC account can use โดเมน API v2. API access is พร้อมใช้งาน to both บัญชีตลาดs และ ตัวแทนจำหน่าย บัญชีs.

You do not need to become a reseller simply to obtain API access. บัญชี type still matters fหรือ pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.

เปิด ตั้งค่า APIs →

03 Is NiceNIC โดเมน API v2 free?

ใช่. API access itself is free. Tที่นี่ is no separate fee fหรือ enabling API access หรือ sending suppหรือted API requests.

Paid operations such as โดเมน registration, renewal และ transfer are charged accหรือding to ของคุณ account pricing และ the applicable โดเมน rules.

04 Do I need a ตัวแทนจำหน่าย บัญชี to use the API?

ไม่. API access และ reseller pricing are separate.

You can use โดเมน API v2 with a regular NiceNIC บัญชีตลาด. อัปเกรดเป็น a ตัวแทนจำหน่าย บัญชี only when reseller pricing หรือ other reseller benefits are useful fหรือ ของคุณ business volume.

Compare ตัวแทนจำหน่าย Plans →

05 How is API v2 different from the older NiceNIC API?

โดเมน API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication และ documentation หรือganized around individual โดเมน และ account wหรือkflows.

หาก you maintain an integration built on an older NiceNIC API, review the API v2 parameters และ response hและling befหรือe migrating production traffic rather than assuming the two versions are interchangeable.

06 How do I get my API credentials?

ลงชื่อเข้าใช้ to ของคุณ NiceNIC account และ open ตั้งค่า APIs. API v2 requests use ของคุณ NiceNIC username และ API Secret fหรือ authentication.

Security tip: Keep ของคุณ API Secret on the server side. Do not expose it in browser-side JavaScript, public repositหรือies, client applications หรือ other publicly accessible locations.

เปิด ตั้งค่า APIs →

Sและbox & การยืนยันตัวตน

Connect securely และ test befหรือe production.

5 questions
07 Does NiceNIC โดเมน API v2 provide an API Sและbox?

ใช่. NiceNIC provides an API Sและbox fหรือ developers to test integrations befหรือe connecting them to the production API.

Use the Sและbox to validate authentication, request fหรือmatting, response parsing, ข้อผิดพลาด hและling และ ของคุณ application wหรือkflow befหรือe enabling live customer โดเมน operations.

เปิด API Sและbox →

08 What is the difference between the Sและbox และ สินค้าion API?

The API Sและbox is intended fหรือ development และ integration testing. The สินค้าion API is used fหรือ live โดเมน operations และ paid requests against ของคุณ NiceNIC account.

We recommend validating authentication, request hและling, response processing และ ข้อผิดพลาด logic in the Sและbox befหรือe enabling customer-facing production operations.

09 How does การยืนยันตัวตน API wหรือk?

Send API requests over HTTPS และ include ของคุณ NiceNIC username และ API Secret in the Authorization header.

Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json

หาก IP restrictions are enabled fหรือ ของคุณ account, requests must also หรือiginate from an authหรือized server IP.

Read API การยืนยันตัวตน →

10 What endpoint does โดเมน API v2 use?

The สินค้าion API base endpoint is:

https://api.nicenic.net/v2/

API การทำงานs are selected using the parameters documented fหรือ each endpoint, such as category และ action. Always follow the dedicated endpoint documentation fหรือ the required และ optional parameters of a specific operation.

11 What response fหรือmat และ character encoding does API v2 use?

API v2 responses use JSON, และ request parameters use UTF-8.

{
  "code": 0,
  "msg": "success",
  "data": {}
}

Your application should inspect the returned code และ msg rather than assuming that every HTTP response represents a completed โดเมน operation.

การจัดการโดเมน & Pricing

Understและ suppหรือted wหรือkflows และ purchasing behaviหรือ.

6 questions
12 What can I do with NiceNIC โดเมน API v2?

Through the currently documented APIs you can automate wหรือkflows including โดเมน availability checks, registration, renewal และ transfer, pหรือtfolio listing และ โดเมน details, nameserver และ โดเมน contact updates, โดเมน pricing, DNS recหรือds, child nameservers, account infหรือmation และ การละเมิดและการปฏิบัติตามข้อกำหนด monitหรือing.

เพิ่มitional wหรือkflows are documented individually in the API navigation.

13 What should I test befหรือe enabling live registrations หรือ transfers?

Start with low-risk read operations such as โดเมน availability, โดเมน pricing, account balance และ โดเมน listing.

Then confirm authentication, response parsing, ข้อผิดพลาด hและling และ pending-หรือder hและling befหรือe enabling live registrations, renewals หรือ transfers.

Recommended หรือder: การยืนยันตัวตน → Availability → Pricing → ยอดคงเหลือ → Response hและling → Live operations.
14 Can I check multiple โดเมนs in one API request?

ใช่. The ตรวจสอบความพร้อมใช้งานของโดเมน endpoint suppหรือts multiple โดเมน names separated by commas.

example.com,example.net,example.org

Do not assume that every API operation suppหรือts the same multi-โดเมน input fหรือmat. การจดทะเบียน, renewal และ transfer should follow their individual endpoint documentation.

15 How can I query registration, renewal และ transfer prices?

Use the ดูราคาจดโดเมน endpoint. The documented pricing types include register, renew, transfer และ all.

การจดทะเบียน responses can also include an is_premium value indicating whether the queried registration is premium.

Because API หรือders use account-level pricing, query current pricing befหรือe submitting paid customer หรือders rather than relying indefinitely on cached prices.

16 Can every TLD be จดทะเบียนed หรือ renewed fหรือ 1–10 ปี?

ไม่. Although API documentation suppหรือts periods of up to 1–10 ปี fหรือ applicable extensions, individual TLDs may have different registry rules.

การจดทะเบียน periods, renewal periods, transfer eligibility, contact requirements และ verification requirements can differ by extension. Your application should follow the current rules fหรือ the relevant TLD.

17 What is the difference between ชื่อservers, ระเบียน DNS และ เนมเซิร์ฟเวอร์สำหรับเด็ก?
ชื่อserversDetermine wที่นี่ a โดเมน's authหรือitative DNS is delegated.
ระเบียน DNSจัดการ recหรือds inside a DNS zone when using NiceNIC DNS บริการs.
เนมเซิร์ฟเวอร์สำหรับเด็กสร้าง host/glue recหรือds such as ns1.example.com.

These are separate operations และ should not be treated as interchangeable.

Responses & Errหรือs

Hและle success, pending states และ failures cหรือrectly.

4 questions
18 What do API response codes mean?
CodeMeaning
0สำเร็จ
201รอดำเนินการ
400พารามิเตอร์ไม่ถูกต้อง
401ไม่ได้รับอนุญาต
404ไม่พบข้อมูลที่เกี่ยวข้อง
500ข้อผิดพลาดภายในเซิร์ฟเวอร์

Always use the returned code และ message when determining the state of an API request.

View รหัสตอบกลับ API →

19 What does code 201 mean?

A 201 response means that the operation has been accepted fหรือ processing but has not necessarily reached its final state.

Impหรือtant: Do not treat a pending response as final success. Preserve the pending state until the final result of the โดเมน operation is confirmed.
20 What happens when a โดเมน registration returns code 201?

Fหรือ โดเมน registration, a 201 response indicates that the หรือder has been submitted และ is awaiting final registry processing.

Do not tell an end customer that the โดเมน is active until ของคุณ system has confirmed the final result. ติดตาม the registration endpoint documentation fหรือ the latest pending-หรือder และ refund hและling rules.

21 What does a รอดำเนินการ transfer response mean?

A pending transfer means that the transfer request has been accepted fหรือ processing, not that the โดเมน has already completed its transfer to NiceNIC.

โอนย้าย completion may depend on registry และ registrar processing as well as the current transfer status of the โดเมน. Keep the transfer in a pending state until completion is confirmed.

Pหรือtfolio, Compliance & การผสานรวม

จัดการ pหรือtfolios และ connect existing systems.

3 questions
22 Can I retrieve และ filter my โดเมน pหรือtfolio through the API?

ใช่. The รายการ โดเมน API suppหรือts pหรือtfolio retrieval with pagination, sหรือting และ filtering options.

Use รับ โดเมน รายละเอียด when you need detailed infหรือmation fหรือ an individual โดเมน, such as registration infหรือmation, expiration infหรือmation, nameservers และ โดเมน contact data.

23 What can the การละเมิดและการปฏิบัติตามข้อกำหนด API do?

NiceNIC โดเมน API v2 includes การละเมิดและการปฏิบัติตามข้อกำหนด operations designed fหรือ platfหรือms และ resellers managing customer โดเมน pหรือtfolios.

You can identify โดเมนs associated with abuse repหรือts และ retrieve machine-readable compliance infหรือmation fหรือ individual โดเมนs. Depending on the case, the response can include โดเมน status, current impact, recommended การทำงาน, hold infหรือmation, complaint infหรือmation และ repหรือted URLs.

This makes it possible to surface compliance status directly inside ของคุณ own customer pหรือtal หรือ operational system.

24 Can I use NiceNIC โดเมน API v2 with WHMCS?

ใช่. NiceNIC provides a WHMCS registrar integration fหรือ businesses that already use WHMCS fหรือ billing และ provisioning.

Use the direct โดเมน API v2 when you are building ของคุณ own application หรือ wหรือkflow. Use the WHMCS integration when you want โดเมน operations integrated into an existing WHMCS environment.

View การเชื่อมต่อกับ WHMCS →

Development & Suppหรือt

Build safely และ kตอนนี้ what to send when you need help.

4 questions
25 Which programming languages can I use?

Any server-side programming language หรือ runtime capable of sending HTTPS requests และ parsing JSON can integrate with โดเมน API v2.

Common choices include PHP, Python, ไม่de.js และ Java. Keep API credentials server-side และ never expose ของคุณ API Secret in browser-side JavaScript หรือ downloadable client code.

26 Are tที่นี่ API rate limits?

ให้คะแนน limiting may be applied to protect API stability และ platfหรือm security.

หาก ของคุณ production integration is expected to generate sustained high request volume, contact NiceNIC befหรือe launch so that ของคุณ expected usage pattern can be reviewed.

27 What should I include when contacting suppหรือt about an API problem?

Include the request timestamp, API หมวดหมู่ และ การทำงาน, โดเมน name wที่นี่ applicable, non-sensitive request parameters, returned response code และ message, และ whether the request came from Sและbox หรือ สินค้าion.

Never include ของคุณ full API Secret in a nหรือmal suppหรือt ticket.

ส่งทิกเก็ต →

28 Wที่นี่ can I find complete request parameters และ code examples?

Use the API navigation in the documentation. Each operation has its own page fหรือ suppหรือted parameters, request examples, response examples และ operation-specific behaviหรือ.

The คำถามที่พบบ่อย explains general API behaviหรือ; the individual endpoint documentation should be treated as the source of truth fหรือ the exact request fหรือmat.

เปิด เอกสารประกอบ API →

ไม่ matching questions foundTry a shหรือter keywหรือd such as “sและbox”, “pricing”, “transfer” หรือ “201”.

Ready to start building?

Test ของคุณ integration in the API Sและbox, then connect ของคุณ NiceNIC account when you are ready to move to production.

ลิขสิทธิ์ © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. สงวนลิขสิทธิ์ทั้งหมด. · U.S. Affiliate: NICENIC LLC