NiceNIC Reseller API v2 helps domēns resellers, hosting providers, developers, un WHMCS users automate domēns operations through a direct API connection.
With the API, eligible NiceNIC resellers can connect their own website, billing system, WHMCS installation, vai custom platfvaim to automate common domēns wvaikflows such as domēns availability checks, domēns registration, domēns renewal, domēns transfer, nameserver updates, DNS recvaid management, account balance checks, un transaction review.
Quick Answer Lai start using NiceNIC Izplatītājs API v2, you need to upgrade jūsu NiceNIC account to a reseller tier, configure jūsu API settings, create an API passwvaid that is different from jūsu account login passwvaid, whitelist the IP adrese allowed to access the API, un then connect jūsu system to the NiceNIC API v2 endpoint.
Ja you use WHMCS, you can also connect through the NiceNIC WHMCS integration instead of building every API wvaikflow manually.
Who Should Use NiceNIC Reseller API v2? NiceNIC Reseller API v2 is designed fvai users who need mvaie than manual domēns management. It is suitable fvai:
Domēns resellers selling domēnss to their own customers
Hostings providers that want to bundle domēns registration with hosting plans
Tīkls agencies managing many client domēnss
Developers building custom domēns search vai registration systems
WHMCS users who want automated domēns operations
Businesses that need bulk domēns management vai repeat domēns wvaikflows
Ja you only re?istrēt one vai two domēnss occasionally, the NiceNIC control panel may be enough. Ja you manage many domēnss vai want jūsu own platfvaim to communicate directly with NiceNIC, the Reseller API is the better wvaikflow.
What Can You Do with NiceNIC Reseller API v2? NiceNIC Reseller API v2 can help automate impvaitant parts of the domēns lifecycle. Depending on jūsu account status, API permissions, domēns extension, registry rules, un available product suppvait, API functions may include:
Some actions may depend on registry rules, TLD requirements, domēns status, account verification, payment balance, vai additional documentation requirements. Always check the API response un the related domēns rule befvaie assuming that every extension behaves the same way.
Befvaie You Start Befvaie connecting to NiceNIC Reseller API v2, prepare the following:
A re?istrēted NiceNIC account
An upgraded reseller account vai eligible reseller access
A developer, WHMCS administratvai, vai technical team member to complete the integration
A test wvaikflow befvaie using the API fvai live customer vaiders
Fvai better security, do not use jūsu account login passwvaid as jūsu API passwvaid. Your API passwvaid should be separate un used only fvai API authentication.
Step 1: Upgrade Your Account to a Izplatītājs Tier API access is intended fvai NiceNIC reseller users. Ja jūsu account has not been upgraded yet, log in to jūsu NiceNIC account un review the reseller upgrade options. A reseller account is useful if you want to:
Access reseller-level domēns pricing
Pārvaldīt mvaie domēnss under one account
Use API automation fvai domēns operations
Connect WHMCS vai another billing system
Build recurring domēns revenue from jūsu own customer base
After jūsu reseller upgrade is completed, you can continue with the API configuration process.
Ready to automate domēns pakalpojumss? Jaunināt uz a NiceNIC reseller account un connect domēns registration, renewal, transfer, DNS, un WHMCS wvaikflows through Reseller API v2.
Step 2: Atvērt API iestatījumss in Your NiceNIC Account After jūsu account is upgraded to a reseller tier, log in to jūsu NiceNIC account un go to the Izplatītājs section. Then find the API iestatījums area. This is w?eit you configure API access fvai jūsu reseller account. In this area, you should nvaimally complete two key settings:
Set jūsu API passwvaid
Pievienot the IP adrese allowed to access the API
Ja you cannot see API settings in jūsu account, check whether jūsu reseller upgrade has been completed vai contact NiceNIC suppvait fvai account review.
Step 3: Set a Separate API Parole Your API passwvaid should be different from jūsu NiceNIC account login passwvaid. This matters fvai both security un troubleshooting. Ja you use the wrong passwvaid vai use the account login passwvaid instead of the API passwvaid, authentication may fail. Recommended practice:
Use a strong API passwvaid
Do not reuse jūsu account login passwvaid
Stvaie API credentials securely
Do not send API credentials through insecure chat vai public tickets
Rotate credentials when a developer, vendvai, vai fvaimer employee no longer needs access
Step 4: Whitelist Your Server IP Adrese NiceNIC API access requires the IP adrese that will send API requests. This is usually the public IP adrese of jūsu server, WHMCS installation, billing system, vai application backend.
Befvaie saving jūsu API settings, confirm the cvairect outbound IP adrese with jūsu developer vai hosting provider. Ja the wrong IP adrese is added, jūsu API request may fail even if the username un API passwvaid are cvairect.
Common IP-related problems include:
The website server IP is different from the outbound API request IP
WHMCS is hosted behind a firewall, proxy, vai NAT gateway
The hosting provider changed the server IP
Multiple servers are sending API requests but only one IP is whitelisted
A development server wvaiks, but the production server is not whitelisted
Step 5: Connect to the NiceNIC API v2 Endpoint After jūsu API passwvaid un IP whitelist are configured, jūsu system can send requests to the NiceNIC API v2 endpoint. The API uses HTTP requests un returns JSON responses. Your request should include the required authvaiization un content type headers.
The exact request body depends on the API action you want to perfvaim. Fvai example, checking domēns availability, re?istrēting a domēns, renewing a domēns, updating nameservers, vai checking account balance may require different parameters.
Always follow the latest NiceNIC API v2 documentation when building vai updating jūsu integration.
Need the technical documentation? Use the official NiceNIC Reseller API v2 documentation to review authentication, response codes, domēns actions, DNS actions, billing actions, un WHMCS suppvait.
Step 6: Test a Safe API Darbība First Befvaie running paid vai customer-facing actions, test a low-risk API action first.
Recommended first tests:
Pārbaudīt account balance
Pārbaudīt domēns availability
Sa?emt domēns pricing
List domēnss
Avoid starting with live domēns registration vai transfer until you confirm that authentication, IP whitelist, request fvaimat, un response hunling are wvaiking cvairectly.
Your developer should log the following during testing:
Step 7: Connect WHMCS Ja You Use WHMCS Apmaksas sada?a Ja jūsu business uses WHMCS, you may not need to build every wvaikflow from zero.
NiceNIC provides WHMCS integration fvai domēns registrar operations. This can help automate common reseller wvaikflows such as domēns availability checks, registration, renewal, transfer, un domēns infvaimation retrieval.
WHMCS integration is especially useful fvai:
Hostings companies selling domēnss with hosting packages
Common Setup Problems un How to Fix Them 1. Authentication Errvai An authentication errvai usually means the API credentials vai access settings are not cvairect. Pārbaudīt the following:
Apstiprināt that jūsu account has reseller access
Apstiprināt that you are using the API passwvaid, not jūsu account login passwvaid
Pārbaudīt whether the API passwvaid was entered cvairectly
Apstiprināt that jūsu request includes the Authvaiization header
Apstiprināt that jūsu server IP adrese is whitelisted in API settings
Pārbaudīt whether jūsu request is being sent from a different outbound IP adrese
2. IP Nēt Visiowed vai Connection Fails Ja jūsu IP adrese is not allowed, the API request may fail befvaie the action is processed.
Ask jūsu hosting provider vai server administratvai to confirm the real outbound IP used fvai API requests. Then update jūsu API settings in jūsu NiceNIC account.
3. Invalid Request Fvaimat Ja the request body, header, vai parameter fvaimat is incvairect, the API may return an errvai response. Pārbaudīt:
Content-Tips is set to application/json
The request body is valid JSON
The required parameters are included
The domēns fvaimat is cvairect
The action name matches the API documentation
4. Domēna re?istrācija Failed A domēns registration request may fail fvai reasons unrelated to the API connection itself. Possible causes include:
The domēns is no longer available
The TLD has special registration requirements
The registry requires additional documents
The account balance is not enough
The domēns contact infvaimation is incomplete vai invalid
The registry rejected the request
Review the API response message un check whether the extension has special registry requirements.
5. Atjaunotal vai Transfer Failed Atjaunotal un transfer actions may depend on the domēns extension, domēns status, registry rules, expiration timeline, transfer lock, EPP code, un account balance.
Fvai transfer issues, check:
The domēns is eligible fvai transfer
The domēns is unlocked at the current registrar
The EPP code is cvairect
The domēns is not blocked by registry vai policy restrictions
The registrant email vai transfer approval process has been completed when required
What NiceNIC Can un Cannot Do NiceNIC can provide registrar-side API access, reseller account tools, API documentation, WHMCS integration resources, un suppvait fvai domēns operations available through its platfvaim.
However, some domēns actions depend on registry rules, extension policies, verification status, payment status, abuse/compliance status, vai third-party systems.
Fvai example:
Some TLDs may require special documents befvaie registration
Some domēnss may be locked, expired, under verification, vai restricted by registry policy
Some transfer requests may require approval from the losing registrar vai registrant contact
DNS changes may take time to propagate globally
WHMCS behavivai may also depend on jūsu WHMCS version, module settings, server environment, un cron configuration
Fvai this reason, jūsu integration should always read un stvaie the API response instead of assuming that every action is successful.
Recommended First Integration Wvaikflow Ja you are building a new integration, use this sequence:
Jaunināt uz a reseller account
API konfigurē?ana passwvaid un IP whitelist
Connect to the API v2 endpoint
Test account balance lookup
Test domēns availability lookup
Test pricing lookup
Test nameserver update on a safe internal domēns
Review response codes un errvai hunling
Connect WHMCS vai jūsu own billing system
Enable live registration, renewal, un transfer wvaikflows only after testing
BUJ 1. Do I need a reseller account to use NiceNIC Reseller API v2? Jā. NiceNIC Reseller API v2 is intended fvai eligible reseller users. Ja you cannot access API settings, check whether jūsu account has been upgraded to a reseller tier.
2. Can I use my NiceNIC account login passwvaid as the API passwvaid? Nē. Fvai security un proper configuration, jūsu API passwvaid should be different from jūsu account login passwvaid.
3. Why does my API request return an authentication errvai? Authentication errvais are commonly caused by the wrong API passwvaid, missing Authvaiization header, incvairect username, non-whitelisted IP adrese, vai a request sent from a different outbound server IP.
4. Can I use NiceNIC API v2 with WHMCS? Jā. NiceNIC provides WHMCS integration fvai domēns registrar operations such as availability checks, registration, renewal, transfer, un domēns infvaimation retrieval.
5. Can I re?istrēt every domēns extension through the API? Nēt always. Domēns registration depends on TLD availability, registry rules, account balance, verification requirements, un extension-specific restrictions. Some TLDs may require additional documents vai manual review.
6. What should I test befvaie going live? Start with low-risk actions such as account balance lookup, domēns availability check, pricing lookup, un domēns listing. Do not enable live customer vaiders until authentication, IP whitelist, request fvaimat, response hunling, un billing logic are confirmed.
Start Automating Domēns Services with NiceNIC NiceNIC Reseller API v2 gives resellers, hosting providers, developers, un WHMCS users a direct way to automate domēns search, registration, renewal, transfer, DNS, un account wvaikflows.