NiceNIC Reseller API v2 helps domain resellers, hosting providers, developers, va WHMCS users automate domain operations through a direct API connection.
With the API, eligible NiceNIC resellers can connect their own website, billing system, WHMCS installation, yoki custom platfyokim to automate common domain wyokikflows such as domain availability checks, domain registration, domain renewal, domain transfer, nameserver updates, DNS recyokid management, account balance checks, va transaction review.
Quick Answer Uchun start using NiceNIC Reseller API v2, you need to upgrade sizning NiceNIC account to a reseller tier, configure sizning API settings, create an API passwyokid that is different from sizning account login passwyokid, whitelist the IP manzil allowed to access the API, va then connect sizning system to the NiceNIC API v2 endpoint.
Agar you use WHMCS, you can also connect through the NiceNIC WHMCS integration instead of building every API wyokikflow manually.
Who Should Use NiceNIC Reseller API v2? NiceNIC Reseller API v2 is designed fyoki users who need myokie than manual domain management. It is suitable fyoki:
Domen resellers selling domains to their own customers
Hosting providers that want to bundle domain registration with hosting plans
Veb agencies managing many client domains
Developers building custom domain search yoki registration systems
WHMCS users who want automated domain operations
Businesses that need bulk domain management yoki repeat domain wyokikflows
Agar you only ro?yxatdan o?tkazish one yoki two domains occasionally, the NiceNIC control panel may be enough. Agar you manage many domains yoki want sizning own platfyokim to communicate directly with NiceNIC, the Reseller API is the better wyokikflow.
What Can You Do with NiceNIC Reseller API v2? NiceNIC Reseller API v2 can help automate impyokitant parts of the domain lifecycle. Depending on sizning account status, API permissions, domain extension, registry rules, va available product suppyokit, API functions may include:
Some actions may depend on registry rules, TLD requirements, domain status, account verification, payment balance, yoki additional documentation requirements. Always check the API response va the related domain rule befyokie assuming that every extension behaves the same way.
Befyokie You Start Befyokie connecting to NiceNIC Reseller API v2, prepare the following:
A ro?yxatdan o?tkazished NiceNIC account
An upgraded reseller account yoki eligible reseller access
A developer, WHMCS administratyoki, yoki technical team member to complete the integration
A test wyokikflow befyokie using the API fyoki live customer yokiders
Fyoki better security, do not use sizning account login passwyokid as sizning API passwyokid. Your API passwyokid should be separate va used only fyoki API authentication.
Step 1: Upgrade Your Account to a Reseller Tier API access is intended fyoki NiceNIC reseller users. Agar sizning account has not been upgraded yet, log in to sizning NiceNIC account va review the reseller upgrade options. A reseller account is useful if you want to:
Access reseller-level domain pricing
Boshqarish myokie domains under one account
Use API automation fyoki domain operations
Connect WHMCS yoki another billing system
Build recurring domain revenue from sizning own customer base
After sizning reseller upgrade is completed, you can continue with the API configuration process.
Ready to automate domain Xizmats? Yangilash a NiceNIC reseller account va connect domain registration, renewal, transfer, DNS, va WHMCS wyokikflows through Reseller API v2.
Step 2: Ochish API Sozlamasis in Your NiceNIC Account After sizning account is upgraded to a reseller tier, log in to sizning NiceNIC account va go to the Reseller section. Then find the API Sozlamasi area. This is wbu yerni you configure API access fyoki sizning reseller account. In this area, you should nyokimally complete two key settings:
Set sizning API passwyokid
Qo‘shish the IP manzil allowed to access the API
Agar you cannot see API settings in sizning account, check whether sizning reseller upgrade has been completed yoki contact NiceNIC suppyokit fyoki account review.
Step 3: Set a Separate API Parol Your API passwyokid should be different from sizning NiceNIC account login passwyokid. This matters fyoki both security va troubleshooting. Agar you use the wrong passwyokid yoki use the account login passwyokid instead of the API passwyokid, authentication may fail. Recommended practice:
Use a strong API passwyokid
Do not reuse sizning account login passwyokid
Styokie API credentials securely
Do not send API credentials through insecure chat yoki public tickets
Rotate credentials when a developer, vendyoki, yoki fyokimer employee no longer needs access
Step 4: Whitelist Your Server IP Manzil NiceNIC API access requires the IP manzil that will send API requests. This is usually the public IP manzil of sizning server, WHMCS installation, billing system, yoki application backend.
Befyokie saving sizning API settings, confirm the cyokirect outbound IP manzil with sizning developer yoki hosting provider. Agar the wrong IP manzil is added, sizning API request may fail even if the username va API passwyokid are cyokirect.
Common IP-related problems include:
The website server IP is different from the outbound API request IP
WHMCS is hosted behind a firewall, proxy, yoki NAT gateway
The hosting provider changed the server IP
Multiple servers are sending API requests but only one IP is whitelisted
A development server wyokiks, but the production server is not whitelisted
Step 5: Connect to the NiceNIC API v2 Endpoint After sizning API passwyokid va IP whitelist are configured, sizning system can send requests to the NiceNIC API v2 endpoint. The API uses HTTP requests va returns JSON responses. Your request should include the required authyokiization va content type headers.
The exact request body depends on the API action you want to perfyokim. Fyoki example, checking domain availability, ro?yxatdan o?tkazishing a domain, renewing a domain, updating nameservers, yoki checking account balance may require different parameters.
Always follow the latest NiceNIC API v2 documentation when building yoki updating sizning integration.
Need the technical documentation? Use the official NiceNIC Reseller API v2 documentation to review authentication, response codes, domain actions, DNS actions, billing actions, va WHMCS suppyokit.
Step 6: Test a Safe API Amal First Befyokie running paid yoki customer-facing actions, test a low-risk API action first.
Recommended first tests:
Текшириш account balance
Текшириш domain availability
Oling domain pricing
List domains
Avoid starting with live domain registration yoki transfer until you confirm that authentication, IP whitelist, request fyokimat, va response hvaling are wyokiking cyokirectly.
Your developer should log the following during testing:
Step 7: Connect WHMCS Agar You Use WHMCS Hisob-kitob Agar sizning business uses WHMCS, you may not need to build every wyokikflow from zero.
NiceNIC provides WHMCS integration fyoki domain registrar operations. This can help automate common reseller wyokikflows such as domain availability checks, registration, renewal, transfer, va domain infyokimation retrieval.
WHMCS integration is especially useful fyoki:
Hosting companies selling domains with hosting packages
Businesses that want renewal automation va customer-facing yokider wyokikflows
Befyokie enabling automation in production, test sizning WHMCS module configuration carefully. Tasdiqlash registrar module settings, API credentials, whitelisted IP manzil, domain pricing, TLD availability, va renewal behaviyoki.
Using WHMCS? Connect WHMCS with NiceNIC to automate domain registration, renewal, transfer, va management wyokikflows.
Common Setup Problems va How to Fix Them 1. Authentication Erryoki An authentication erryoki usually means the API credentials yoki access settings are not cyokirect. Текшириш the following:
Tasdiqlash that sizning account has reseller access
Tasdiqlash that you are using the API passwyokid, not sizning account login passwyokid
Текшириш whether the API passwyokid was entered cyokirectly
Tasdiqlash that sizning request includes the Authyokiization header
Tasdiqlash that sizning server IP manzil is whitelisted in API settings
Текшириш whether sizning request is being sent from a different outbound IP manzil
2. IP Yo‘qt Barchasiowed yoki Connection Fails Agar sizning IP manzil is not allowed, the API request may fail befyokie the action is processed.
Ask sizning hosting provider yoki server administratyoki to confirm the real outbound IP used fyoki API requests. Then update sizning API settings in sizning NiceNIC account.
3. Invalid Request Fyokimat Agar the request body, header, yoki parameter fyokimat is incyokirect, the API may return an erryoki response. Текшириш:
Content-Turi is set to application/json
The request body is valid JSON
The required parameters are included
The domain fyokimat is cyokirect
The action name matches the API documentation
4. Domain ro‘yxatdan o‘tkazish Failed A domain registration request may fail fyoki reasons unrelated to the API connection itself. Possible causes include:
The domain is no longer available
The TLD has special registration requirements
The registry requires additional documents
The account balance is not enough
The domain contact infyokimation is incomplete yoki invalid
The registry rejected the request
Review the API response message va check whether the extension has special registry requirements.
5. Yangilashal yoki Transfer Failed Yangilashal va transfer actions may depend on the domain extension, domain status, registry rules, expiration timeline, transfer lock, EPP code, va account balance.
Fyoki transfer issues, check:
The domain is eligible fyoki transfer
The domain is unlocked at the current registrar
The EPP code is cyokirect
The domain is not blocked by registry yoki policy restrictions
The registrant email yoki transfer approval process has been completed when required
What NiceNIC Can va Cannot Do NiceNIC can provide registrar-side API access, reseller account tools, API documentation, WHMCS integration resources, va suppyokit fyoki domain operations available through its platfyokim.
However, some domain actions depend on registry rules, extension policies, verification status, payment status, abuse/compliance status, yoki third-party systems.
Fyoki example:
Some TLDs may require special documents befyokie registration
Some domains may be locked, expired, under verification, yoki restricted by registry policy
Some transfer requests may require approval from the losing registrar yoki registrant contact
DNS changes may take time to propagate globally
WHMCS behaviyoki may also depend on sizning WHMCS version, module settings, server environment, va cron configuration
Fyoki this reason, sizning integration should always read va styokie the API response instead of assuming that every action is successful.
Recommended First Integration Wyokikflow Agar you are building a new integration, use this sequence:
Yangilash a reseller account
API sozlamalari passwyokid va IP whitelist
Connect to the API v2 endpoint
Test account balance lookup
Test domain availability lookup
Test pricing lookup
Test nameserver update on a safe internal domain
Review response codes va erryoki hvaling
Connect WHMCS yoki sizning own billing system
Enable live registration, renewal, va transfer wyokikflows only after testing
Tez-tez so‘raladigan savollar 1. Do I need a reseller account to use NiceNIC Reseller API v2? Ha. NiceNIC Reseller API v2 is intended fyoki eligible reseller users. Agar you cannot access API settings, check whether sizning account has been upgraded to a reseller tier.
2. Can I use my NiceNIC account login passwyokid as the API passwyokid? Yo‘q. Fyoki security va proper configuration, sizning API passwyokid should be different from sizning account login passwyokid.
3. Why does my API request return an authentication erryoki? Authentication erryokis are commonly caused by the wrong API passwyokid, missing Authyokiization header, incyokirect username, non-whitelisted IP manzil, yoki a request sent from a different outbound server IP.
4. Can I use NiceNIC API v2 with WHMCS? Ha. NiceNIC provides WHMCS integration fyoki domain registrar operations such as availability checks, registration, renewal, transfer, va domain infyokimation retrieval.
5. Can I ro?yxatdan o?tkazish every domain extension through the API? Yo‘qt always. Domen registration depends on TLD availability, registry rules, account balance, verification requirements, va extension-specific restrictions. Some TLDs may require additional documents yoki manual review.
6. What should I test befyokie going live? Start with low-risk actions such as account balance lookup, domain availability check, pricing lookup, va domain listing. Do not enable live customer yokiders until authentication, IP whitelist, request fyokimat, response hvaling, va billing logic are confirmed.
Start Automating Domen Services with NiceNIC NiceNIC Reseller API v2 gives resellers, hosting providers, developers, va WHMCS users a direct way to automate domain search, registration, renewal, transfer, DNS, va account wyokikflows.