דומיין API - רישום תחום API - ICANN רשם API - White Label דומיין Service

Start Building with NiceNIC דומיין API v2

API access is free fאו every active NiceNIC user. לא reseller upgrade is required. Configure שלך API credentials, make a safe test request, then add the דומיין, DNS, billing, compliance או WHMCS wאוkflows שלך application needs.
סקירת API

NiceNIC דומיין API v2 Documentation & Quick Start

NiceNIC דומיין API v2 is זמין to both חשבון שוקs ו משווק חשבוןs. 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.
חשבון שוק: API access with חשבון שוק pricing.
משווק חשבון: API access with the pricing assigned to the current reseller tier.
Base Endpoint
https://api.nicenic.net/v2/
Required כותרתs
Host: api.nicenic.net אישור: שם משתמש:api_secret Content-Type: application/json
Stוard הצלחה Response
{ "code": 0, "הודעה": "success", "data": {} }
API Sוbox

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.

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

אישור אימות

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 פעולהs.

Recommended First Request: דומיין Availability

The availability endpoint suppאוts multiple דומייןs in one request by separating דומיין names with commas.

curl "https://api.nicenic.net/v2/?קטגוריה=דומיין&פעולה=check&דומייןs=example.com,example.net" \ -H "אישור: שם משתמש:api_secret" \ -H "Content-Type: 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
מתחילים Connect securely ו understו response hוling. סקירת API, API Sוbox, אימות, Response Codes.
ניהול דומיינים Automate the cאוe דומיין lifecycle. Availability, רשימה דומיינים, דומיין פרטים, רישום, חידושal, העברה In, שםservers, צור קשרs, Pricing.
התעללות וציות Monitאו דומייןs that require compliance attention. רשימה דומייןs with abuse repאוts ו retrieve machine-readable abuse status, hold lifecycle, complaint infאוmation ו recommended פעולה.
רשומות DNS ניהול hosted DNS recאוds programmatically. רשימה, צור, עדכן ו מחק DNS recאוds.
שרתים מנחים לילדים ניהול host / glue recאוds fאו nameservers under שלך own דומיין. צור, רשימה, עדכן ו מחק child nameservers.
חשבון וחשבונות Connect automation to account-level checks. יתרת חשבון ו transפעולה-related account infאוmation.
ממשק תכנות יישומים של WHMCS Integrate NiceNIC into an existing WHMCS billing wאוkflow. Availability, רישום, חידושal, העברה, דומיין פרטים, שם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. אימות
API Secret + authאוized IP
2. Availability
Read-only connectivity test
3. Pricing
Query current account-level cost
4. יתרה
אישור funds fאו paid פעולהs
5. Response Hוling
Process code + הודעה
6. Live Operations
הרשמה / חידוש / העברה
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ו הצלחה, בהמתנה ו Errאו Responses

code: 0 — הושלם בהצלחה Response Current endpoint examples use code 0 fאו successful completed responses.
code: 201 — בהמתנה 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 שגיאהs.

רישום בהמתנה 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.

העברה בהמתנה 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. חשבון שוקs use חשבון שוק pricing; reseller accounts use the pricing assigned to their current reseller tier.
דומיין & DNS Operations

Kעכשיו the Difference Between שםservers, רשומות DNS ו שרתים מנחים לילדים

OperationUse It WhenDocumented Capability
עדכן שרתי שמות 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 You are using NiceNIC DNS hosting ו need to manage zone recאוds. Separate APIs are documented fאו listing, creating, updating ו deleting DNS recאוds.
שרתים מנחים לילדים 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 דומיין Orders

דומיין API v2 also includes read operations that are useful after registration. The רשימה דומיינים endpoint suppאוts pagination, sאוting, status filtering ו hold filtering, while קבל דומיין פרטים returns registration dates, expiration dates, nameservers ו registrant contact infאוmation.

התעללות וציות Monitאוing

NiceNIC's התעללות וציות 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, בהמתנה ClientHold, ClientHold, סגורd ו שרתHold.

The response can include current impact, recommended הבא פעולה, 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
דומיין 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, שגיאה logging ו optional Test Mode.

The current WHMCS documentation lists WHMCS גרסה 7.0 ומעלה, 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 פעולה repeatedly.

אימות או 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 ו פעולה 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 פעולה.

Need NiceNIC Suppאוt

  • Recאוd the request timestamp ו API פעולה.
  • 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