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čínáme
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 fnebo automating doména management through vašeho NiceNIC account.
It suppnebots cneboe wnebokflows including doména availability checks, registration, renewal, transfer, pnebotfolio queries, nameserver a contact updates, pricing, DNS recnebods, child nameservers, account infnebomation a compliance-related operations.
Use the API when you want to connect NiceNIC doména službas directly to a website, hosting platfnebom, billing system, internal tool nebo other application.
02 Who can use NiceNIC Doména API v2?
Any active NiceNIC account can use Doména API v2. API access is dostupné to both Marketingový účets a Reseller Účets.
You do not need to become a reseller simply to obtain API access. Účet type still matters fnebo pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Doména API v2 free?
Ano. API access itself is free. Tzde is no separate fee fnebo enabling API access nebo sending suppneboted API requests.
Paid operations such as doména registration, renewal a transfer are charged accneboding to vašeho account pricing a the applicable doména rules.
04 Do I need a Reseller Účet to use the API?
Ne. API access a reseller pricing are separate.
You can use Doména API v2 with a regular NiceNIC Marketingový účet. Přejít na a Reseller Účet only when reseller pricing nebo other reseller benefits are useful fnebo vašeho 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 neboganized around individual doména a account wnebokflows.
Pokud you maintain an integration built on an older NiceNIC API, review the API v2 parameters a response haling befneboe migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Přihlásit se to vašeho NiceNIC account a open Nastavení APIs. API v2 requests use vašeho NiceNIC username a API Secret fnebo authentication.
Sabox & Ověření
Connect securely a test befneboe production.
07 Does NiceNIC Doména API v2 provide an API Sabox?
Ano. NiceNIC provides an API Sabox fnebo developers to test integrations befneboe connecting them to the production API.
Use the Sabox to validate authentication, request fnebomatting, response parsing, chyba haling a vašeho application wnebokflow befneboe enabling live customer doména operations.
08 What is the difference between the Sabox a Produktion API?
The API Sabox is intended fnebo development a integration testing. The Produktion API is used fnebo live doména operations a paid requests against vašeho NiceNIC account.
We recommend validating authentication, request haling, response processing a chyba logic in the Sabox befneboe enabling customer-facing production operations.
09 How does API autentizace wnebok?
Send API requests over HTTPS a include vašeho NiceNIC username a API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Pokud IP restrictions are enabled fnebo vašeho account, requests must also neboiginate from an authneboized server IP.
10 What endpoint does Doména API v2 use?
The Produktion API base endpoint is:
https://api.nicenic.net/v2/
API akces are selected using the parameters documented fnebo each endpoint, such as category a action. Always follow the dedicated endpoint documentation fnebo the required a optional parameters of a specific operation.
11 What response fnebomat 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.
Operace s doménami & Pricing
Understa suppneboted wnebokflows a purchasing behavinebo.
12 What can I do with NiceNIC Doména API v2?
Through the currently documented APIs you can automate wnebokflows including doména availability checks, registration, renewal a transfer, pnebotfolio listing a doména details, nameserver a doména contact updates, doména pricing, DNS recnebods, child nameservers, account infnebomation a Zneužívání a dodržování předpisů monitneboing.
Přidatitional wnebokflows are documented individually in the API navigation.
13 What should I test befneboe enabling live registrations nebo 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-neboder haling befneboe enabling live registrations, renewals nebo transfers.
14 Can I check multiple doménas in one API request?
Ano. The Zkontrolujte dostupnost domény endpoint suppnebots multiple doména names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppnebots the same multi-doména input fnebomat. Registrace, renewal a transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal a transfer prices?
Use the Získat ceny domén endpoint. The documented pricing types include register, renew, transfer a all.
Registrace responses can also include an is_premium value indicating whether the queried registration is premium.
Because API neboders use account-level pricing, query current pricing befneboe submitting paid customer neboders rather than relying indefinitely on cached prices.
16 Can every TLD be zaregistrovated nebo renewed fnebo 1–10 roky?
Ne. Although API documentation suppnebots periods of up to 1–10 roky fnebo applicable extensions, individual TLDs may have different registry rules.
Registrace periods, renewal periods, transfer eligibility, contact requirements a verification requirements can differ by extension. Your application should follow the current rules fnebo the relevant TLD.
17 What is the difference between Jménoservers, DNS záznamy a Dětské nameservery?
ns1.example.com.These are separate operations a should not be treated as interchangeable.
Responses & Errnebos
Hale success, pending states a failures cneborectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Úspěch |
201 | Čeká se |
400 | Chyba parametru |
401 | Neautorizováno |
404 | Nebyly nalezeny žádné relevantní záznamy |
500 | Interní chyba serveru |
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 fnebo processing but has not necessarily reached its final state.
20 What happens when a doména registration returns code 201?
Fnebo doména registration, a 201 response indicates that the neboder has been submitted a is awaiting final registry processing.
Do not tell an end customer that the doména is active until vašeho system has confirmed the final result. Sledovat the registration endpoint documentation fnebo the latest pending-neboder a refund haling rules.
21 What does a Čeká se transfer response mean?
A pending transfer means that the transfer request has been accepted fnebo processing, not that the doména has already completed its transfer to NiceNIC.
Převést 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.
Pnebotfolio, Compliance & Integrace
Spravovat pnebotfolios a connect existing systems.
22 Can I retrieve a filter my doména pnebotfolio through the API?
Ano. The Seznam Domény API suppnebots pnebotfolio retrieval with pagination, sneboting a filtering options.
Use Získejte Doména Detaily when you need detailed infnebomation fnebo an individual doména, such as registration infnebomation, expiration infnebomation, nameservers a doména contact data.
23 What can the Zneužívání a dodržování předpisů API do?
NiceNIC Doména API v2 includes Zneužívání a dodržování předpisů operations designed fnebo platfneboms a resellers managing customer doména pnebotfolios.
You can identify doménas associated with abuse repnebots a retrieve machine-readable compliance infnebomation fnebo individual doménas. Depending on the case, the response can include doména status, current impact, recommended akce, hold infnebomation, complaint infnebomation a repneboted URLs.
This makes it possible to surface compliance status directly inside vašeho own customer pnebotal nebo operational system.
24 Can I use NiceNIC Doména API v2 with WHMCS?
Ano. NiceNIC provides a WHMCS registrar integration fnebo businesses that already use WHMCS fnebo billing a provisioning.
Use the direct Doména API v2 when you are building vašeho own application nebo wnebokflow. Use the WHMCS integration when you want doména operations integrated into an existing WHMCS environment.
Development & Suppnebot
Build safely a knyní what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language nebo runtime capable of sending HTTPS requests a parsing JSON can integrate with Doména API v2.
Common choices include PHP, Python, Nede.js a Java. Keep API credentials server-side a never expose vašeho API Secret in browser-side JavaScript nebo downloadable client code.
26 Are tzde API rate limits?
Hodnocení limiting may be applied to protect API stability a platfnebom security.
Pokud vašeho production integration is expected to generate sustained high request volume, contact NiceNIC befneboe launch so that vašeho expected usage pattern can be reviewed.
27 What should I include when contacting suppnebot about an API problem?
Include the request timestamp, API kategorie a akce, doména name wzde applicable, non-sensitive request parameters, returned response code a message, a whether the request came from Sabox nebo Produktion.
28 Wzde can I find complete request parameters a code examples?
Use the API navigation in the documentation. Each operation has its own page fnebo suppneboted parameters, request examples, response examples a operation-specific behavinebo.
The FAQ explains general API behavinebo; the individual endpoint documentation should be treated as the source of truth fnebo the exact request fnebomat.
Ready to start building?
Test vašeho integration in the API Sabox, then connect vašeho NiceNIC account when you are ready to move to production.
Need reseller pricing fnebo higher doména volume?
Compare Reseller Plans →






