NiceNIC דומיין API v2 Documentation & Quick Start
NiceNIC דומיין API v2 is available to both חשבון שוקs ו משווק 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 with חשבון שוק pricing.
משווק Account: API access with the pricing assigned to the current reseller tier.
Test Your אינטגרציה Befאוe Going Live
Use the NiceNIC API Sוbox to test שלך דומיין 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.
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.
Enable API Access
פתוח הגדרות APIs, create או retrieve שלך API Secret, ו configure authאוized server IPs wכאן applicable.
אישור Authentication
Use HTTPS with the Authאוization header in the fאוmat username:api_secret.
Run a Safe Test
Start with דומיין availability, pricing, account balance או דומיין listing.
Hוle the Response
Read ו stאוe the returned code ו msg befאוe enabling paid production actions.
Recommended First Request: דומיין Availability
The availability endpoint suppאוts multiple דומייןs in one request by separating דומיין names with commas.
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. |
| דומיין ניהולment | Automate the cאוe דומיין lifecycle. | Availability, List דומיינים, דומיין פרטים, רישום, חידוש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, דומיין פרטים, שם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 First אינטגרציה Sequence
A reliable production integration should validate access ו purchasing conditions befאוe it begins sending live customer אוders.
API Secret + authאוized IP
Read-only connectivity test
Query current account-level cost
אישור funds fאו paid actions
Process code + msg
הרשם / חידוש / Transfer
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.
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.
Kעכשיו the Difference Between שםservers, DNS Recאוds ו Child שםservers
| Operation | Use It When | Documented 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. |
Automate Pאוtfolio Monitאוing, לאt Only דומיין Orders
דומיין API v2 also includes read operations that are useful after registration. The List דומיינים endpoint suppאוts pagination, sאוting, status filtering ו hold filtering, while קבל דומיין פרטים 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.
Choose the אינטגרציה Model That Fits Your System
| Option | Best Fאו | What the Current Documentation Provides |
|---|---|---|
| דומיין 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.
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
201pending 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.






