Register your next domain inside Gravitas.
A streamlined domain storefront for Gravitas Industries customers—availability checks, registration, and post-purchase DNS setup. No messy dashboards. No copy-paste chaos. Just ship.
/api/domains/check + /api/domains/register
Search availability
Enter a name, pick a TLD, and we’ll check availability via your server.
purchasePrice before buying.
Fast checks
Call name.com checkAvailability and show “purchasable” instantly.
Clean checkout
One flow: choose domain → register → configure nameservers/DNS.
Secrets safe
API token stored in GitHub Secrets (or your vault), never the client.
What you get
Minimal UI, high intent: everything above-the-fold is geared toward “find a domain” → “register it” with clear trust signals. The backend can optionally add post-purchase automation like DNS records, URL forwarding, or nameserver updates.
POST /core/v1/domains:checkAvailability to confirm purchasable domains (max 50 per call).
purchasePrice server-side for premium domains.
How it works (recommended architecture)
Browser calls your Gravitas backend. Your backend calls name.com Core API with Basic Auth. This keeps tokens off the client and lets you enforce billing, fraud checks, idempotency keys, and audit logs.
POST /api/domains/check → returns { domainName, purchasable, premium, purchasePrice }POST /api/domains/register → returns { orderId, domainName, status }
FAQ
Why not call name.com directly from the browser?
Because you’d expose your API token. Keep name.com calls server-side, then return only safe data to the client.
Sandbox vs production?
Use api.dev.name.com with a username ending in -test for sandbox. Use api.name.com for production with your normal username and production token.
What about contact verification?
ICANN may require email verification for new contacts. Build a “verify contact” status view and webhook handling if your flow collects contact data.
Premium domains?
For premium/special-priced domains, confirm the exact price and pass it into the create-domain request to avoid surprise purchases.