Link registrar and DNS provider accounts to import domains automatically, or use our REST API to list and add domains from your own apps and scripts—with the same DNS TXT verification and plan limits as the web dashboard.
GET /api/v1/domainsPOST /api/v1/domainsAuthorization: Bearer md_…
Two ways to use the API
MyDomains offers registrar API connections for importing your portfolio and a personal REST API for reading and adding domains from code. Both respect your plan features and domain limits.
API Connections
Save credentials for Cloudflare, Namecheap, GoDaddy, and other supported providers.
Import domains in bulk from Import / Export without retyping hostnames.
When DNS is hosted at the provider, we can publish your verification TXT record during import.
REST API Access
Use a personal access token to call GET /api/v1/domains for your full domain list
or POST /api/v1/domains to add domains programmatically.
Responses include verification status, expiry, nameservers, registrar data, notifications, and folders.
Verification & limits
New domains added via the REST API use the same apex TXT check as Add Domain and bulk import.
Your plan’s domain quota is enforced before each add. Unverified domains are stored as pending until DNS propagates.
What you can do with the API
Automate onboarding, sync portfolios from registrars, and build internal tools on top of your MyDomains account.
01
Registrar import
Connect & import from your providers
Store API keys and tokens under API Connections, then pull domain lists from supported registrars and DNS hosts into MyDomains.
Ideal when you manage dozens or hundreds of names across multiple accounts.
GET /api/v1/domains returns every domain in your account as JSON—verification status, expiration, nameservers, registrar details, notification preferences, and folder assignments.
Authenticate with Authorization: Bearer or X-Api-Key using your personal token from API Access.
JSON responses for scripts, cron jobs, and dashboards
POST /api/v1/domains adds one or more domains to your account.
Send {"domain":"example.com"} or a domains array.
We check your plan limit and look for your verification TXT record at the zone apex—the same flow as Add Domain and bulk import.
Verified when TXT is found; pending otherwise
RDAP metadata filled in after verification
Batch responses group added, pending, and skipped domains
Combine registrar API import with spreadsheet workflows.
Export your portfolio, edit offline, and upload CSV files—or use API connections for live sync from your providers.
Set up registrar connections, grab your REST API token, and keep every domain in sync—whether you import from a provider or push names from your own code.