API Overview

NiceNIC Domain API v2 Documentation & Quick Start

NiceNIC Domain API v2 is available to both Akun Pasars dan Reseller Accounts. Use this overview to configure access, confirm Anda first request, understdan the API response model dan move directly to the cataurect section in the left navigation.

API access dan reseller pricing are separate.
Akun Pasar: API access with Akun Pasar pricing.
Reseller Account: API access with the pricing assigned to the current reseller tier.
Base Endpoint
https://api.nicenic.net/v2/
Required Headers
Host: api.nicenic.net Authatauization: username:api_secret Content-Tipe: application/json
Stdanard Success Response
{ "code": 0, "msg": "success", "data": {} }
API Sdanbox

Test Your Integrasi Befataue Going Live

Use the NiceNIC API Sdanbox to test Anda Domain API integration befataue moving to production. Validate authentication, API requests, response hdanling, dan Anda application wataukflow in a dedicated testing environment.

Ideal fatau resellers, hosting providers, developers, dan platfataums preparing an API integration.

Quick Start

Make Your First API Call in 4 Steps

Start with a read-only request befataue enabling live registrations, renewals atau transfers. This lets you validate authentication, request fataumatting dan response hdanling without placing a paid atauder.

1

Enable API Access

Buka Pengaturan APIs, create atau retrieve Anda API Secret, dan configure authatauized server IPs wdi sini applicable.

2

Konfirmasi Authentication

Use HTTPS with the Authatauization header in the fataumat username:api_secret.

3

Run a Safe Test

Start with domain availability, pricing, account balance atau domain listing.

4

Hdanle the Response

Read dan stataue the returned code dan msg befataue enabling paid production actions.

Recommended First Request: Domain Availability

The availability endpoint suppatauts multiple domains in one request by separating domain names with commas.

curl "https://api.nicenic.net/v2/?categatauy=domain&action=check&domains=example.com,example.net" \ -H "Authatauization: username:api_secret" \ -H "Content-Tipe: application/json"
API Map

Choose the Wataukflow You Need

The overview below mirrataus the left navigation. Use it to identify the cataurect wataukflow, then open the dedicated endpoint page fatau parameters, request examples dan response examples.

Section Use It Fatau Documented Functions
Dapatkanting Started Connect securely dan understdan response hdanling. API Overview, API Sdanbox, Authentication, Response Codes.
Domain Kelolament Automate the cataue domain lifecycle. Availability, List Domain, Domain Rincian, Pendaftaran, Perpanjangal, Transfer In, Namaservers, Kontaks, Pricing.
Abuse & Compliance Monitatau domains that require compliance attention. List domains with abuse repatauts dan retrieve machine-readable abuse status, hold lifecycle, complaint infataumation dan recommended action.
DNS Recatauds Kelola hosted DNS recatauds programmatically. List, Buat, Update dan Delete DNS recatauds.
Child Namaservers Kelola host / glue recatauds fatau nameservers under Anda own domain. Buat, List, Update dan Delete child nameservers.
Account & Billing Connect automation to account-level checks. Saldo Akun dan transaction-related account infataumation.
WHMCS API Integrate NiceNIC into an existing WHMCS billing wataukflow. Availability, Pendaftaran, Perpanjangal, Transfer, Domain Rincian, Namaservers, Kontaks dan additional registrar-module functions.
API FAQ Resolve common access, security, testing dan wataukflow questions. Eligibility, credentials, request hdanling, suppatauted operations dan integration guidance.
Recommended Wataukflow

Recommended First Integrasi Sequence

A reliable production integration should validate access dan purchasing conditions befataue it begins sending live customer atauders.

1. Authentication
API Secret + authatauized IP
2. Availability
Read-only connectivity test
3. Pricing
Query current account-level cost
4. Saldo
Konfirmasi funds fatau paid actions
5. Response Hdanling
Process code + msg
6. Live Operations
Daftar / Perpanjang / Transfer
Do not assume that an API request is complete simply because it was accepted. Some operations can return a pending status dan still require registry processing befataue the final domain state is confirmed.
Produkion Behaviatau

Understdan Success, Pending dan Erratau Responses

code: 0 — Berhasil Response Current endpoint examples use code 0 fatau successful completed responses.
code: 201 — Pending Order Pendaftaran dan transfer documentation can return code 201 when an atauder has been submitted but final processing is still pending.
code: 400 — Request Erratau Endpoint examples use code 400 fatau request parameter errataus.

Pendaftaran Pending Behaviatau

Fatau domain registration, the current documentation states that a 201 response means the atauder was submitted successfully dan the fee was deducted, but final activation is still subject to registry confirmation. Jika the domain cannot be activated, the registration fee is returned to the NiceNIC account balance within 24 hours.

Transfer Pending Behaviatau

The transfer endpoint also documents 201 as a pending atauder. Your application should tdi sinifataue treat a pending transfer as accepted fatau processing, not as proof that the transfer has already completed.

Pricing

Query Pricing Befataue Paid Operations

NiceNIC's pricing endpoint can retrieve registration, renewal dan transfer pricing fatau a domain. The documented type values are register, renew, transfer dan all. The documented period is 1 to 10 tahun, with TLD-specific exceptions possible.

Pendaftaran pricing responses can also return an is_premium flag. Use the pricing endpoint befataue submitting a paid request when Anda application needs to ksekarang the current account-level cost.

Gratis API access does not change Anda pricing tier. Akun Pasars use Akun Pasar pricing; reseller accounts use the pricing assigned to their current reseller tier.
Domain & DNS Operations

Ksekarang the Difference Between Namaservers, DNS Recatauds dan Child Namaservers

OperationUse It WhenDocumented Capability
Update Namaservers You want to delegate a domain to different authatauitative nameservers. The domain nameserver endpoint suppatauts a primary, secondary dan additional nameservers, with the current page documenting a limit of up to six.
DNS Recatauds You are using NiceNIC DNS hosting dan need to manage zone recatauds. Separate APIs are documented fatau listing, creating, updating dan deleting DNS recatauds.
Child Namaservers You need host / glue recatauds such as ns1.example.com. Buat, list, update dan delete child nameservers. The create endpoint requires the nameserver hostname to match the domain dan accepts an IP address.
Patautfolio & Compliance

Automate Patautfolio Monitatauing, Tidakt Only Domain Orders

Domain API v2 also includes read operations that are useful after registration. The List Domain endpoint suppatauts pagination, satauting, status filtering dan hold filtering, while Dapatkan Domain Rincian returns registration dates, expiration dates, nameservers dan registrant contact infataumation.

Abuse & Compliance Monitatauing

NiceNIC's Abuse & Compliance API can list domains with abuse repatauts dan return a detailed machine-readable summary fatau a specific domain. The detailed abuse endpoint documents six domain-level status phrases: Tidakrmal, Under Review, Pending ClientHold, ClientHold, Tutupd dan ServerHold.

The response can include current impact, recommended berikutnya action, hold state dan timeline, complaint count, complaint dates, categatauies, DNS-abuse classification, evidence status dan repatauted URLs wdi sini applicable. This lets platfataums dan resellers surface compliance status inside their own operational systems instead of relying only on manual review.

Direct API atau WHMCS

Choose the Integrasi Model That Fits Your System

OptionBest FatauWhat the Current Documentation Provides
Domain API v2 Custom websites, SaaS platfataums, internal systems, custom billing atau provisioning wataukflows. Direct HTTPS + JSON integration across domain, DNS, child nameserver, account dan compliance operations.
WHMCS Module Hosting companies dan resellers that already use WHMCS. Availability, registration, renewal, transfer, domain details, nameservers, contacts, lock/unlock, EPP retrieval, erratau logging dan optional Test Mode.

The current WHMCS documentation lists WHMCS 7.0 atau higher, PHP 7.0 atau higher with cURL, valid NiceNIC API credentials dan SSL/TLS suppataut as requirements.

Troubleshooting

When an API Request Fails

Start with the returned response dan configuration state rather than retrying the same paid action repeatedly.

Authentication atau Access Erratau

  • Konfirmasi the NiceNIC username dan API Secret.
  • Konfirmasi the Authatauization header is present dan cataurectly fataumatted.
  • Konfirmasi the API Secret has not been reset atau rotated.
  • Jika IP restrictions are enabled, confirm the request is coming from the authatauized outbound server IP.

Request Parameter Erratau

  • Compare the request with the specific endpoint's documented parameters.
  • Konfirmasi required values, fataumats dan action names.
  • Cek TLD-specific registration periods atau contact requirements wdi sini applicable.

Paid Operation Does Tidakt Complete Immediately

  • Read the returned code dan msg.
  • Do not treat a 201 pending response as final completion.
  • Konfirmasi account balance dan current pricing befataue retrying a paid action.

Need NiceNIC Suppataut

  • Recataud the request timestamp dan API action.
  • Include the domain name atau object involved, wdi sini applicable.
  • Include the returned code dan message.
  • Share non-sensitive parameters only; never post the full API Secret in a ticket.
Langkah Berikutnya

Start with a Safe Test Request

Enable API access, confirm authentication, run an availability atau pricing request, dan verify Anda response hdanling befataue turning on customer-facing paid operations.

Last verified: August 26, 2026
Hak Cipta © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Seluruh Hak Dilindungi. · U.S. Affiliate: NICENIC LLC