NiceNIC Doména API v2 Často kladené otázky
Find practical answers about API access, Sabox testing, authentication, pricing, doména operations, response haling a production integration.
Začíname
Start with access, pricing a credentials.
01 What is NiceNIC Doména API v2?
NiceNIC Doména API v2 is an HTTPS a JSON-based API falebo automating doména management through vaše NiceNIC account.
It suppalebots caleboe walebokflows including doména availability checks, registration, renewal, transfer, palebotfolio queries, nameserver a contact updates, pricing, DNS recalebods, child nameservers, account infalebomation a compliance-related operations.
Use the API when you want to connect NiceNIC doména službas directly to a website, hosting platfalebom, billing system, internal tool alebo other application.
02 Who can use NiceNIC Doména API v2?
Any active NiceNIC account can use Doména API v2. API access is k dispozícii to both Trhový účets a Distribútor Účets.
You do not need to become a reseller simply to obtain API access. Účet type still matters falebo pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Doména API v2 free?
Áno. API access itself is free. Ttu is no separate fee falebo enabling API access alebo sending suppaleboted API requests.
Paid operations such as doména registration, renewal a transfer are charged accaleboding to vaše account pricing a the applicable doména rules.
04 Do I need a Distribútor Účet to use the API?
Nie. API access a reseller pricing are separate.
You can use Doména API v2 with a regular NiceNIC Trhový účet. Prejsť na a Distribútor Účet only when reseller pricing alebo other reseller benefits are useful falebo vaše business volume.
05 How is API v2 different from the older NiceNIC API?
Doména API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication a documentation aleboganized around individual doména a account walebokflows.
Ak you maintain an integration built on an older NiceNIC API, review the API v2 parameters a response haling befaleboe migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Prihlásiť sa to vaše NiceNIC account a open Nastavenie APIs. API v2 requests use vaše NiceNIC username a API Secret falebo authentication.
Sabox & Overenie
Connect securely a test befaleboe production.
07 Does NiceNIC Doména API v2 provide an API Sabox?
Áno. NiceNIC provides an API Sabox falebo developers to test integrations befaleboe connecting them to the production API.
Use the Sabox to validate authentication, request falebomatting, response parsing, chyba haling a vaše application walebokflow befaleboe enabling live customer doména operations.
08 What is the difference between the Sabox a Produktion API?
The API Sabox is intended falebo development a integration testing. The Produktion API is used falebo live doména operations a paid requests against vaše NiceNIC account.
We recommend validating authentication, request haling, response processing a chyba logic in the Sabox befaleboe enabling customer-facing production operations.
09 How does API autentifikácia walebok?
Send API requests over HTTPS a include vaše NiceNIC username a API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Ak IP restrictions are enabled falebo vaše account, requests must also aleboiginate from an authaleboized server IP.
10 What endpoint does Doména API v2 use?
The Produktion API base endpoint is:
https://api.nicenic.net/v2/
API akcias are selected using the parameters documented falebo each endpoint, such as category a action. Always follow the dedicated endpoint documentation falebo the required a optional parameters of a specific operation.
11 What response falebomat a character encoding does API v2 use?
API v2 responses use JSON, a request parameters use UTF-8.
{
"code": 0,
"msg": "success",
"data": {}
}
Your application should inspect the returned code a msg rather than assuming that every HTTP response represents a completed doména operation.
Operácie s doménami & Pricing
Understa suppaleboted walebokflows a purchasing behavialebo.
12 What can I do with NiceNIC Doména API v2?
Through the currently documented APIs you can automate walebokflows including doména availability checks, registration, renewal a transfer, palebotfolio listing a doména details, nameserver a doména contact updates, doména pricing, DNS recalebods, child nameservers, account infalebomation a Zneužívanie a súlad monitaleboing.
Pridaťitional walebokflows are documented individually in the API navigation.
13 What should I test befaleboe enabling live registrations alebo transfers?
Start with low-risk read operations such as doména availability, doména pricing, account balance a doména listing.
Then confirm authentication, response parsing, chyba haling a pending-aleboder haling befaleboe enabling live registrations, renewals alebo transfers.
14 Can I check multiple doménas in one API request?
Áno. The Skontrolujte dostupnosť domény endpoint suppalebots multiple doména names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppalebots the same multi-doména input falebomat. Registrácia, renewal a transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal a transfer prices?
Use the Získať cenu domény endpoint. The documented pricing types include register, renew, transfer a all.
Registrácia responses can also include an is_premium value indicating whether the queried registration is premium.
Because API aleboders use account-level pricing, query current pricing befaleboe submitting paid customer aleboders rather than relying indefinitely on cached prices.
16 Can every TLD be registrovaťed alebo renewed falebo 1–10 roky?
Nie. Although API documentation suppalebots periods of up to 1–10 roky falebo applicable extensions, individual TLDs may have different registry rules.
Registrácia periods, renewal periods, transfer eligibility, contact requirements a verification requirements can differ by extension. Your application should follow the current rules falebo the relevant TLD.
17 What is the difference between Menoservers, Záznamy DNS a Detské menné servery?
ns1.example.com.These are separate operations a should not be treated as interchangeable.
Responses & Erralebos
Hale success, pending states a failures caleborectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Úspech |
201 | Čaká sa |
400 | Chyba parametrov |
401 | Neoprávnené |
404 | Nenašli sa žiadne relevantné záznamy |
500 | Interná chyba servera |
Always use the returned code a 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 falebo processing but has not necessarily reached its final state.
20 What happens when a doména registration returns code 201?
Falebo doména registration, a 201 response indicates that the aleboder has been submitted a is awaiting final registry processing.
Do not tell an end customer that the doména is active until vaše system has confirmed the final result. Sledujte nás the registration endpoint documentation falebo the latest pending-aleboder a refund haling rules.
21 What does a Čaká sa transfer response mean?
A pending transfer means that the transfer request has been accepted falebo processing, not that the doména has already completed its transfer to NiceNIC.
Preniesť completion may depend on registry a registrar processing as well as the current transfer status of the doména. Keep the transfer in a pending state until completion is confirmed.
Palebotfolio, Compliance & Integrácia
Spravovať palebotfolios a connect existing systems.
22 Can I retrieve a filter my doména palebotfolio through the API?
Áno. The Zoznam Domény API suppalebots palebotfolio retrieval with pagination, saleboting a filtering options.
Use Získať Doména Podrobnosti when you need detailed infalebomation falebo an individual doména, such as registration infalebomation, expiration infalebomation, nameservers a doména contact data.
23 What can the Zneužívanie a súlad API do?
NiceNIC Doména API v2 includes Zneužívanie a súlad operations designed falebo platfaleboms a resellers managing customer doména palebotfolios.
You can identify doménas associated with abuse repalebots a retrieve machine-readable compliance infalebomation falebo individual doménas. Depending on the case, the response can include doména status, current impact, recommended akcia, hold infalebomation, complaint infalebomation a repaleboted URLs.
This makes it possible to surface compliance status directly inside vaše own customer palebotal alebo operational system.
24 Can I use NiceNIC Doména API v2 with WHMCS?
Áno. NiceNIC provides a WHMCS registrar integration falebo businesses that already use WHMCS falebo billing a provisioning.
Use the direct Doména API v2 when you are building vaše own application alebo walebokflow. Use the WHMCS integration when you want doména operations integrated into an existing WHMCS environment.
Development & Suppalebot
Build safely a kteraz what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language alebo runtime capable of sending HTTPS requests a parsing JSON can integrate with Doména API v2.
Common choices include PHP, Python, Niede.js a Java. Keep API credentials server-side a never expose vaše API Secret in browser-side JavaScript alebo downloadable client code.
26 Are ttu API rate limits?
Ohodnotiť limiting may be applied to protect API stability a platfalebom security.
Ak vaše production integration is expected to generate sustained high request volume, contact NiceNIC befaleboe launch so that vaše expected usage pattern can be reviewed.
27 What should I include when contacting suppalebot about an API problem?
Include the request timestamp, API kategória a akcia, doména name wtu applicable, non-sensitive request parameters, returned response code a message, a whether the request came from Sabox alebo Produktion.
28 Wtu can I find complete request parameters a code examples?
Use the API navigation in the documentation. Each operation has its own page falebo suppaleboted parameters, request examples, response examples a operation-specific behavialebo.
The Často kladené otázky explains general API behavialebo; the individual endpoint documentation should be treated as the source of truth falebo the exact request falebomat.
Ready to start building?
Test vaše integration in the API Sabox, then connect vaše NiceNIC account when you are ready to move to production.
Need reseller pricing falebo higher doména volume?
Compare Distribútor Plans →






