NiceNIC Reseller API v2 helps tên mi?n resellers, hosting providers, developers, và WHMCS users automate tên mi?n operations through a direct API connection.
With the API, eligible NiceNIC resellers can connect their own website, billing system, WHMCS installation, ho?c custom platfho?cm to automate common tên mi?n who?ckflows such as tên mi?n availability checks, tên mi?n registration, tên mi?n renewal, tên mi?n transfer, nameserver updates, DNS recho?cd management, account balance checks, và transaction review.
Quick Answer ??n start using NiceNIC ??i ly API v2, you need to upgrade c?a b?n NiceNIC account to a reseller tier, configure c?a b?n API settings, create an API passwho?cd that is different from c?a b?n account login passwho?cd, whitelist the IP address allowed to access the API, và then connect c?a b?n system to the NiceNIC API v2 endpoint.
N?u you use WHMCS, you can also connect through the NiceNIC WHMCS integration instead of building every API who?ckflow manually.
Who Should Use NiceNIC Reseller API v2? NiceNIC Reseller API v2 is designed fho?c users who need mho?ce than manual tên mi?n management. It is suitable fho?c:
Tên mi?n resellers selling tên mi?ns to their own customers
Hosting providers that want to bundle tên mi?n registration with hosting plans
Web agencies managing many client tên mi?ns
Developers building custom tên mi?n search ho?c registration systems
WHMCS users who want automated tên mi?n operations
Businesses that need bulk tên mi?n management ho?c repeat tên mi?n who?ckflows
N?u you only ??ng ky one ho?c two tên mi?ns occasionally, the NiceNIC control panel may be enough. N?u you manage many tên mi?ns ho?c want c?a b?n own platfho?cm to communicate directly with NiceNIC, the Reseller API is the better who?ckflow.
What Can You Do with NiceNIC Reseller API v2? NiceNIC Reseller API v2 can help automate impho?ctant parts of the tên mi?n lifecycle. Depending on c?a b?n account status, API permissions, tên mi?n extension, registry rules, và available product suppho?ct, API functions may include:
Some actions may depend on registry rules, TLD requirements, tên mi?n status, account verification, payment balance, ho?c additional documentation requirements. Always check the API response và the related tên mi?n rule befho?ce assuming that every extension behaves the same way.
Befho?ce You Start Befho?ce connecting to NiceNIC Reseller API v2, prepare the following:
A ??ng kyed NiceNIC account
An upgraded reseller account ho?c eligible reseller access
Enough account balance fho?c paid tên mi?n operations
Your API username và API passwho?cd
The server IP address that will send API requests
A developer, WHMCS administratho?c, ho?c technical team member to complete the integration
A test who?ckflow befho?ce using the API fho?c live customer ho?cders
Fho?c better security, do not use c?a b?n account login passwho?cd as c?a b?n API passwho?cd. Your API passwho?cd should be separate và used only fho?c API authentication.
Step 1: Upgrade Your Account to a ??i ly Tier API access is intended fho?c NiceNIC reseller users. N?u c?a b?n account has not been upgraded yet, log in to c?a b?n NiceNIC account và review the reseller upgrade options. A reseller account is useful if you want to:
Access reseller-level tên mi?n pricing
Qu?n ly mho?ce tên mi?ns under one account
Use API automation fho?c tên mi?n operations
Connect WHMCS ho?c another billing system
Build recurring tên mi?n revenue from c?a b?n own customer base
After c?a b?n reseller upgrade is completed, you can continue with the API configuration process.
Ready to automate tên mi?n D?ch v?s? Nang c?p lên a NiceNIC reseller account và connect tên mi?n registration, renewal, transfer, DNS, và WHMCS who?ckflows through Reseller API v2.
Step 2: M? Cài ??t APIs in Your NiceNIC Account After c?a b?n account is upgraded to a reseller tier, log in to c?a b?n NiceNIC account và go to the ??i ly section. Then find the Cài ??t API area. This is wt?i ?ay you configure API access fho?c c?a b?n reseller account. In this area, you should nho?cmally complete two key settings:
Set c?a b?n API passwho?cd
Thêm the IP address allowed to access the API
N?u you cannot see API settings in c?a b?n account, check whether c?a b?n reseller upgrade has been completed ho?c contact NiceNIC suppho?ct fho?c account review.
Step 3: Set a Separate API M?t kh?u Your API passwho?cd should be different from c?a b?n NiceNIC account login passwho?cd. This matters fho?c both security và troubleshooting. N?u you use the wrong passwho?cd ho?c use the account login passwho?cd instead of the API passwho?cd, authentication may fail. Recommended practice:
Use a strong API passwho?cd
Do not reuse c?a b?n account login passwho?cd
Stho?ce API credentials securely
Do not send API credentials through insecure chat ho?c public tickets
Rotate credentials when a developer, vendho?c, ho?c fho?cmer employee no longer needs access
Step 4: Whitelist Your Server IP ??a ch? NiceNIC API access requires the IP address that will send API requests. This is usually the public IP address of c?a b?n server, WHMCS installation, billing system, ho?c application backend.
Befho?ce saving c?a b?n API settings, confirm the cho?crect outbound IP address with c?a b?n developer ho?c hosting provider. N?u the wrong IP address is added, c?a b?n API request may fail even if the username và API passwho?cd are cho?crect.
Common IP-related problems include:
The website server IP is different from the outbound API request IP
WHMCS is hosted behind a firewall, proxy, ho?c NAT gateway
The hosting provider changed the server IP
Multiple servers are sending API requests but only one IP is whitelisted
A development server who?cks, but the production server is not whitelisted
Step 5: Connect to the NiceNIC API v2 Endpoint After c?a b?n API passwho?cd và IP whitelist are configured, c?a b?n system can send requests to the NiceNIC API v2 endpoint. The API uses HTTP requests và returns JSON responses. Your request should include the required authho?cization và content type headers.
The exact request body depends on the API action you want to perfho?cm. Fho?c example, checking tên mi?n availability, ??ng kying a tên mi?n, renewing a tên mi?n, updating nameservers, ho?c checking account balance may require different parameters.
Always follow the latest NiceNIC API v2 documentation when building ho?c updating c?a b?n integration.
Need the technical documentation? Use the official NiceNIC Reseller API v2 documentation to review authentication, response codes, tên mi?n actions, DNS actions, billing actions, và WHMCS suppho?ct.
Step 6: Test a Safe API Hành ??ng First Befho?ce running paid ho?c customer-facing actions, test a low-risk API action first.
Recommended first tests:
Ki?m tra account balance
Ki?m tra tên mi?n availability
Nh?n tên mi?n pricing
List tên mi?ns
Avoid starting with live tên mi?n registration ho?c transfer until you confirm that authentication, IP whitelist, request fho?cmat, và response hvàling are who?cking cho?crectly.
Your developer should log the following during testing:
Step 7: Connect WHMCS N?u You Use WHMCS Thanh toán N?u c?a b?n business uses WHMCS, you may not need to build every who?ckflow from zero.
NiceNIC provides WHMCS integration fho?c tên mi?n registrar operations. This can help automate common reseller who?ckflows such as tên mi?n availability checks, registration, renewal, transfer, và tên mi?n infho?cmation retrieval.
WHMCS integration is especially useful fho?c:
Hosting companies selling tên mi?ns with hosting packages
??i lys that need automated customer billing
Agencies managing tên mi?n ho?cders fho?c multiple clients
Businesses that want renewal automation và customer-facing ho?cder who?ckflows
Befho?ce enabling automation in production, test c?a b?n WHMCS module configuration carefully. Xác nh?n registrar module settings, API credentials, whitelisted IP address, tên mi?n pricing, TLD availability, và renewal behaviho?c.
Using WHMCS? Connect WHMCS with NiceNIC to automate tên mi?n registration, renewal, transfer, và management who?ckflows.
Common Setup Problems và How to Fix Them 1. Authentication Errho?c An authentication errho?c usually means the API credentials ho?c access settings are not cho?crect. Ki?m tra the following:
Xác nh?n that c?a b?n account has reseller access
Xác nh?n that you are using the API passwho?cd, not c?a b?n account login passwho?cd
Ki?m tra whether the API passwho?cd was entered cho?crectly
Xác nh?n that c?a b?n request includes the Authho?cization header
Xác nh?n that c?a b?n server IP address is whitelisted in API settings
Ki?m tra whether c?a b?n request is being sent from a different outbound IP address
2. IP Kh?ngt T?t c?owed ho?c Connection Fails N?u c?a b?n IP address is not allowed, the API request may fail befho?ce the action is processed.
Ask c?a b?n hosting provider ho?c server administratho?c to confirm the real outbound IP used fho?c API requests. Then update c?a b?n API settings in c?a b?n NiceNIC account.
3. Invalid Request Fho?cmat N?u the request body, header, ho?c parameter fho?cmat is incho?crect, the API may return an errho?c response. Ki?m tra:
Content-Lo?i is set to application/json
The request body is valid JSON
The required parameters are included
The tên mi?n fho?cmat is cho?crect
The action name matches the API documentation
4. ??ng ky tên mi?n Failed A tên mi?n registration request may fail fho?c reasons unrelated to the API connection itself. Possible causes include:
The tên mi?n is no longer available
The TLD has special registration requirements
The registry requires additional documents
The account balance is not enough
The tên mi?n contact infho?cmation is incomplete ho?c invalid
The registry rejected the request
Review the API response message và check whether the extension has special registry requirements.
5. Gia h?nal ho?c Transfer Failed Gia h?nal và transfer actions may depend on the tên mi?n extension, tên mi?n status, registry rules, expiration timeline, transfer lock, EPP code, và account balance.
Fho?c transfer issues, check:
The tên mi?n is eligible fho?c transfer
The tên mi?n is unlocked at the current registrar
The EPP code is cho?crect
The tên mi?n is not blocked by registry ho?c policy restrictions
The registrant email ho?c transfer approval process has been completed when required
What NiceNIC Can và Cannot Do NiceNIC can provide registrar-side API access, reseller account tools, API documentation, WHMCS integration resources, và suppho?ct fho?c tên mi?n operations available through its platfho?cm.
However, some tên mi?n actions depend on registry rules, extension policies, verification status, payment status, abuse/compliance status, ho?c third-party systems.
Fho?c example:
Some TLDs may require special documents befho?ce registration
Some tên mi?ns may be locked, expired, under verification, ho?c restricted by registry policy
Some transfer requests may require approval from the losing registrar ho?c registrant contact
DNS changes may take time to propagate globally
WHMCS behaviho?c may also depend on c?a b?n WHMCS version, module settings, server environment, và cron configuration
Fho?c this reason, c?a b?n integration should always read và stho?ce the API response instead of assuming that every action is successful.
Recommended First Integration Who?ckflow N?u you are building a new integration, use this sequence:
Nang c?p lên a reseller account
C?u hình API passwho?cd và IP whitelist
Connect to the API v2 endpoint
Test account balance lookup
Test tên mi?n availability lookup
Test pricing lookup
Test nameserver update on a safe internal tên mi?n
Review response codes và errho?c hvàling
Connect WHMCS ho?c c?a b?n own billing system
Enable live registration, renewal, và transfer who?ckflows only after testing
Cau h?i th??ng g?p 1. Do I need a reseller account to use NiceNIC Reseller API v2? Có. NiceNIC Reseller API v2 is intended fho?c eligible reseller users. N?u you cannot access API settings, check whether c?a b?n account has been upgraded to a reseller tier.
2. Can I use my NiceNIC account login passwho?cd as the API passwho?cd? Kh?ng. Fho?c security và proper configuration, c?a b?n API passwho?cd should be different from c?a b?n account login passwho?cd.
3. Why does my API request return an authentication errho?c? Authentication errho?cs are commonly caused by the wrong API passwho?cd, missing Authho?cization header, incho?crect username, non-whitelisted IP address, ho?c a request sent from a different outbound server IP.
4. Can I use NiceNIC API v2 with WHMCS? Có. NiceNIC provides WHMCS integration fho?c tên mi?n registrar operations such as availability checks, registration, renewal, transfer, và tên mi?n infho?cmation retrieval.
5. Can I ??ng ky every tên mi?n extension through the API? Kh?ngt always. Tên mi?n registration depends on TLD availability, registry rules, account balance, verification requirements, và extension-specific restrictions. Some TLDs may require additional documents ho?c manual review.
6. What should I test befho?ce going live? Start with low-risk actions such as account balance lookup, tên mi?n availability check, pricing lookup, và tên mi?n listing. Do not enable live customer ho?cders until authentication, IP whitelist, request fho?cmat, response hvàling, và billing logic are confirmed.
Start Automating Tên mi?n Services with NiceNIC NiceNIC Reseller API v2 gives resellers, hosting providers, developers, và WHMCS users a direct way to automate tên mi?n search, registration, renewal, transfer, DNS, và account who?ckflows.