How to Start Domain Reselling? (Domain Name API Quick Start Guide)
Domain Name API is a platform that lets you automate domain registration, transfer, and DNS management through a single API integration. It supports 800+ TLDs and provides ready-made modules for WHMCS, WiseCP, HostBill, Blesta, Clientexec, FOSSBilling, and Hostfact.
Managing domain operations manually is time-consuming and prone to errors.
With Domain Name API, you can automate domain registration, transfers, and DNS management from a single integration point. This guide covers everything from account setup to your first live domain registration.
1. What is Domain Name API?
Domain Name API is a domain management platform designed for resellers and developers who need to automate domain registration, transfer, and DNS operations. It provides programmatic access to 800+ TLDs through a single, standardized Domain API.
The platform offers two ways to interact with it:
Reseller Panel
A browser-based control panel for managing domain operations without writing any code.
Domain API (REST/SOAP)
A programmatic interface for PHP, .NET, Python, and any language that supports HTTP. Every request requires a Reseller ID and an API Key for authentication.
2. What Can You Do with Domain Name API?
Once your account is active, you can perform the following operations through the panel or the Domain API:
- Domain availability checks and real-time pricing
- Single and bulk domain registration
- Domain transfers and renewals
- DNS record management (A, MX, CNAME, TXT, NS)
- Whois privacy and ID protection
- Nameserver configuration and updates
- EPP/auth code retrieval
- Sub-reseller account creation and management
- Ready-made integrations: WHMCS, WiseCP, HostBill, Blesta, Clientexec, FOSSBilling, Hostfact
Ready to become a domain reseller?
Access 800+ TLDs, REST & SOAP API support, and ready-made integrations for WHMCS, WiseCP, HostBill, Blesta, Clientexec, FOSSBilling, and Hostfact — all from a single platform.
3. How Does It Work?
Domain Name API operates across three layers:
Every Domain API request requires two credentials: your Reseller ID and your API Key. Both are available under Reseller Settings > Integration Details in your panel.
4. Test vs. Live Environment
Domain Name API provides two separate environments. Always develop and test in the test environment before switching to live.
dm.test.domainnameapi.com
https://dm.test.domainnameapi.com
- No real charges apply
- Safe for API integration testing
- Registrations are not live on the internet
- Experiment freely — no consequences
- Domain transfers not supported
dm.domainnameapi.com
https://dm.domainnameapi.com
- Real domain registrations are processed
- Requires account balance/deposit
- All transactions are billed
- Use for actual customer orders
- Changes take real effect immediately
Environment Comparison
5. Step-by-Step Setup
Complete the following steps after your reseller account has been activated:
- Activate Your AccountSubmit your application at domainnameapi.com. Once approved, you will receive an activation email containing your username and password.
- Log In to the Test EnvironmentGo to dm.test.domainnameapi.com and sign in with the same credentials. Use this environment to familiarize yourself with the platform and validate your Domain API integration — no real money is involved.
- Complete Your Contact InformationFill in your technical contact details under My Account > Contact Information. This information is applied to all domain registration and transfer operations.
- Set Your Default NameserversConfigure your default nameservers under Reseller Settings > Default Nameservers. For testing, you can use ns1.domainnameapi.com and ns2.domainnameapi.com.
- Retrieve Your API Key and Reseller IDGo to Reseller Settings > Integration Details to view your Reseller ID and API Key. Both are required in every Domain API request.
- Add a Deposit (Live Environment)To register domains in the live environment, you must add balance to your account. Go to My Account > Deposit to complete a payment.
- Switch to the Live EnvironmentOnce testing is complete, log in to the live environment at dm.domainnameapi.com and begin processing customer orders.
6. How to Register a Domain
Domain registration through the Reseller Panel takes two steps:
Step 1 — Search for a Domain
Enter the domain name you want to register in the search bar at the top of the panel.
A list of available TLDs with pricing will be displayed.
Click the cart icon next to the domain name you want to register.
Step 2 — Complete the Order
Enter the registration period, nameserver addresses, and contact details.
Enable Whois privacy (ID protection) if required.
Confirm the order. If your account balance is sufficient, the domain is registered immediately.
Programmatic Registration via Domain API
Use the following code examples to register domains and check availability through the Domain API:
PHP — Domain API Registration
// Read Domain API credentials from environment variables
$apiKey = getenv('DOMAINNAMEAPI_KEY');
$resellerId = getenv('DOMAINNAMEAPI_RESELLER_ID');
// Check domain availability
$check = $client->checkDomain([
'resellerId' => $resellerId,
'apiKey' => $apiKey,
'domain' => 'example-domain.com'
]);
// Register the domain
$register = $client->registerDomain([
'resellerId' => $resellerId,
'apiKey' => $apiKey,
'domain' => 'example-domain.com',
'period' => 1, // years
'nameservers' => ['ns1.domainnameapi.com', 'ns2.domainnameapi.com'],
]);
cURL — REST Domain API Request
# Domain availability check via REST Domain API
curl -X POST https://api.domainnameapi.com/v1/domain/check \
-H 'Content-Type: application/json' \
-d '{
"resellerId": "YOUR_RESELLER_ID",
"apiKey": "YOUR_API_KEY",
"domain": "example-domain.com"
}'
7. Common Issues and Solutions
- Your API Key and Reseller ID are correct (Reseller Settings > Integration Details)
- Your account balance is sufficient (live environment only)
- The domain is actually available — run an availability check first
- Your nameserver format is valid (e.g. ns1.example.com)
- Your server IP is whitelisted if you are getting connection errors
8. Frequently Asked Questions
What do I need to create a reseller account?
Fill out the application form at domainnameapi.com. Once your application is approved, you will receive an activation email. After activation, you automatically gain access to all gTLD, ccTLD, and available products.
Are registrations made in the test environment real?
No. Domains registered in the test environment are not submitted to any public registry, do not resolve on the internet, and incur no charges. The test environment exists solely for validating your Domain API integration before going live.
Where do I find my API Key and Reseller ID?
Both are available under Reseller Settings > Integration Details in your panel. You can also use the 'Send Details via Email' button on that page to have them delivered to your registered email address.
Which languages and integrations are supported?
Domain Name API supports any language that can make HTTP requests, including PHP, .NET, and Python. Ready-made modules are available for WHMCS, WiseCP, HostBill, Blesta, Clientexec, FOSSBilling, and Hostfact. Full documentation is available in the API Library section of your panel.
When and how can I add balance?
You can add balance at any time via My Account > Deposit in the live environment. No balance is required to use the test environment.
Can I create sub-reseller accounts?
Yes. You can create sub-reseller accounts from the Reseller Panel, assign separate balances to each, and manage all operations centrally.
How do I initiate a domain transfer?
Obtain the EPP (auth) code from the current registrar and confirm that the transfer lock has been removed. Then submit a transfer request through the Reseller Panel or the Domain API. Note: transfers are not supported in the test environment.
Why choose Domain Name API?
Domain Name API is built for resellers and developers who need a reliable, scalable domain automation platform. Here is what sets it apart:
800+ TLD support
Register .com, .net, .io, .co.uk, and hundreds more through a single Domain API integration.
40,000+ active resellers
A proven, enterprise-grade infrastructure trusted at scale.
REST & SOAP Domain API
Fully compatible with PHP, .NET, Python, and any modern stack.
Ready-made module support
WHMCS, WiseCP, HostBill, Blesta, Clientexec, FOSSBilling, Hostfact — plug in and go.
24/7 technical support
Dedicated support team available via ticket system.
Learn more and apply: www.domainnameapi.com
9. Related Articles
How to Sell .TR and .COM.TR Domains?
Required documents and registration steps for Turkish local domain extensions.
Read article →What is a Default Contact? How to Create One?
Guide to defining and editing your default contact information.
Read article →How to Register a Domain?
Step-by-step domain registration process through the reseller panel.
Read article →