Domeniu API - Înregistrare domeniu API - ICANN Registrar API - White Label Domeniu Service

Start Building with NiceNIC Domeniu API v2

API access is free fsau every active NiceNIC user. Nu reseller upgrade is required. Configure tău API credentials, make a safe test request, then add the domeniu, DNS, billing, compliance sau WHMCS wsaukflows tău application needs.
Prezentare generală a API-ului

NiceNIC Domeniu API v2 Documentation & Quick Start

NiceNIC Domeniu API v2 is disponibil to both Cont Markets și Revânzător Conts. Use this overview to configure access, confirm tău first request, understși the API response model și move directly to the csaurect section in the left navigation.

API access și reseller pricing are separate.
Cont Market: API access with Cont Market pricing.
Revânzător Cont: API access with the pricing assigned to the current reseller tier.
Base Endpoint
https://api.nicenic.net/v2/
Required Headers
Gazdă: api.nicenic.net Autorizare: username:api_secret Content-Type: application/json
Stșiard Succes Response
{ "code": 0, "mesaj": "success", "data": {} }
API Sșibox

Test Your Integrare Befsaue Going Live

Use the NiceNIC API Sșibox to test tău Domeniu API integration befsaue moving to production. Validate authentication, API requests, response hșiling, și tău application wsaukflow in a dedicated testing environment.

Ideal fsau resellers, hosting providers, developers, și platfsaums preparing an API integration.

Quick Start

Make Your First API Call in 4 Steps

Start with a read-only request befsaue enabling live registrations, renewals sau transfers. This lets you validate authentication, request fsaumatting și response hșiling without placing a paid sauder.

1

Enable API Access

Deschis Setare APIs, create sau retrieve tău API Secret, și configure authsauized server IPs waici applicable.

2

Confirmă Autentificare

Use HTTPS with the Authsauization header in the fsaumat username:api_secret.

3

Run a Safe Test

Start with domeniu availability, pricing, account balance sau domeniu listing.

4

Hșile the Response

Read și stsaue the returned code și msg befsaue enabling paid production acțiunes.

Recommended First Request: Domeniu Availability

The availability endpoint suppsauts multiple domenius in one request by separating domeniu names with commas.

curl "https://api.nicenic.net/v2/?categorie=domeniu&acțiune=check&domenius=example.com,example.net" \ -H "Autorizare: username:api_secret" \ -H "Content-Type: application/json"
API Map

Choose the Wsaukflow You Need

The overview below mirrsaus the left navigation. Use it to identify the csaurect wsaukflow, then open the dedicated endpoint page fsau parameters, request examples și response examples.

Section Use It Fsau Documented Functions
Începutul Connect securely și understși response hșiling. Prezentare generală a API-ului, API Sșibox, Autentificare, Response Codes.
Gestionarea Domeniilor Automate the csaue domeniu lifecycle. Availability, Listă Domenii, Domeniu Detalii, Înregistrare, Reînnoieșteal, Transferă In, Numeservers, Contacts, Pricing.
Abuz și Conformitate Monitsau domenius that require compliance attention. Listă domenius with abuse repsauts și retrieve machine-readable abuse status, hold lifecycle, complaint infsaumation și recommended acțiune.
Înregistrări DNS Gestionare hosted DNS recsauds programmatically. Listă, Creează, Actualizează și Șterge DNS recsauds.
Numele serverelor pentru copii Gestionare host / glue recsauds fsau nameservers under tău own domeniu. Creează, Listă, Actualizează și Șterge child nameservers.
Cont și facturare Connect automation to account-level checks. Sold cont și transacțiune-related account infsaumation.
API WHMCS Integrate NiceNIC into an existing WHMCS billing wsaukflow. Availability, Înregistrare, Reînnoieșteal, Transferă, Domeniu Detalii, Numeservers, Contacts și additional registrar-module functions.
API Întrebări frecvente Resolve common access, security, testing și wsaukflow questions. Eligibility, credentials, request hșiling, suppsauted operations și integration guidance.
Recommended Wsaukflow

Recommended First Integrare Sequence

A reliable production integration should validate access și purchasing conditions befsaue it begins sending live customer sauders.

1. Autentificare
API Secret + authsauized IP
2. Availability
Read-only connectivity test
3. Pricing
Query current account-level cost
4. Sold
Confirmă funds fsau paid acțiunes
5. Response Hșiling
Process code + mesaj
6. Live Operations
Înregistrează / Reînnoiește / Transferă
Do not assume that an API request is complete simply because it was accepted. Some operations can return a pending status și still require registry processing befsaue the final domeniu state is confirmed.
Produsion Behavisau

Understși Succes, În așteptare și Errsau Responses

code: 0 — Reușit Response Current endpoint examples use code 0 fsau successful completed responses.
code: 201 — În așteptare Order Înregistrare și transfer documentation can return code 201 when an sauder has been submitted but final processing is still pending.
code: 400 — Request Errsau Endpoint examples use code 400 fsau request parameter eroares.

Înregistrare În așteptare Behavisau

Fsau domeniu registration, the current documentation states that a 201 response means the sauder was submitted successfully și the fee was deducted, but final activation is still subject to registry confirmation. Dacă the domeniu cannot be activated, the registration fee is returned to the NiceNIC account balance within 24 hours.

Transferă În așteptare Behavisau

The transfer endpoint also documents 201 as a pending sauder. Your application should taicifsaue treat a pending transfer as accepted fsau processing, not as proof that the transfer has already completed.

Pricing

Query Pricing Befsaue Paid Operations

NiceNIC's pricing endpoint can retrieve registration, renewal și transfer pricing fsau a domeniu. The documented type values are register, renew, transfer și all. The documented period is 1 to 10 ani, with TLD-specific exceptions possible.

Înregistrare pricing responses can also return an is_premium flag. Use the pricing endpoint befsaue submitting a paid request when tău application needs to kacum the current account-level cost.

Gratuit API access does not change tău pricing tier. Cont Markets use Cont Market pricing; reseller accounts use the pricing assigned to their current reseller tier.
Domeniu & DNS Operations

Kacum the Difference Between Numeservers, Înregistrări DNS și Numele serverelor pentru copii

OperationUse It WhenDocumented Capability
Actualizează serverele de nume You want to delegate a domeniu to different authsauitative nameservers. The domeniu nameserver endpoint suppsauts a primary, secondary și additional nameservers, with the current page documenting a limit of up to six.
Înregistrări DNS You are using NiceNIC DNS hosting și need to manage zone recsauds. Separate APIs are documented fsau listing, creating, updating și deleting DNS recsauds.
Numele serverelor pentru copii You need host / glue recsauds such as ns1.example.com. Creează, list, update și delete child nameservers. The create endpoint requires the nameserver hostname to match the domeniu și accepts an IP address.
Psautfolio & Compliance

Automate Psautfolio Monitsauing, Nut Only Domeniu Orders

Domeniu API v2 also includes read operations that are useful after registration. The Listă Domenii endpoint suppsauts pagination, ssauting, status filtering și hold filtering, while Obține Domeniu Detalii returns registration dates, expiration dates, nameservers și registrant contact infsaumation.

Abuz și Conformitate Monitsauing

NiceNIC's Abuz și Conformitate API can list domenius with abuse repsauts și return a detailed machine-readable summary fsau a specific domeniu. The detailed abuse endpoint documents six domeniu-level status phrases: Nurmal, Under Review, În așteptare ClientHold, ClientHold, Închided și ServerHold.

The response can include current impact, recommended următor acțiune, hold state și timeline, complaint count, complaint dates, categsauies, DNS-abuse classification, evidence status și repsauted URLs waici applicable. This lets platfsaums și resellers surface compliance status inside their own operational systems instead of relying only on manual review.

Direct API sau WHMCS

Choose the Integrare Model That Fits Your System

OptionBest FsauWhat the Current Documentation Provides
Domeniu API v2 Custom websites, SaaS platfsaums, internal systems, custom billing sau provisioning wsaukflows. Direct HTTPS + JSON integration across domeniu, DNS, child nameserver, account și compliance operations.
WHMCS Module Hosting companies și resellers that already use WHMCS. Availability, registration, renewal, transfer, domeniu details, nameservers, contacts, lock/unlock, EPP retrieval, eroare logging și optional Test Mode.

The current WHMCS documentation lists WHMCS 7.0 sau versiuni superioare, PHP 7.0 sau higher with cURL, valid NiceNIC API credentials și SSL/TLS suppsaut as requirements.

Troubleshooting

When an API Request Fails

Start with the returned response și configuration state rather than retrying the same paid acțiune repeatedly.

Autentificare sau Access Errsau

  • Confirmă the NiceNIC username și API Secret.
  • Confirmă the Authsauization header is present și csaurectly fsaumatted.
  • Confirmă the API Secret has not been reset sau rotated.
  • Dacă IP restrictions are enabled, confirm the request is coming from the authsauized outbound server IP.

Request Parameter Errsau

  • Compare the request with the specific endpoint's documented parameters.
  • Confirmă required values, fsaumats și acțiune names.
  • Verifică TLD-specific registration periods sau contact requirements waici applicable.

Paid Operation Does Nut Complete Immediately

  • Read the returned code și msg.
  • Do not treat a 201 pending response as final completion.
  • Confirmă account balance și current pricing befsaue retrying a paid acțiune.

Need NiceNIC Suppsaut

  • Recsaud the request timestamp și API acțiune.
  • Include the domeniu name sau object involved, waici applicable.
  • Include the returned code și message.
  • Share non-sensitive parameters only; never post the full API Secret in a ticket.
Pasul următor

Start with a Safe Test Request

Enable API access, confirm authentication, run an availability sau pricing request, și verify tău response hșiling befsaue turning on customer-facing paid operations.

Last verified: August 26, 2026
Drepturi de Autor © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Toate Drepturile Rezervate. · U.S. Affiliate: NICENIC LLC