Registering domains: how it works, and who has an API
A researched guide for anyone registering domains on behalf of customers: how the system fits together, whether you can buy direct, what to do when a name is taken, and which registrars offer an API. Every claim has its source and the date it was checked.
- How it worksICANN, registries, registrars, resellers and you; WHOIS, RDAP and EPP; what each layer charges.
- Can you buy direct?What the registries say, and what it takes to become an accredited registrar or a Nominet member.
- Brokers and the aftermarketWhen a name is taken: contacting the holder, escrow, expired names, premium names. No broker is recommended.
- Transfers and renewalsAuth codes, the 60-day rules, grace periods, DNSSEC, privacy, and the .uk change due in February 2027.
- Registrars with APIs16 registrars compared from their own pages, with every field sourced or marked not stated.
- Choosing for customersWhy the customer should be the registrant, and a checklist for registering on someone's behalf.
Short answers
- Can you buy a domain straight from the registry?
- The sources show registries working through accredited registrars: ICANN describes one registry in charge of each top-level domain, with registrars paying it a per-domain fee and free to charge what they wish. Verisign says it manages relationships with about 3,000 accredited registrars. For .uk, Nominet requires every registrar to be a member. Whether a registry also sells to the public is not stated on the pages we could read for Nominet, EURid and .PT. Source: ICANN, what does ICANN do (older page); Verisign, the registry; Nominet, .uk registry FAQ. Checked 25 Nov 2026.
- Do you need a broker?
- Only when the name you want is already registered and the holder will not sell through a normal route. For a free name, no: you register it through a registrar. See brokers and the aftermarket.
- What does a .com cost at the bottom of the chain?
- Verisign's wholesale fee rose from $10.26 to $10.97 per domain-year on 1 November 2026, and ICANN's transaction fee is $0.20 per domain-year. Registrar margin sits on top and is set by each registrar. Source: Verisign Form 10-Q, quarter to 30 Sep 2026 (SEC); ICANN, registrar fee letter for fiscal year 2027 (PDF). Checked 25 Nov 2026.
The comparison at a glance
The eleven registrars first named in the brief. The full table, with prices, security and reseller options, is on the registrars page. A grey "not stated" chip means the vendor's own pages did not say.
| Registrar | API | Sandbox | .uk | .eu | .pt |
|---|---|---|---|---|---|
| Cloudflare Registrar | limited | not stated | yes | not listed | not listed |
| AWS Route 53 Domains | yes | not stated | yes | yes | no |
| Gandi | yes | yes | yes | yes | yes |
| Porkbun Partly from a search summary | yes | yes | yes | yes | no |
| Namecheap Not read on the official page: from a search summary | yes | yes | yes | yes | not stated |
| OVHcloud | yes | not stated | yes | yes | yes |
| INWX | yes | yes | yes | yes | yes |
| Hostinger | yes | see note | not stated | not stated | not stated |
| Network Solutions Partly from a search summary | limited | not stated | not stated | not stated | not stated |
| Dynadot | yes | yes | not stated | not stated | not stated |
| Google Cloud Domains (Squarespace Domains) | yes | not stated | not stated | not stated | not stated |
16 registrars in the data (11 core, 5 extra). Of 64 price cells (registrar by .com, .uk, .eu, .pt), 18 have a price we could source; the rest are empty on purpose, because we do not guess a price. Machine-readable: registrars.json.