Domain Name API is an ICANN-accredited registrar and domain reseller program founded by Atak Domain. Join 40,000+ domain resellers in 200+ countries, sell 830+ domain extensions under your own brand and automate registration, transfer and renewal with our domain reseller API or the ready-made modules for WHMCS, WiseCP, Blesta, HostBill, ClientExec, FOSSBilling and HostFact below.
Our newest tool: dna runs every Domain Name API operation from your terminal and from AI agents. Search, register, renew and transfer domains, manage DNS, DNSSEC, SSL and hosting, with a safety gate that waits for your approval before anything billable.
# Install on Linux / macOS
curl -fsSL https://raw.githubusercontent.com/domainreseller/cli/main/scripts/install.sh | sh
# Connect Claude Code (start in the OTE test environment)
claude mcp add dna -- dna mcp serve --env ote
# Or simply run dna for the interactive shell
dna# Install on Windows (PowerShell)
irm https://raw.githubusercontent.com/domainreseller/cli/main/scripts/install.ps1 | iexThe interactive shell checks names live while you type, lets you manage your domains from menus and walks you through registrations and renewals. Every purchase waits for your OK, and Connect an AI agent sets up Claude Code, ChatGPT, Cursor and 20+ other agents in a few keystrokes.
Copy a prompt, paste it into your AI assistant and let it do the work. Every prompt starts in the OTE test environment and stops for your approval before anything billable.
Set up dna in Claude Code
Set up the dna CLI for me (https://github.com/domainreseller/cli).
1. Install it with the official install script for my operating system, then run
`dna version` and `dna doctor`.
2. Install the Claude Code skill with `dna agent skill --install` and add the MCP
server with `claude mcp add dna -- dna mcp serve --env ote`.
3. Don't ask me to paste my API key into this chat. Tell me to run
`dna auth login --env ote` myself, then check the connection with
`dna --ote account get`.
Work only in the OTE test environment and never use `--yes` without my approval.
Set up dna in ChatGPT Codex
Set up the dna CLI for me (https://github.com/domainreseller/cli).
1. Install it with the official install script for my operating system, then run
`dna version` and `dna doctor`.
2. Add it to my Codex config (`~/.codex/config.toml`) as an MCP server named `dna`
with the command `dna` and the arguments `mcp serve --env ote`.
3. Don't ask me to paste my API key into this chat. Tell me to run
`dna auth login --env ote` myself, then check the connection with
`dna --ote account get`.
Work only in the OTE test environment and never use `--yes` without my approval.
No terminal? Ask ChatGPT or Claude chat
Read https://raw.githubusercontent.com/domainreseller/cli/main/llms.txt and the dna
docs it links to. Then give me the exact dna commands, step by step, to register a
domain in the OTE test environment: install, log in, search, preview with `--dry-run`
and register. Explain what each command does.
More prompts for everyday work
Find and register a domain
With dna, check whether brandname.com, brandname.net and brandname.io are available.
Show the results with prices in a table, then preview the registration of the cheapest
available one with `--dry-run`. Don't register anything until I say yes.
Upcoming renewals
With dna, list my domains that expire in the next 60 days with their renewal prices,
sorted by expiry date. Don't renew anything.
Point a domain to a server
With dna, point example.com to 203.0.113.10: add A records for `@` and `www`, then
show me the final DNS zone. Ask me before changing or deleting any existing record.
Transfer a domain in
With dna, check whether example.org can be transferred to my account, tell me what I
still need (auth code, unlocking) and preview the transfer with `--dry-run`.
Order an SSL certificate
With dna, find the cheapest DV SSL certificate for example.com, create a CSR and
preview the order. Wait for my approval before buying.
One Domain Name API account, three reseller programs: sell domain names, SSL certificates and white-label hosting under your own brand.
Registrar modules that connect your billing panel to Domain Name API, so your customers can search, register, transfer and renew domains on your own site.
Important
Warning
Do not use GitHub's green Code → Download ZIP button; it downloads the untested development branch.
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
Building your own integration? Call the domain reseller API directly with our PHP, Node.js, Ruby, Python and Go libraries.
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
composer require domainreseller/php-dna # PHP
npm install nodejs-dna # Node.js
gem install domainnameapi # Ruby
pip install domainnameapi # Python
go get github.com/domainreseller/go-dna # GoQuick start: PHP
require_once __DIR__.'/vendor/autoload.php';
$dna = new \DomainNameApi\DomainNameAPI_PHPLibrary($resellerId, $apiKey);
$dna->CheckAvailability(['hello', 'world123x0'], ['com', 'net'], 1, 'create');Quick start: Node.js
const DomainNameApi = require('nodejs-dna');
const api = new DomainNameApi('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'your-api-key');
const domains = await api.CheckAvailability(['hello', 'world'], ['com', 'net'], 1);Quick start: Ruby
require 'domainnameapi'
dna = DomainNameApi::Client.new('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx', 'your-api-key')
dna.check_availability(['hello', 'world123x0'], ['com', 'net'], 1, 'create')Quick start: Python
from domainnameapi import DomainNameAPI
dna = DomainNameAPI("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "your-api-key")
dna.check_availability(["hello", "world123x0"], ["com", "net"], 1, "create")Quick start: Go
import dna "github.com/domainreseller/go-dna"
client := dna.New("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "your-api-key", false)
result := client.CheckAvailability([]string{"hello", "world123x0"}, []string{"com", "net"}, 1, "create")Sell more than domains: modules for our SSL Reseller and Reseller Hosting programs, with SSL certificates and cPanel / Plesk hosting from the same account.
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
|
📥 Download · 📝 Docs |
📥 Download · 📝 Docs |
Every module asks for the same two values:
| Module field | What to enter |
|---|---|
| Username | Reseller ID, a UUID like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx |
| Password | API Key |
Tip
Find your Reseller ID and API Key in your Domain Name API panel under API Settings.
Caution
These are API credentials. Your panel login e-mail and password will not work here.
What is a domain reseller?
A domain reseller sells domain names to their own customers, under their own brand and prices, while an accredited registrar handles the registration with each registry. With Domain Name API you get that registrar side: 830+ extensions, a reseller panel and the domain reseller API, plus ready-made modules for the billing panel you already use.
How do I become a domain reseller with Domain Name API?
Sign up on the Domain Reseller page. There's no setup fee and no minimum deposit. Then take your Reseller ID and API Key from API Settings in your panel, install the module for your billing panel from the list above and start selling.
Can an AI agent manage my domains?
Yes. The dna CLI exposes every Domain Name API operation as an MCP tool for Claude Code, Cursor, Codex and other MCP clients. Billable and destructive calls wait for your approval, and with
--env ote agents practise in the test environment first.
Which file should I download?
Always the package attached to the module's latest release (the 📥 Download links above). The green Code → Download ZIP button gives you the untested development branch.
Where do I find my Reseller ID and API Key?
In your Domain Name API panel under API Settings. Your panel login details will not work in the modules.
Can I test before going live?
Yes. The PHP, Node.js, Ruby, Python and Go libraries can connect to the test (OTE) environment; see their docs for the switch.