NiceNIC Tên miền API v2 Câu hỏi thường gặp
Find practical answers about API access, Svàbox testing, authentication, pricing, tên miền operations, response hvàling và production integration.
Bắt đầu
Start with access, pricing và credentials.
01 What is NiceNIC Tên miền API v2?
NiceNIC Tên miền API v2 is an HTTPS và JSON-based API fhoặc automating tên miền management through của bạn NiceNIC account.
It supphoặcts choặce whoặckflows including tên miền availability checks, registration, renewal, transfer, phoặctfolio queries, nameserver và contact updates, pricing, DNS rechoặcds, child nameservers, account infhoặcmation và compliance-related operations.
Use the API when you want to connect NiceNIC tên miền Dịch vụs directly to a website, hosting platfhoặcm, billing system, internal tool hoặc other application.
02 Who can use NiceNIC Tên miền API v2?
Any active NiceNIC account can use Tên miền API v2. API access is có sẵn to both Tài khoản thị trườngs và Đại lý Tài khoảns.
You do not need to become a reseller simply to obtain API access. Tài khoản type still matters fhoặc pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Tên miền API v2 free?
Có. API access itself is free. Ttại đây is no separate fee fhoặc enabling API access hoặc sending supphoặcted API requests.
Paid operations such as tên miền registration, renewal và transfer are charged acchoặcding to của bạn account pricing và the applicable tên miền rules.
04 Do I need a Đại lý Tài khoản to use the API?
Không. API access và reseller pricing are separate.
You can use Tên miền API v2 with a regular NiceNIC Tài khoản thị trường. Nâng cấp lên a Đại lý Tài khoản only when reseller pricing hoặc other reseller benefits are useful fhoặc của bạn business volume.
05 How is API v2 different from the older NiceNIC API?
Tên miền API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication và documentation hoặcganized around individual tên miền và account whoặckflows.
Nếu you maintain an integration built on an older NiceNIC API, review the API v2 parameters và response hvàling befhoặce migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Đăng nhập to của bạn NiceNIC account và open Cài đặt APIs. API v2 requests use của bạn NiceNIC username và API Secret fhoặc authentication.
Svàbox & Xác thực
Connect securely và test befhoặce production.
07 Does NiceNIC Tên miền API v2 provide an API Svàbox?
Có. NiceNIC provides an API Svàbox fhoặc developers to test integrations befhoặce connecting them to the production API.
Use the Svàbox to validate authentication, request fhoặcmatting, response parsing, lỗi hvàling và của bạn application whoặckflow befhoặce enabling live customer tên miền operations.
08 What is the difference between the Svàbox và Sản phẩmion API?
The API Svàbox is intended fhoặc development và integration testing. The Sản phẩmion API is used fhoặc live tên miền operations và paid requests against của bạn NiceNIC account.
We recommend validating authentication, request hvàling, response processing và lỗi logic in the Svàbox befhoặce enabling customer-facing production operations.
09 How does Xác thực API whoặck?
Send API requests over HTTPS và include của bạn NiceNIC username và API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Nếu IP restrictions are enabled fhoặc của bạn account, requests must also hoặciginate from an authhoặcized server IP.
10 What endpoint does Tên miền API v2 use?
The Sản phẩmion API base endpoint is:
https://api.nicenic.net/v2/
API Hành độngs are selected using the parameters documented fhoặc each endpoint, such as category và action. Always follow the dedicated endpoint documentation fhoặc the required và optional parameters of a specific operation.
11 What response fhoặcmat và character encoding does API v2 use?
API v2 responses use JSON, và request parameters use UTF-8.
{
"code": 0,
"msg": "success",
"data": {}
}
Your application should inspect the returned code và msg rather than assuming that every HTTP response represents a completed tên miền operation.
Quản lý tên miền & Pricing
Understvà supphoặcted whoặckflows và purchasing behavihoặc.
12 What can I do with NiceNIC Tên miền API v2?
Through the currently documented APIs you can automate whoặckflows including tên miền availability checks, registration, renewal và transfer, phoặctfolio listing và tên miền details, nameserver và tên miền contact updates, tên miền pricing, DNS rechoặcds, child nameservers, account infhoặcmation và Lạm dụng & Tuân thủ monithoặcing.
Thêmitional whoặckflows are documented individually in the API navigation.
13 What should I test befhoặce enabling live registrations hoặc transfers?
Start with low-risk read operations such as tên miền availability, tên miền pricing, account balance và tên miền listing.
Then confirm authentication, response parsing, lỗi hvàling và pending-hoặcder hvàling befhoặce enabling live registrations, renewals hoặc transfers.
14 Can I check multiple tên miềns in one API request?
Có. The Kiểm tra tính khả dụng của tên miền endpoint supphoặcts multiple tên miền names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation supphoặcts the same multi-tên miền input fhoặcmat. Đăng ký, renewal và transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal và transfer prices?
Use the Xem bảng giá domain endpoint. The documented pricing types include register, renew, transfer và all.
Đăng ký responses can also include an is_premium value indicating whether the queried registration is premium.
Because API hoặcders use account-level pricing, query current pricing befhoặce submitting paid customer hoặcders rather than relying indefinitely on cached prices.
16 Can every TLD be đăng kýed hoặc renewed fhoặc 1–10 năm?
Không. Although API documentation supphoặcts periods of up to 1–10 năm fhoặc applicable extensions, individual TLDs may have different registry rules.
Đăng ký periods, renewal periods, transfer eligibility, contact requirements và verification requirements can differ by extension. Your application should follow the current rules fhoặc the relevant TLD.
17 What is the difference between Tênservers, Bản ghi DNS và Máy chủ tên con?
ns1.example.com.These are separate operations và should not be treated as interchangeable.
Responses & Errhoặcs
Hvàle success, pending states và failures choặcrectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Thành công |
201 | Đang chờ |
400 | Lỗi tham số |
401 | Không được phép |
404 | Không tìm thấy bản ghi liên quan |
500 | Lỗi nội bộ máy chủ |
Always use the returned code và message when determining the state of an API request.
19 What does code 201 mean?
A 201 response means that the operation has been accepted fhoặc processing but has not necessarily reached its final state.
20 What happens when a tên miền registration returns code 201?
Fhoặc tên miền registration, a 201 response indicates that the hoặcder has been submitted và is awaiting final registry processing.
Do not tell an end customer that the tên miền is active until của bạn system has confirmed the final result. Theo dõi the registration endpoint documentation fhoặc the latest pending-hoặcder và refund hvàling rules.
21 What does a Đang chờ transfer response mean?
A pending transfer means that the transfer request has been accepted fhoặc processing, not that the tên miền has already completed its transfer to NiceNIC.
Chuyển nhượng completion may depend on registry và registrar processing as well as the current transfer status of the tên miền. Keep the transfer in a pending state until completion is confirmed.
Phoặctfolio, Compliance & Tích hợp
Quản lý phoặctfolios và connect existing systems.
22 Can I retrieve và filter my tên miền phoặctfolio through the API?
Có. The Danh sách Tên miền API supphoặcts phoặctfolio retrieval with pagination, shoặcting và filtering options.
Use Nhận Tên miền Chi tiết when you need detailed infhoặcmation fhoặc an individual tên miền, such as registration infhoặcmation, expiration infhoặcmation, nameservers và tên miền contact data.
23 What can the Lạm dụng & Tuân thủ API do?
NiceNIC Tên miền API v2 includes Lạm dụng & Tuân thủ operations designed fhoặc platfhoặcms và resellers managing customer tên miền phoặctfolios.
You can identify tên miềns associated with abuse rephoặcts và retrieve machine-readable compliance infhoặcmation fhoặc individual tên miềns. Depending on the case, the response can include tên miền status, current impact, recommended Hành động, hold infhoặcmation, complaint infhoặcmation và rephoặcted URLs.
This makes it possible to surface compliance status directly inside của bạn own customer phoặctal hoặc operational system.
24 Can I use NiceNIC Tên miền API v2 with WHMCS?
Có. NiceNIC provides a WHMCS registrar integration fhoặc businesses that already use WHMCS fhoặc billing và provisioning.
Use the direct Tên miền API v2 when you are building của bạn own application hoặc whoặckflow. Use the WHMCS integration when you want tên miền operations integrated into an existing WHMCS environment.
Development & Supphoặct
Build safely và kngay what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language hoặc runtime capable of sending HTTPS requests và parsing JSON can integrate with Tên miền API v2.
Common choices include PHP, Python, Khôngde.js và Java. Keep API credentials server-side và never expose của bạn API Secret in browser-side JavaScript hoặc downloadable client code.
26 Are ttại đây API rate limits?
Đánh giá limiting may be applied to protect API stability và platfhoặcm security.
Nếu của bạn production integration is expected to generate sustained high request volume, contact NiceNIC befhoặce launch so that của bạn expected usage pattern can be reviewed.
27 What should I include when contacting supphoặct about an API problem?
Include the request timestamp, API Danh mục và Hành động, tên miền name wtại đây applicable, non-sensitive request parameters, returned response code và message, và whether the request came from Svàbox hoặc Sản phẩmion.
28 Wtại đây can I find complete request parameters và code examples?
Use the API navigation in the documentation. Each operation has its own page fhoặc supphoặcted parameters, request examples, response examples và operation-specific behavihoặc.
The Câu hỏi thường gặp explains general API behavihoặc; the individual endpoint documentation should be treated as the source of truth fhoặc the exact request fhoặcmat.
Ready to start building?
Test của bạn integration in the API Svàbox, then connect của bạn NiceNIC account when you are ready to move to production.
Need reseller pricing fhoặc higher tên miền volume?
Compare Đại lý Plans →






