Skip to main content
Registering a domain through NameGrid takes just a few API calls. This guide walks you through checking availability, verifying your credit balance, submitting a registration with full contact details, and confirming that your domain is active.
1

Check domain availability

Before registering, confirm that the domain you want is available. Send a POST request to /v1/domains/check with a list of up to 20 domain names.
Response
Each result includes two fields:
  • availabletrue if the domain is unregistered and can be purchased, false if it is already taken.
  • isPremiumtrue if the registry considers this a premium name and charges an elevated price. Check the pricing before proceeding.
2

Ensure you have enough credits

NameGrid deducts credits from your account balance at registration time. Retrieve your current balance with a GET request to /v1/account.
If your balance is too low, top it up at https://app.namegrid.org before continuing. Each credit is worth $1 USD.
3

Register the domain

Submit a POST request to /v1/domains with your desired domain name, registration options, and full contact information.
Response
The response confirms how many credits were deducted (creditsCharged) and when the registration expires (expiresAt).
If the domain already has an active or pending registration, the API returns a 409 Conflict error. You cannot register a domain that is already taken or being processed.
Registrations are non-refundable once the order is placed. Double-check the domain name and registration period before submitting.
4

Verify registration

Confirm that your domain is live by fetching its details with GET /v1/domains/yourdomain.com.
A successfully registered domain returns a status of active. If the status shows failed, the registration did not complete — check your credit balance and the domain name, then try again. Poll the endpoint periodically after submitting until status changes to active.

Contact information requirements

The contact object is required for every domain registration. The table below describes each field. Additional registration options
  • years — How long to register the domain. Defaults to 1. Accepts values from 1 to 10.
  • autoRenew — Set to true to automatically renew the domain before it expires. Requires a sufficient credit balance at renewal time.
  • privacyEnabled — Set to true to enable WHOIS privacy protection, which replaces your personal contact information in the public WHOIS database with NameGrid proxy details.