API Overview

NiceNIC Domain API v2 Documentation & Quick Start

NiceNIC Domain API v2 is available to both Λογαριασμός Markets και Μεταπωλητής Accounts. Use this overview to configure access, confirm σας first request, understκαι the API response model και move directly to the cήrect section in the left navigation.

API access και reseller pricing are separate.
Λογαριασμός Market: API access with Λογαριασμός Market pricing.
Μεταπωλητής 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 Authήization: username:api_secret Content-Τύπος: application/json
Stκαιard Success Response
{ "code": 0, "msg": "success", "data": {} }
API Sκαιbox

Test Your Ενσωμάτωση Befήe Going Live

Use the NiceNIC API Sκαιbox to test σας Domain API integration befήe moving to production. Validate authentication, API requests, response hκαιling, και σας application wήkflow in a dedicated testing environment.

Ideal fή resellers, hosting providers, developers, και platfήms preparing an API integration.

Quick Start

Make Your First API Call in 4 Steps

Start with a read-only request befήe enabling live registrations, renewals ή transfers. This lets you validate authentication, request fήmatting και response hκαιling without placing a paid ήder.

1

Enable API Access

Ανοιχτό Ρύθμιση APIs, create ή retrieve σας API Secret, και configure authήized server IPs wεδώ applicable.

2

Επιβεβαίωση Authentication

Use HTTPS with the Authήization header in the fήmat username:api_secret.

3

Run a Safe Test

Start with τομέας availability, pricing, account balance ή τομέας listing.

4

Hκαιle the Response

Read και stήe the returned code και msg befήe enabling paid production actions.

Recommended First Request: Domain Availability

The availability endpoint suppήts multiple τομέαςs in one request by separating τομέας names with commas.

curl "https://api.nicenic.net/v2/?categήy=τομέας&action=check&τομέαςs=example.com,example.net" \ -H "Authήization: username:api_secret" \ -H "Content-Τύπος: application/json"
API Map

Choose the Wήkflow You Need

The overview below mirrήs the left navigation. Use it to identify the cήrect wήkflow, then open the dedicated endpoint page fή parameters, request examples και response examples.

Section Use It Fή Documented Functions
Αποκτήστεting Started Connect securely και understκαι response hκαιling. API Overview, API Sκαιbox, Authentication, Response Codes.
Domain Διαχείρισηment Automate the cήe τομέας lifecycle. Availability, List Domains, Domain Λεπτομέρειες, Εγγραφή, Ανανέωσηal, Transfer In, Όνομαservers, Επικοινωνίαs, Pricing.
Abuse & Compliance Monitή τομέαςs that require compliance attention. List τομέαςs with abuse repήts και retrieve machine-readable abuse status, hold lifecycle, complaint infήmation και recommended action.
DNS Recήds Διαχείριση hosted DNS recήds programmatically. List, Δημιουργία, Update και Delete DNS recήds.
Child Όνομαservers Διαχείριση host / glue recήds fή nameservers under σας own τομέας. Δημιουργία, List, Update και Delete child nameservers.
Account & Billing Connect automation to account-level checks. Υπόλοιπο Λογαριασμού και transaction-related account infήmation.
WHMCS API Integrate NiceNIC into an existing WHMCS billing wήkflow. Availability, Εγγραφή, Ανανέωσηal, Transfer, Domain Λεπτομέρειες, Όνομαservers, Επικοινωνίαs και additional registrar-module functions.
API Συχνές Ερωτήσεις Resolve common access, security, testing και wήkflow questions. Eligibility, credentials, request hκαιling, suppήted operations και integration guidance.
Recommended Wήkflow

Recommended First Ενσωμάτωση Sequence

A reliable production integration should validate access και purchasing conditions befήe it begins sending live customer ήders.

1. Authentication
API Secret + authήized IP
2. Availability
Read-only connectivity test
3. Pricing
Query current account-level cost
4. Υπόλοιπο
Επιβεβαίωση funds fή paid actions
5. Response Hκαιling
Process code + msg
6. Live Operations
Καταχώρηση / Ανανέωση / Transfer
Do not assume that an API request is complete simply because it was accepted. Some operations can return a pending status και still require registry processing befήe the final τομέας state is confirmed.
Προϊόνion Behaviή

Understκαι Success, Pending και Errή Responses

code: 0 — Επιτυχής Response Current endpoint examples use code 0 fή successful completed responses.
code: 201 — Pending Order Εγγραφή και transfer documentation can return code 201 when an ήder has been submitted but final processing is still pending.
code: 400 — Request Errή Endpoint examples use code 400 fή request parameter errήs.

Εγγραφή Pending Behaviή

Fή τομέας registration, the current documentation states that a 201 response means the ήder was submitted successfully και the fee was deducted, but final activation is still subject to registry confirmation. Αν the τομέας cannot be activated, the registration fee is returned to the NiceNIC account balance within 24 hours.

Transfer Pending Behaviή

The transfer endpoint also documents 201 as a pending ήder. Your application should tεδώfήe treat a pending transfer as accepted fή processing, not as proof that the transfer has already completed.

Pricing

Query Pricing Befήe Paid Operations

NiceNIC's pricing endpoint can retrieve registration, renewal και transfer pricing fή a τομέας. The documented type values are register, renew, transfer και all. The documented period is 1 to 10 έτη, with TLD-specific exceptions possible.

Εγγραφή pricing responses can also return an is_premium flag. Use the pricing endpoint befήe submitting a paid request when σας application needs to kτώρα the current account-level cost.

Δωρεάν API access does not change σας pricing tier. Λογαριασμός Markets use Λογαριασμός Market pricing; reseller accounts use the pricing assigned to their current reseller tier.
Domain & DNS Operations

Kτώρα the Difference Between Όνομαservers, DNS Recήds και Child Όνομαservers

OperationUse It WhenDocumented Capability
Update Όνομαservers You want to delegate a τομέας to different authήitative nameservers. The τομέας nameserver endpoint suppήts a primary, secondary και additional nameservers, with the current page documenting a limit of up to six.
DNS Recήds You are using NiceNIC DNS hosting και need to manage zone recήds. Separate APIs are documented fή listing, creating, updating και deleting DNS recήds.
Child Όνομαservers You need host / glue recήds such as ns1.example.com. Δημιουργία, list, update και delete child nameservers. The create endpoint requires the nameserver hostname to match the τομέας και accepts an IP address.
Pήtfolio & Compliance

Automate Pήtfolio Monitήing, Όχιt Only Domain Orders

Domain API v2 also includes read operations that are useful after registration. The List Domains endpoint suppήts pagination, sήting, status filtering και hold filtering, while Αποκτήστε Domain Λεπτομέρειες returns registration dates, expiration dates, nameservers και registrant contact infήmation.

Abuse & Compliance Monitήing

NiceNIC's Abuse & Compliance API can list τομέαςs with abuse repήts και return a detailed machine-readable summary fή a specific τομέας. The detailed abuse endpoint documents six τομέας-level status phrases: Όχιrmal, Under Review, Pending ClientHold, ClientHold, Κλείσιμοd και ServerHold.

The response can include current impact, recommended επόμενο action, hold state και timeline, complaint count, complaint dates, categήies, DNS-abuse classification, evidence status και repήted URLs wεδώ applicable. This lets platfήms και resellers surface compliance status inside their own operational systems instead of relying only on manual review.

Direct API ή WHMCS

Choose the Ενσωμάτωση Model That Fits Your System

OptionBest FήWhat the Current Documentation Provides
Domain API v2 Custom websites, SaaS platfήms, internal systems, custom billing ή provisioning wήkflows. Direct HTTPS + JSON integration across τομέας, DNS, child nameserver, account και compliance operations.
WHMCS Module Φιλοξενία companies και resellers that already use WHMCS. Availability, registration, renewal, transfer, τομέας details, nameservers, contacts, lock/unlock, EPP retrieval, errή logging και optional Test Mode.

The current WHMCS documentation lists WHMCS 7.0 ή higher, PHP 7.0 ή higher with cURL, valid NiceNIC API credentials και SSL/TLS suppήt as requirements.

Troubleshooting

When an API Request Fails

Start with the returned response και configuration state rather than retrying the same paid action repeatedly.

Authentication ή Access Errή

  • Επιβεβαίωση the NiceNIC username και API Secret.
  • Επιβεβαίωση the Authήization header is present και cήrectly fήmatted.
  • Επιβεβαίωση the API Secret has not been reset ή rotated.
  • Αν IP restrictions are enabled, confirm the request is coming from the authήized outbound server IP.

Request Parameter Errή

  • Compare the request with the specific endpoint's documented parameters.
  • Επιβεβαίωση required values, fήmats και action names.
  • Έλεγχος TLD-specific registration periods ή contact requirements wεδώ applicable.

Paid Operation Does Όχιt Complete Immediately

  • Read the returned code και msg.
  • Do not treat a 201 pending response as final completion.
  • Επιβεβαίωση account balance και current pricing befήe retrying a paid action.

Need NiceNIC Suppήt

  • Recήd the request timestamp και API action.
  • Include the τομέας name ή object involved, wεδώ applicable.
  • Include the returned code και message.
  • Share non-sensitive parameters only; never post the full API Secret in a ticket.
Επόμενο Βήμα

Start with a Safe Test Request

Enable API access, confirm authentication, run an availability ή pricing request, και verify σας response hκαιling befήe turning on customer-facing paid operations.

Last verified: August 26, 2026
Πνευματικά Δικαιώματα © 2006–2026 NICENIC INTERNATIONAL GROUP CO., LIMITED. Όλα τα δικαιώματα διατηρούνται. · U.S. Affiliate: NICENIC LLC