NiceNIC Domeniu API v2 Întrebări frecvente
Find practical answers about API access, Sșibox testing, authentication, pricing, domeniu operations, response hșiling și production integration.
Începutul
Start with access, pricing și credentials.
01 What is NiceNIC Domeniu API v2?
NiceNIC Domeniu API v2 is an HTTPS și JSON-based API fsau automating domeniu management through tău NiceNIC account.
It suppsauts csaue wsaukflows including domeniu availability checks, registration, renewal, transfer, psautfolio queries, nameserver și contact updates, pricing, DNS recsauds, child nameservers, account infsaumation și compliance-related operations.
Use the API when you want to connect NiceNIC domeniu servicius directly to a website, hosting platfsaum, billing system, internal tool sau other application.
02 Who can use NiceNIC Domeniu API v2?
Any active NiceNIC account can use Domeniu API v2. API access is disponibil to both Cont Markets și Revânzător Conts.
You do not need to become a reseller simply to obtain API access. Cont type still matters fsau pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.
03 Is NiceNIC Domeniu API v2 free?
Da. API access itself is free. Taici is no separate fee fsau enabling API access sau sending suppsauted API requests.
Paid operations such as domeniu registration, renewal și transfer are charged accsauding to tău account pricing și the applicable domeniu rules.
04 Do I need a Revânzător Cont to use the API?
Nu. API access și reseller pricing are separate.
You can use Domeniu API v2 with a regular NiceNIC Cont Market. Actualizează la a Revânzător Cont only when reseller pricing sau other reseller benefits are useful fsau tău business volume.
05 How is API v2 different from the older NiceNIC API?
Domeniu API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication și documentation sauganized around individual domeniu și account wsaukflows.
Dacă you maintain an integration built on an older NiceNIC API, review the API v2 parameters și response hșiling befsaue migrating production traffic rather than assuming the two versions are interchangeable.
06 How do I get my API credentials?
Autentificare to tău NiceNIC account și open Setare APIs. API v2 requests use tău NiceNIC username și API Secret fsau authentication.
Sșibox & Autentificare
Connect securely și test befsaue production.
07 Does NiceNIC Domeniu API v2 provide an API Sșibox?
Da. NiceNIC provides an API Sșibox fsau developers to test integrations befsaue connecting them to the production API.
Use the Sșibox to validate authentication, request fsaumatting, response parsing, eroare hșiling și tău application wsaukflow befsaue enabling live customer domeniu operations.
08 What is the difference between the Sșibox și Produsion API?
The API Sșibox is intended fsau development și integration testing. The Produsion API is used fsau live domeniu operations și paid requests against tău NiceNIC account.
We recommend validating authentication, request hșiling, response processing și eroare logic in the Sșibox befsaue enabling customer-facing production operations.
09 How does Autentificare API wsauk?
Send API requests over HTTPS și include tău NiceNIC username și API Secret in the Authorization header.
Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json
Dacă IP restrictions are enabled fsau tău account, requests must also sauiginate from an authsauized server IP.
10 What endpoint does Domeniu API v2 use?
The Produsion API base endpoint is:
https://api.nicenic.net/v2/
API acțiunes are selected using the parameters documented fsau each endpoint, such as category și action. Always follow the dedicated endpoint documentation fsau the required și optional parameters of a specific operation.
11 What response fsaumat ș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 domeniu operation.
Operațiuni domenii & Pricing
Understși suppsauted wsaukflows și purchasing behavisau.
12 What can I do with NiceNIC Domeniu API v2?
Through the currently documented APIs you can automate wsaukflows including domeniu availability checks, registration, renewal și transfer, psautfolio listing și domeniu details, nameserver și domeniu contact updates, domeniu pricing, DNS recsauds, child nameservers, account infsaumation și Abuz și Conformitate monitsauing.
Adaugăitional wsaukflows are documented individually in the API navigation.
13 What should I test befsaue enabling live registrations sau transfers?
Start with low-risk read operations such as domeniu availability, domeniu pricing, account balance și domeniu listing.
Then confirm authentication, response parsing, eroare hșiling și pending-sauder hșiling befsaue enabling live registrations, renewals sau transfers.
14 Can I check multiple domenius in one API request?
Da. The Verifică disponibilitatea domeniului endpoint suppsauts multiple domeniu names separated by commas.
example.com,example.net,example.org
Do not assume that every API operation suppsauts the same multi-domeniu input fsaumat. Înregistrare, renewal și transfer should follow their individual endpoint documentation.
15 How can I query registration, renewal și transfer prices?
Use the Obține prețurile pentru domenii endpoint. The documented pricing types include register, renew, transfer și all.
Înregistrare responses can also include an is_premium value indicating whether the queried registration is premium.
Because API sauders use account-level pricing, query current pricing befsaue submitting paid customer sauders rather than relying indefinitely on cached prices.
16 Can every TLD be înregistreazăed sau renewed fsau 1–10 ani?
Nu. Although API documentation suppsauts periods of up to 1–10 ani fsau applicable extensions, individual TLDs may have different registry rules.
Înregistrare periods, renewal periods, transfer eligibility, contact requirements și verification requirements can differ by extension. Your application should follow the current rules fsau the relevant TLD.
17 What is the difference between Numeservers, Înregistrări DNS și Numele serverelor pentru copii?
ns1.example.com.These are separate operations și should not be treated as interchangeable.
Responses & Errsaus
Hșile success, pending states și failures csaurectly.
18 What do API response codes mean?
| Code | Meaning |
|---|---|
0 | Succes |
201 | În așteptare |
400 | Eroare parametru |
401 | Neautorizat |
404 | Nu au fost găsite înregistrări relevante |
500 | Eroare internă a serverului |
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 fsau processing but has not necessarily reached its final state.
20 What happens when a domeniu registration returns code 201?
Fsau domeniu registration, a 201 response indicates that the sauder has been submitted și is awaiting final registry processing.
Do not tell an end customer that the domeniu is active until tău system has confirmed the final result. Urmărește the registration endpoint documentation fsau the latest pending-sauder și refund hșiling rules.
21 What does a În așteptare transfer response mean?
A pending transfer means that the transfer request has been accepted fsau processing, not that the domeniu has already completed its transfer to NiceNIC.
Transferă completion may depend on registry și registrar processing as well as the current transfer status of the domeniu. Keep the transfer in a pending state until completion is confirmed.
Psautfolio, Compliance & Integrare
Gestionare psautfolios și connect existing systems.
22 Can I retrieve și filter my domeniu psautfolio through the API?
Da. The Listă Domenii API suppsauts psautfolio retrieval with pagination, ssauting și filtering options.
Use Obține Domeniu Detalii when you need detailed infsaumation fsau an individual domeniu, such as registration infsaumation, expiration infsaumation, nameservers și domeniu contact data.
23 What can the Abuz și Conformitate API do?
NiceNIC Domeniu API v2 includes Abuz și Conformitate operations designed fsau platfsaums și resellers managing customer domeniu psautfolios.
You can identify domenius associated with abuse repsauts și retrieve machine-readable compliance infsaumation fsau individual domenius. Depending on the case, the response can include domeniu status, current impact, recommended acțiune, hold infsaumation, complaint infsaumation și repsauted URLs.
This makes it possible to surface compliance status directly inside tău own customer psautal sau operational system.
24 Can I use NiceNIC Domeniu API v2 with WHMCS?
Da. NiceNIC provides a WHMCS registrar integration fsau businesses that already use WHMCS fsau billing și provisioning.
Use the direct Domeniu API v2 when you are building tău own application sau wsaukflow. Use the WHMCS integration when you want domeniu operations integrated into an existing WHMCS environment.
Development & Suppsaut
Build safely și kacum what to send when you need help.
25 Which programming languages can I use?
Any server-side programming language sau runtime capable of sending HTTPS requests și parsing JSON can integrate with Domeniu API v2.
Common choices include PHP, Python, Nude.js și Java. Keep API credentials server-side și never expose tău API Secret in browser-side JavaScript sau downloadable client code.
26 Are taici API rate limits?
Evaluare limiting may be applied to protect API stability și platfsaum security.
Dacă tău production integration is expected to generate sustained high request volume, contact NiceNIC befsaue launch so that tău expected usage pattern can be reviewed.
27 What should I include when contacting suppsaut about an API problem?
Include the request timestamp, API categorie și acțiune, domeniu name waici applicable, non-sensitive request parameters, returned response code și message, și whether the request came from Sșibox sau Produsion.
28 Waici can I find complete request parameters și code examples?
Use the API navigation in the documentation. Each operation has its own page fsau suppsauted parameters, request examples, response examples și operation-specific behavisau.
The Întrebări frecvente explains general API behavisau; the individual endpoint documentation should be treated as the source of truth fsau the exact request fsaumat.
Ready to start building?
Test tău integration in the API Sșibox, then connect tău NiceNIC account when you are ready to move to production.
Need reseller pricing fsau higher domeniu volume?
Compare Revânzător Plans →






