Skip to main content

Check availability

Checks whether one domain can be registered, with the same live lookup as the search box on namebeta.com.

Request​

GET https://api.namebeta.com/v1/domains/{domain}/availability

Counts one check unit; an invalid domain counts none.

Requires an API token.

Path parameters

FieldTypeRequiredDescriptionConstraints
domainstringYesA full domain name; IDNs in Unicode or Punycode.1–253 characters
curl https://api.namebeta.com/v1/domains/kettlory.com/availability \
-H "Authorization: Bearer $NAMEBETA_API_TOKEN"

Response​

200: Availability of the domain.

FieldTypeRequiredDescriptionConstraints
domainstringYes
statusstringYesforsale is registered but listed on an aftermarket; unknown means the registry could not be reached.One of available, taken, reserved, forsale, unknown
checked_atstringYesFormat date-time
{
"domain": "kettlory.com",
"status": "available",
"checked_at": "2026-11-13T08:00:00.000Z"
}
statusMeaning
availableNot registered; you can register it
takenRegistered
reservedHeld back by the registry, so it cannot be registered normally
forsaleRegistered, and listed for sale on an aftermarket
unknownThe registry could not be reached; try again later

Behavior​

  • Send a full domain name such as kettlory.com. A bare label, a subdomain such as www.kettlory.com, or a TLD we do not know gets 400 with invalid_domain.
  • A name that is itself a registry suffix, such as a TLD or a second-level suffix, gets 422 with not_registrable.
  • domain in the response is the name as we normalized it, which may differ from your input in case or IDN encoding.
  • unknown is a result, not an error: the request succeeds and is counted.
  • The request counts one check unit once the domain is valid, including when it then fails with 422; an invalid domain (400) counts nothing. See Quotas.

Statuses​

StatusWhenHeaders
200Availability of the domainRateLimit-Policy, RateLimit
400Invalid domain
401Missing, invalid, revoked or expired API tokenWWW-Authenticate
403Your plan does not include the API; upgrade to Pro or above
422A TLD or registry suffix
429A quota window of your plan is spent; nothing was countedRateLimit-Policy, RateLimit, Retry-After
OtherAny other error