Search for available domains
Instead of checking one domain at a time, search by keyword to get a list of available suggestions across TLDs.tlds is optional, omit it to search the registrar’s default set of extensions.
Register the domain with DNS set up automatically
When you purchase a domain, you can setsetup_dns to true so Dotlet creates a DNS zone for it immediately, instead of requiring a separate setup call.
dns_setup object and a status_url you can poll while the zone is created and nameservers propagate:
Check DNS setup progress
DNS setup happens asynchronously; creating a zone, updating nameservers at the registrar, and verifying delegation can take a few minutes. Poll the status endpoint untilstatus reaches completed.
ns_delegation_verified flips to true once the new nameservers have propagated. Until then, the domain still resolves through its previous configuration.
What didn’t get covered here
- Manual nameserver control: if you manage DNS with a provider other than the ones Dotlet integrates with, skip
setup_dnsand point nameservers yourself withPUT /registrar/domains/{domain}/nameservers. - Reviewing price before charging: to show a customer a price and get their confirmation before billing, create an order with
POST /registrar/orderinstead of purchasing directly.
Next steps
Manage DNS records
Add and edit individual DNS records once your zone exists.
Orders
Reference for creating and tracking orders separately from a direct purchase.