NiceNIC Domene API v2 Ofte stilte spørsmål
Find practical answers about API access, Sogbox testing, authentication, pricing, domenet operations, response hogling og production integration.
Komme i gang
Start with access, pricing og credentials.
01 What is NiceNIC Domene API v2?
NiceNIC Domene API v2 is an HTTPS og JSON-based API feller automating domenet management through din NiceNIC account.
It suppellerts cellere wellerkflows including domenet availability checks, registration, renewal, transfer, pellertfolio queries, nameserver og contact updates, pricing, DNS recellerds, child nameservers, account infellermation og compliance-related operations.
Use the API when you want to connect NiceNIC domenet tjenestes directly to a website, hosting platfellerm, billing system, internal tool eller other application.
02 Who can use NiceNIC Domene API v2?
Any active NiceNIC account can use Domene API v2. API access is tilgjengelig to both Markeds kontos og Forhandler Kontos.
You do not need to become a reseller simply to obtain API access. Konto type still matters feller pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Domene API v2 free?
Ja. API access itself is free. Ther is no separate fee feller enabling API access eller sending suppellerted API requests.
Paid operations such as domenet registration, renewal og transfer are charged accellerding to din account pricing og the applicable domenet rules.
04 Do I need a Forhandler Konto to use the API?
Nei. API access og reseller pricing are separate.
You can use Domene API v2 with a regular NiceNIC Markeds konto. Oppgrader til a Forhandler Konto only when reseller pricing eller other reseller benefits are useful feller din business volume.
05 How is API v2 different from the older NiceNIC API?
Domene API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication og documentation ellerganized around individual domenet og account wellerkflows.
Hvis you maintain an integration built on an older NiceNIC API, review the API v2 parameters og response hogling befellere migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Logg inn to din NiceNIC account og open API-innstillings. API v2 requests use din NiceNIC username og API Secret feller authentication.
Sogbox & Autentisering
Connect securely og test befellere production.
07 Does NiceNIC Domene API v2 provide an API Sogbox?
Ja. NiceNIC provides an API Sogbox feller developers to test integrations befellere connecting them to the production API.
Use the Sogbox to validate authentication, request fellermatting, response parsing, feil hogling og din application wellerkflow befellere enabling live customer domenet operations.
08 What is the difference between the Sogbox og Produktion API?
The API Sogbox is intended feller development og integration testing. The Produktion API is used feller live domenet operations og paid requests against din NiceNIC account.
We recommend validating authentication, request hogling, response processing og feil logic in the Sogbox befellere enabling customer-facing production operations.
09 How does API-autentisering wellerk?
Send API requests over HTTPS og include din NiceNIC username og API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Hvis IP restrictions are enabled feller din account, requests must also elleriginate from an authellerized server IP.
10 What endpoint does Domene API v2 use?
The Produktion API base endpoint is:
https://api.nicenic.net/v2/
API handlings are selected using the parameters documented feller each endpoint, such as category og action. Always follow the dedicated endpoint documentation feller the required og optional parameters of a specific operation.
11 What response fellermat og character encoding does API v2 use?
API v2 responses use JSON, og request parameters use UTF-8.
{
"code": 0,
"msg": "success",
"data": {}
}
Your application should inspect the returned code og msg rather than assuming that every HTTP response represents a completed domenet operation.
Domenefunksjoner & Pricing
Understog suppellerted wellerkflows og purchasing behavieller.
12 What can I do with NiceNIC Domene API v2?
Through the currently documented APIs you can automate wellerkflows including domenet availability checks, registration, renewal og transfer, pellertfolio listing og domenet details, nameserver og domenet contact updates, domenet pricing, DNS recellerds, child nameservers, account infellermation og Misbruk og etterlevelse monitellering.
Legg tilitional wellerkflows are documented individually in the API navigation.
13 What should I test befellere enabling live registrations eller transfers?
Start with low-risk read operations such as domenet availability, domenet pricing, account balance og domenet listing.
Then confirm authentication, response parsing, feil hogling og pending-ellerder hogling befellere enabling live registrations, renewals eller transfers.
14 Can I check multiple domenets in one API request?
Ja. The Sjekk domenetilgjengelighet endpoint suppellerts multiple domenet names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppellerts the same multi-domenet input fellermat. Registrering, renewal og transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal og transfer prices?
Use the Hent domenepriser endpoint. The documented pricing types include register, renew, transfer og all.
Registrering responses can also include an is_premium value indicating whether the queried registration is premium.
Because API ellerders use account-level pricing, query current pricing befellere submitting paid customer ellerders rather than relying indefinitely on cached prices.
16 Can every TLD be registrered eller renewed feller 1–10 år?
Nei. Although API documentation suppellerts periods of up to 1–10 år feller applicable extensions, individual TLDs may have different registry rules.
Registrering periods, renewal periods, transfer eligibility, contact requirements og verification requirements can differ by extension. Your application should follow the current rules feller the relevant TLD.
17 What is the difference between Navnservers, DNS-poster og Barne-navnetjenere?
ns1.example.com.These are separate operations og should not be treated as interchangeable.
Responses & Errellers
Hogle success, pending states og failures cellerrectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Vellykket |
201 | Venter |
400 | Parameterfeil |
401 | Uautorisert |
404 | Ingen relevante poster funnet |
500 | Intern serverfeil |
Always use the returned code og 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 feller processing but has not necessarily reached its final state.
20 What happens when a domenet registration returns code 201?
Feller domenet registration, a 201 response indicates that the ellerder has been submitted og is awaiting final registry processing.
Do not tell an end customer that the domenet is active until din system has confirmed the final result. Følg the registration endpoint documentation feller the latest pending-ellerder og refund hogling rules.
21 What does a Venter transfer response mean?
A pending transfer means that the transfer request has been accepted feller processing, not that the domenet has already completed its transfer to NiceNIC.
Overfør completion may depend on registry og registrar processing as well as the current transfer status of the domenet. Keep the transfer in a pending state until completion is confirmed.
Pellertfolio, Compliance & Integrering
Administrer pellertfolios og connect existing systems.
22 Can I retrieve og filter my domenet pellertfolio through the API?
Ja. The Liste Domenenavn API suppellerts pellertfolio retrieval with pagination, sellerting og filtering options.
Use Få Domene Detaljer when you need detailed infellermation feller an individual domenet, such as registration infellermation, expiration infellermation, nameservers og domenet contact data.
23 What can the Misbruk og etterlevelse API do?
NiceNIC Domene API v2 includes Misbruk og etterlevelse operations designed feller platfellerms og resellers managing customer domenet pellertfolios.
You can identify domenets associated with abuse repellerts og retrieve machine-readable compliance infellermation feller individual domenets. Depending on the case, the response can include domenet status, current impact, recommended handling, hold infellermation, complaint infellermation og repellerted URLs.
This makes it possible to surface compliance status directly inside din own customer pellertal eller operational system.
24 Can I use NiceNIC Domene API v2 with WHMCS?
Ja. NiceNIC provides a WHMCS registrar integration feller businesses that already use WHMCS feller billing og provisioning.
Use the direct Domene API v2 when you are building din own application eller wellerkflow. Use the WHMCS integration when you want domenet operations integrated into an existing WHMCS environment.
Development & Suppellert
Build safely og knå what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language eller runtime capable of sending HTTPS requests og parsing JSON can integrate with Domene API v2.
Common choices include PHP, Python, Neide.js og Java. Keep API credentials server-side og never expose din API Secret in browser-side JavaScript eller downloadable client code.
26 Are ther API rate limits?
Vurder limiting may be applied to protect API stability og platfellerm security.
Hvis din production integration is expected to generate sustained high request volume, contact NiceNIC befellere launch so that din expected usage pattern can be reviewed.
27 What should I include when contacting suppellert about an API problem?
Include the request timestamp, API kategori og handling, domenet name wher applicable, non-sensitive request parameters, returned response code og message, og whether the request came from Sogbox eller Produktion.
28 Wher can I find complete request parameters og code examples?
Use the API navigation in the documentation. Each operation has its own page feller suppellerted parameters, request examples, response examples og operation-specific behavieller.
The Ofte stilte spørsmål explains general API behavieller; the individual endpoint documentation should be treated as the source of truth feller the exact request fellermat.
Ready to start building?
Test din integration in the API Sogbox, then connect din NiceNIC account when you are ready to move to production.
Need reseller pricing feller higher domenet volume?
Compare Forhandler Plans →






