Check availability in a batch
Checks up to 50 domains in one request. Each entry of the result is either an availability, as in Check availability, or an error for that one input.
Request
POST https://api.namebeta.com/v1/domains/availability
Counts one check unit per valid domain. Invalid domains and registry suffixes are answered in place with an error; only invalid ones are not counted. When the remaining quota is less than the units the batch needs, the whole batch is rejected with 429 and nothing is counted.
Requires an API token.
JSON body
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
domains | string[] | Yes | Up to 50 full domain names; IDNs in Unicode or Punycode. | 1–50 items |
curl https://api.namebeta.com/v1/domains/availability \
-H "Authorization: Bearer $NAMEBETA_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"domains":["kettlory.com","kettlory.io","kettlory"]}'
Response
200: Availability of each domain, in input order.
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
results | object[] | Yes | One entry per input domain, in input order. | |
results[].domain | string | Yes | ||
results[].status | string | No | forsale is registered but listed on an aftermarket; unknown means the registry could not be reached. | One of available, taken, reserved, forsale, unknown |
results[].checked_at | string | No | Format date-time | |
results[].error | object | No | ||
results[].error.code | string | Yes | One of invalid_domain, not_registrable | |
results[].error.message | string | Yes |
{
"results": [
{
"domain": "kettlory.com",
"status": "available",
"checked_at": "2026-11-13T08:00:00.000Z"
},
{
"domain": "kettlory.io",
"status": "available",
"checked_at": "2026-11-13T08:00:00.000Z"
},
{
"domain": "kettlory",
"error": {
"code": "invalid_domain",
"message": "A full domain name with a known TLD is required."
}
}
]
}
An entry has either status and checked_at, or error. Tell them apart by whether error is present.
Behavior
resultshas one entry per input, in the order you sent them, duplicates included.- An entry with an error has
domainas you sent it, with surrounding whitespace trimmed. A successful entry has the normalized name. invalid_domainmarks an input that is not a full domain name we can check, as for the single endpoint. It is not counted.not_registrablemarks a registry suffix, such as a TLD. It is counted.- The batch counts one
checkunit per valid domain, charged before any domain is checked. When fewer units are left than the batch needs, the whole batch gets429withquota_exceededand nothing is counted; see Batches. - A body that is not a list of 1 to 50 strings gets
400withinvalid_requestand is not counted. - Every domain is looked up live, so a large batch takes longer than a single check. Allow for it in your client's timeout.
Statuses
| Status | When | Headers |
|---|---|---|
200 | Availability of each domain, in input order | RateLimit-Policy, RateLimit |
400 | Not a list of 1 to 50 strings | |
401 | Missing, invalid, revoked or expired API token | WWW-Authenticate |
403 | Your plan does not include the API; upgrade to Pro or above | |
429 | A quota window of your plan is spent; nothing was counted | RateLimit-Policy, RateLimit, Retry-After |
| Other | Any other error |