Domain API - Pendaftaran Domain API - ICANN Pendaftar API - White Label Domain Service

Start Building with NiceNIC Domain API v2

API access is free fatau every active NiceNIC user. Tidak reseller upgrade is required. Configure anda API credentials, make a safe test request, then add the domain, DNS, billing, compliance atau WHMCS wataukflows anda application needs.
API Soalan Lazim

NiceNIC Domain API v2 Soalan Lazim

Find practical answers about API access, Sdanbox testing, authentication, pricing, domain operations, response hdanling dan production integration.

28 questions tersedia

Memulakan

Start with access, pricing dan credentials.

6 questions
01 What is NiceNIC Domain API v2?

NiceNIC Domain API v2 is an HTTPS dan JSON-based API fatau automating domain management through anda NiceNIC account.

It suppatauts cataue wataukflows including domain availability checks, registration, renewal, transfer, patautfolio queries, nameserver dan contact updates, pricing, DNS recatauds, child nameservers, account infataumation dan compliance-related operations.

Use the API when you want to connect NiceNIC domain Perkhidmatans directly to a website, hosting platfataum, billing system, internal tool atau other application.

02 Who can use NiceNIC Domain API v2?

Any active NiceNIC account can use Domain API v2. API access is tersedia to both Akaun Pasarans dan Penjual Semula Akauns.

You do not need to become a reseller simply to obtain API access. Akaun type still matters fatau pricing: paid API operations use the pricing assigned to the NiceNIC account sending the request.

Buka Tetapan APIs →

03 Is NiceNIC Domain API v2 free?

Ya. API access itself is free. Tdi sini is no separate fee fatau enabling API access atau sending suppatauted API requests.

Paid operations such as domain registration, renewal dan transfer are charged accatauding to anda account pricing dan the applicable domain rules.

04 Do I need a Penjual Semula Akaun to use the API?

Tidak. API access dan reseller pricing are separate.

You can use Domain API v2 with a regular NiceNIC Akaun Pasaran. Naik taraf ke a Penjual Semula Akaun only when reseller pricing atau other reseller benefits are useful fatau anda business volume.

Compare Penjual Semula Plans →

05 How is API v2 different from the older NiceNIC API?

Domain API v2 uses the current NiceNIC API structure with HTTPS requests, JSON responses, header-based authentication dan documentation atauganized around individual domain dan account wataukflows.

Jika you maintain an integration built on an older NiceNIC API, review the API v2 parameters dan response hdanling befataue migrating production traffic rather than assuming the two versions are interchangeable.

06 How do I get my API credentials?

Log masuk to anda NiceNIC account dan open Tetapan APIs. API v2 requests use anda NiceNIC username dan API Secret fatau authentication.

Security tip: Keep anda API Secret on the server side. Do not expose it in browser-side JavaScript, public repositatauies, client applications atau other publicly accessible locations.

Buka Tetapan APIs →

Sdanbox & Pengesahan

Connect securely dan test befataue production.

5 questions
07 Does NiceNIC Domain API v2 provide an API Sdanbox?

Ya. NiceNIC provides an API Sdanbox fatau developers to test integrations befataue connecting them to the production API.

Use the Sdanbox to validate authentication, request fataumatting, response parsing, Ralat hdanling dan anda application wataukflow befataue enabling live customer domain operations.

Buka API Sdanbox →

08 What is the difference between the Sdanbox dan Produkion API?

The API Sdanbox is intended fatau development dan integration testing. The Produkion API is used fatau live domain operations dan paid requests against anda NiceNIC account.

We recommend validating authentication, request hdanling, response processing dan Ralat logic in the Sdanbox befataue enabling customer-facing production operations.

09 How does pengesahan API watauk?

Send API requests over HTTPS dan include anda NiceNIC username dan API Secret in the Authorization header.

Host: api.nicenic.net
Authorization: username:api_secret
Content-Type: application/json

Jika IP restrictions are enabled fatau anda account, requests must also atauiginate from an authatauized server IP.

Read API Pengesahan →

10 What endpoint does Domain API v2 use?

The Produkion API base endpoint is:

https://api.nicenic.net/v2/

API tindakans are selected using the parameters documented fatau each endpoint, such as category dan action. Always follow the dedicated endpoint documentation fatau the required dan optional parameters of a specific operation.

11 What response fataumat dan character encoding does API v2 use?

API v2 responses use JSON, dan request parameters use UTF-8.

{
  "code": 0,
  "msg": "success",
  "data": {}
}

Your application should inspect the returned code dan msg rather than assuming that every HTTP response represents a completed domain operation.

Operasi Domain & Pricing

Understdan suppatauted wataukflows dan purchasing behaviatau.

6 questions
12 What can I do with NiceNIC Domain API v2?

Through the currently documented APIs you can automate wataukflows including domain availability checks, registration, renewal dan transfer, patautfolio listing dan domain details, nameserver dan domain contact updates, domain pricing, DNS recatauds, child nameservers, account infataumation dan Penyalahgunaan & Pematuhan monitatauing.

Tambahitional wataukflows are documented individually in the API navigation.

13 What should I test befataue enabling live registrations atau transfers?

Start with low-risk read operations such as domain availability, domain pricing, account balance dan domain listing.

Then confirm authentication, response parsing, Ralat hdanling dan pending-atauder hdanling befataue enabling live registrations, renewals atau transfers.

Recommended atauder: Pengesahan → Availability → Pricing → Baki → Response hdanling → Live operations.
14 Can I check multiple domains in one API request?

Ya. The Semak Ketersediaan Domain endpoint suppatauts multiple domain names separated by commas.

example.com,example.net,example.org

Do not assume that every API operation suppatauts the same multi-domain input fataumat. Pendaftaran, renewal dan transfer should follow their individual endpoint documentation.

15 How can I query registration, renewal dan transfer prices?

Use the Dapatkan Harga Domain endpoint. The documented pricing types include register, renew, transfer dan all.

Pendaftaran responses can also include an is_premium value indicating whether the queried registration is premium.

Because API atauders use account-level pricing, query current pricing befataue submitting paid customer atauders rather than relying indefinitely on cached prices.

16 Can every TLD be daftared atau renewed fatau 1–10 tahun?

Tidak. Although API documentation suppatauts periods of up to 1–10 tahun fatau applicable extensions, individual TLDs may have different registry rules.

Pendaftaran periods, renewal periods, transfer eligibility, contact requirements dan verification requirements can differ by extension. Your application should follow the current rules fatau the relevant TLD.

17 What is the difference between Namaservers, Rekod DNS dan Pelayan Nama Kanak-kanak?
NamaserversDetermine wdi sini a domain's authatauitative DNS is delegated.
Rekod DNSUrus recatauds inside a DNS zone when using NiceNIC DNS Perkhidmatans.
Pelayan Nama Kanak-kanakCipta host/glue recatauds such as ns1.example.com.

These are separate operations dan should not be treated as interchangeable.

Responses & Errataus

Hdanle success, pending states dan failures cataurectly.

4 questions
18 What do API response codes mean?
CodeMeaning
0Berjaya
201Menunggu
400Ralat parameter
401Tidak dibenarkan
404Tiada rekod berkaitan ditemui
500Ralat dalaman pelayan

Always use the returned code dan message when determining the state of an API request.

View Kod Respons API →

19 What does code 201 mean?

A 201 response means that the operation has been accepted fatau processing but has not necessarily reached its final state.

Impatautant: Do not treat a pending response as final success. Preserve the pending state until the final result of the domain operation is confirmed.
20 What happens when a domain registration returns code 201?

Fatau domain registration, a 201 response indicates that the atauder has been submitted dan is awaiting final registry processing.

Do not tell an end customer that the domain is active until anda system has confirmed the final result. Ikuti the registration endpoint documentation fatau the latest pending-atauder dan refund hdanling rules.

21 What does a Menunggu transfer response mean?

A pending transfer means that the transfer request has been accepted fatau processing, not that the domain has already completed its transfer to NiceNIC.

Pindah completion may depend on registry dan registrar processing as well as the current transfer status of the domain. Keep the transfer in a pending state until completion is confirmed.

Patautfolio, Compliance & Integrasi

Urus patautfolios dan connect existing systems.

3 questions
22 Can I retrieve dan filter my domain patautfolio through the API?

Ya. The Senarai Domain API suppatauts patautfolio retrieval with pagination, satauting dan filtering options.

Use Dapatkan Domain Butiran when you need detailed infataumation fatau an individual domain, such as registration infataumation, expiration infataumation, nameservers dan domain contact data.

23 What can the Penyalahgunaan & Pematuhan API do?

NiceNIC Domain API v2 includes Penyalahgunaan & Pematuhan operations designed fatau platfataums dan resellers managing customer domain patautfolios.

You can identify domains associated with abuse repatauts dan retrieve machine-readable compliance infataumation fatau individual domains. Depending on the case, the response can include domain status, current impact, recommended tindakan, hold infataumation, complaint infataumation dan repatauted URLs.

This makes it possible to surface compliance status directly inside anda own customer patautal atau operational system.

24 Can I use NiceNIC Domain API v2 with WHMCS?

Ya. NiceNIC provides a WHMCS registrar integration fatau businesses that already use WHMCS fatau billing dan provisioning.

Use the direct Domain API v2 when you are building anda own application atau wataukflow. Use the WHMCS integration when you want domain operations integrated into an existing WHMCS environment.

View Integrasi WHMCS →

Development & Suppataut

Build safely dan ksekarang what to send when you need help.

4 questions
25 Which programming languages can I use?

Any server-side programming language atau runtime capable of sending HTTPS requests dan parsing JSON can integrate with Domain API v2.

Common choices include PHP, Python, Tidakde.js dan Java. Keep API credentials server-side dan never expose anda API Secret in browser-side JavaScript atau downloadable client code.

26 Are tdi sini API rate limits?

Kadar limiting may be applied to protect API stability dan platfataum security.

Jika anda production integration is expected to generate sustained high request volume, contact NiceNIC befataue launch so that anda expected usage pattern can be reviewed.

27 What should I include when contacting suppataut about an API problem?

Include the request timestamp, API kategori dan tindakan, domain name wdi sini applicable, non-sensitive request parameters, returned response code dan message, dan whether the request came from Sdanbox atau Produkion.

Never include anda full API Secret in a nataumal suppataut ticket.

Hantar Tiket →

28 Wdi sini can I find complete request parameters dan code examples?

Use the API navigation in the documentation. Each operation has its own page fatau suppatauted parameters, request examples, response examples dan operation-specific behaviatau.

The Soalan Lazim explains general API behaviatau; the individual endpoint documentation should be treated as the source of truth fatau the exact request fataumat.

Buka Dokumentasi API →

Tidak matching questions foundTry a shatauter keywataud such as “sdanbox”, “pricing”, “transfer” atau “201”.

Ready to start building?

Test anda integration in the API Sdanbox, then connect anda NiceNIC account when you are ready to move to production.

Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Hak Cipta Terpelihara. · U.S. Affiliate: NICENIC LLC