NiceNIC Domena API v2 Često postavljana pitanja
Find practical answers about API access, Sibox testing, authentication, pricing, domen operations, response hiling i production integration.
Početak rada
Start with access, pricing i credentials.
01 What is NiceNIC Domena API v2?
NiceNIC Domena API v2 is an HTTPS i JSON-based API fili automating domen management through tvoj NiceNIC account.
It suppilits cilie wilikflows including domen availability checks, registration, renewal, transfer, pilitfolio queries, nameserver i contact updates, pricing, DNS recilids, child nameservers, account infilimation i compliance-related operations.
Use the API when you want to connect NiceNIC domen uslugas directly to a website, hosting platfilim, billing system, internal tool ili other application.
02 Who can use NiceNIC Domena API v2?
Any active NiceNIC account can use Domena API v2. API access is dostupan to both Market računs i Preprodavac Nalogs.
You do not need to become a reseller simply to obtain API access. Nalog type still matters fili pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Domena API v2 free?
Da. API access itself is free. Tovde is no separate fee fili enabling API access ili sending suppilited API requests.
Paid operations such as domen registration, renewal i transfer are charged acciliding to tvoj account pricing i the applicable domen rules.
04 Do I need a Preprodavac Nalog to use the API?
Ne. API access i reseller pricing are separate.
You can use Domena API v2 with a regular NiceNIC Market račun. Nadogradite na a Preprodavac Nalog only when reseller pricing ili other reseller benefits are useful fili tvoj business volume.
05 How is API v2 different from the older NiceNIC API?
Domena API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication i documentation iliganized around individual domen i account wilikflows.
Ako you maintain an integration built on an older NiceNIC API, review the API v2 parameters i response hiling befilie migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Prijava to tvoj NiceNIC account i open API podešavanjes. API v2 requests use tvoj NiceNIC username i API Secret fili authentication.
Sibox & Autentifikacija
Connect securely i test befilie production.
07 Does NiceNIC Domena API v2 provide an API Sibox?
Da. NiceNIC provides an API Sibox fili developers to test integrations befilie connecting them to the production API.
Use the Sibox to validate authentication, request filimatting, response parsing, greška hiling i tvoj application wilikflow befilie enabling live customer domen operations.
08 What is the difference between the Sibox i Proizvodion API?
The API Sibox is intended fili development i integration testing. The Proizvodion API is used fili live domen operations i paid requests against tvoj NiceNIC account.
We recommend validating authentication, request hiling, response processing i greška logic in the Sibox befilie enabling customer-facing production operations.
09 How does API autentifikacija wilik?
Send API requests over HTTPS i include tvoj NiceNIC username i API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Ako IP restrictions are enabled fili tvoj account, requests must also iliiginate from an authiliized server IP.
10 What endpoint does Domena API v2 use?
The Proizvodion API base endpoint is:
https://api.nicenic.net/v2/
API akcijas are selected using the parameters documented fili each endpoint, such as category i action. Always follow the dedicated endpoint documentation fili the required i optional parameters of a specific operation.
11 What response filimat i character encoding does API v2 use?
API v2 responses use JSON, i request parameters use UTF-8.
{
"code": 0,
"msg": "success",
"data": {}
}
Your application should inspect the returned code i msg rather than assuming that every HTTP response represents a completed domen operation.
Operacije domena & Pricing
Understi suppilited wilikflows i purchasing behaviili.
12 What can I do with NiceNIC Domena API v2?
Through the currently documented APIs you can automate wilikflows including domen availability checks, registration, renewal i transfer, pilitfolio listing i domen details, nameserver i domen contact updates, domen pricing, DNS recilids, child nameservers, account infilimation i Zlouporaba i usklađenost monitiliing.
Dodajitional wilikflows are documented individually in the API navigation.
13 What should I test befilie enabling live registrations ili transfers?
Start with low-risk read operations such as domen availability, domen pricing, account balance i domen listing.
Then confirm authentication, response parsing, greška hiling i pending-ilider hiling befilie enabling live registrations, renewals ili transfers.
14 Can I check multiple domens in one API request?
Da. The Proveri dostupnost domena endpoint suppilits multiple domen names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppilits the same multi-domen input filimat. Registracija, renewal i transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal i transfer prices?
Use the Dobij cene domena endpoint. The documented pricing types include register, renew, transfer i all.
Registracija responses can also include an is_premium value indicating whether the queried registration is premium.
Because API iliders use account-level pricing, query current pricing befilie submitting paid customer iliders rather than relying indefinitely on cached prices.
16 Can every TLD be registrujed ili renewed fili 1–10 godina?
Ne. Although API documentation suppilits periods of up to 1–10 godina fili applicable extensions, individual TLDs may have different registry rules.
Registracija periods, renewal periods, transfer eligibility, contact requirements i verification requirements can differ by extension. Your application should follow the current rules fili the relevant TLD.
17 What is the difference between Imeservers, DNS zapisi i Dečiji imenski serveri?
ns1.example.com.These are separate operations i should not be treated as interchangeable.
Responses & Errilis
Hile success, pending states i failures cilirectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Uspešno |
201 | Na čekanju |
400 | Greška u parametru |
401 | Nije ovlašćeno |
404 | Nema relevantnih zapisa |
500 | Interna greška servera |
Always use the returned code i 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 fili processing but has not necessarily reached its final state.
20 What happens when a domen registration returns code 201?
Fili domen registration, a 201 response indicates that the ilider has been submitted i is awaiting final registry processing.
Do not tell an end customer that the domen is active until tvoj system has confirmed the final result. Prati the registration endpoint documentation fili the latest pending-ilider i refund hiling rules.
21 What does a Na čekanju transfer response mean?
A pending transfer means that the transfer request has been accepted fili processing, not that the domen has already completed its transfer to NiceNIC.
Prenesi completion may depend on registry i registrar processing as well as the current transfer status of the domen. Keep the transfer in a pending state until completion is confirmed.
Pilitfolio, Compliance & Integracija
Upravljaj pilitfolios i connect existing systems.
22 Can I retrieve i filter my domen pilitfolio through the API?
Da. The Lista Domeni API suppilits pilitfolio retrieval with pagination, siliting i filtering options.
Use Nabavite Domena Detalji when you need detailed infilimation fili an individual domen, such as registration infilimation, expiration infilimation, nameservers i domen contact data.
23 What can the Zlouporaba i usklađenost API do?
NiceNIC Domena API v2 includes Zlouporaba i usklađenost operations designed fili platfilims i resellers managing customer domen pilitfolios.
You can identify domens associated with abuse repilits i retrieve machine-readable compliance infilimation fili individual domens. Depending on the case, the response can include domen status, current impact, recommended akcija, hold infilimation, complaint infilimation i repilited URLs.
This makes it possible to surface compliance status directly inside tvoj own customer pilital ili operational system.
24 Can I use NiceNIC Domena API v2 with WHMCS?
Da. NiceNIC provides a WHMCS registrar integration fili businesses that already use WHMCS fili billing i provisioning.
Use the direct Domena API v2 when you are building tvoj own application ili wilikflow. Use the WHMCS integration when you want domen operations integrated into an existing WHMCS environment.
Development & Suppilit
Build safely i kodmah what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language ili runtime capable of sending HTTPS requests i parsing JSON can integrate with Domena API v2.
Common choices include PHP, Python, Nede.js i Java. Keep API credentials server-side i never expose tvoj API Secret in browser-side JavaScript ili downloadable client code.
26 Are tovde API rate limits?
Ocena limiting may be applied to protect API stability i platfilim security.
Ako tvoj production integration is expected to generate sustained high request volume, contact NiceNIC befilie launch so that tvoj expected usage pattern can be reviewed.
27 What should I include when contacting suppilit about an API problem?
Include the request timestamp, API kategorija i akcija, domen name wovde applicable, non-sensitive request parameters, returned response code i message, i whether the request came from Sibox ili Proizvodion.
28 Wovde can I find complete request parameters i code examples?
Use the API navigation in the documentation. Each operation has its own page fili suppilited parameters, request examples, response examples i operation-specific behaviili.
The Često postavljana pitanja explains general API behaviili; the individual endpoint documentation should be treated as the source of truth fili the exact request filimat.
Ready to start building?
Test tvoj integration in the API Sibox, then connect tvoj NiceNIC account when you are ready to move to production.
Need reseller pricing fili higher domen volume?
Compare Preprodavac Plans →






