Checks whether the given domain is available for purchase.
You can purchase the specified domain in case the returned
availability.available
boolean is true
. The domain is already taken
when false
is returned.
The domain
field must include the TLD. For example, my-new-domain.com
.
Important: This call requires an account level API key and cannot be authenticated with the standard authorization header.
Domain name. Must include the TLD. For example, my-new-domain.com
. Only
alphanumeric characters, hyphens, and dots are supported.
Min: 3 characters Max: 63 characters
Information about the domain's availability.
curl -X GET
'https://www.wixapis.com/domain-search/v2/check-domain-availability?domain=mydomain.com' \
-H 'Authorization: <AUTH>' \
{
"availability": {
"domain": "mydomain.com",
"available": false,
"premium": true
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.