NiceNIC Domena API v2 Često postavljana pitanja
Find practical answers about API access, Sibox testing, authentication, pricing, domena 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 domena management through vaš NiceNIC account.
It suppilits cilie wilikflows including domena 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 domena 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 dostupno to both Market računs i Preprodavač Računs.
You do not need to become a reseller simply to obtain API access. Račun 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. Tovdje is no separate fee fili enabling API access ili sending suppilited API requests.
Paid operations such as domena registration, renewal i transfer are charged acciliding to vaš account pricing i the applicable domena rules.
04 Do I need a Preprodavač Račun 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. Nadogradi na a Preprodavač Račun only when reseller pricing ili other reseller benefits are useful fili vaš 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 domena 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 vaš NiceNIC account i open API postavkes. API v2 requests use vaš NiceNIC username i API Secret fili authentication.
Sibox & Potvrda identiteta
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, pogreška hiling i vaš application wilikflow befilie enabling live customer domena 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 domena operations i paid requests against vaš NiceNIC account.
We recommend validating authentication, request hiling, response processing i pogreška logic in the Sibox befilie enabling customer-facing production operations.
09 How does API autentifikacija wilik?
Send API requests over HTTPS i include vaš 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 vaš 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 domena operation.
Radnje s domenama & 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 domena availability checks, registration, renewal i transfer, pilitfolio listing i domena details, nameserver i domena contact updates, domena 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 domena availability, domena pricing, account balance i domena listing.
Then confirm authentication, response parsing, pogreška hiling i pending-ilider hiling befilie enabling live registrations, renewals ili transfers.
14 Can I check multiple domenas in one API request?
Da. The Provjeri dostupnost domene endpoint suppilits multiple domena names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppilits the same multi-domena input filimat. Registracija, renewal i transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal i transfer prices?
Use the Dohvati cijene 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 registrirajed ili renewed fili 1–10 godine?
Ne. Although API documentation suppilits periods of up to 1–10 godine 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 Nazivservers, DNS zapisi i Dječji poslužitelji imena?
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 | Uspjeh |
201 | Na čekanju |
400 | Pogreška parametra |
401 | Neovlašteno |
404 | Nema odgovarajućih zapisa |
500 | Interna pogreška poslužitelja |
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 domena registration returns code 201?
Fili domena 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 domena is active until vaš 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 domena 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 domena. Keep the transfer in a pending state until completion is confirmed.
Pilitfolio, Compliance & Integracija
Upravljanje pilitfolios i connect existing systems.
22 Can I retrieve i filter my domena pilitfolio through the API?
Da. The Popis Domene API suppilits pilitfolio retrieval with pagination, siliting i filtering options.
Use Dobijte Domena Detalji when you need detailed infilimation fili an individual domena, such as registration infilimation, expiration infilimation, nameservers i domena 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 domena pilitfolios.
You can identify domenas associated with abuse repilits i retrieve machine-readable compliance infilimation fili individual domenas. Depending on the case, the response can include domena status, current impact, recommended akcija, hold infilimation, complaint infilimation i repilited URLs.
This makes it possible to surface compliance status directly inside vaš 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 vaš own application ili wilikflow. Use the WHMCS integration when you want domena operations integrated into an existing WHMCS environment.
Development & Suppilit
Build safely i ksada 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 vaš API Secret in browser-side JavaScript ili downloadable client code.
26 Are tovdje API rate limits?
Ocijeni limiting may be applied to protect API stability i platfilim security.
Ako vaš production integration is expected to generate sustained high request volume, contact NiceNIC befilie launch so that vaš 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, domena name wovdje applicable, non-sensitive request parameters, returned response code i message, i whether the request came from Sibox ili Proizvodion.
28 Wovdje 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 Česta 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 vaš integration in the API Sibox, then connect vaš NiceNIC account when you are ready to move to production.
Need reseller pricing fili higher domena volume?
Compare Preprodavač Plans →






