1
Create an API key
Every request to the NameGrid API must include an API key. To generate one:
- Sign in to your dashboard at app.namegrid.org.
- Go to Settings → API tokens.
- Click Create token, give it a descriptive name (e.g.
my-first-key), and confirm. - Copy the key immediately — it is displayed only once.
NameGrid stores only a hash of your API key, not the raw value. If you lose your key, revoke it from the dashboard and create a new one.
2
Check domain availability
Before registering, confirm the domain you want is available. Send a Response:Each result tells you whether the domain is
POST request to /v1/domains/check with a list of domain names:available and whether it carries a premium price. Only proceed to registration with domains where "available": true.3
Register a domain
Once you’ve confirmed availability, register the domain with a Response:The
POST to /v1/domains. Include a contact object with the registrant’s details — this is required by ICANN for all new registrations.creditsCharged field confirms how many credits were deducted. The domain is active immediately — you can start managing DNS records right away.4
List your domains
To see all domains registered under your workspace, send a The response returns a list of your domains with their status, expiry dates, and renewal settings. Use this endpoint to build dashboards, trigger renewal reminders, or audit your portfolio.
GET request to /v1/domains:Next steps
You’ve registered your first domain — here’s where to go from here:- Manage DNS records — add A, CNAME, MX, and TXT records to your domain.
- Renew a domain — manually renew or verify auto-renewal is configured.
- Authentication — learn about API key security, workspace scope, and rate limits.
- API Reference — explore every available endpoint with full parameter documentation.