username and token headers described in Authentication, and both accept an application/x-www-form-urlencoded body.
Check availability
Look up one or more domains built from a search term and a list of TLDs.POST /domains/lookup
Parameters
text
The domain label to check, without a TLD (for example
hostraha-demo-42).text
The Punycode (ASCII) form of the search term. Use this when checking an internationalized domain name.
array
One or more TLDs to check, each sent as a repeated
tldsToInclude[] value (for example tldsToInclude[]=.com). Include the leading dot.boolean
Set to
true when the lookup is for an internationalized domain name.Set to
true to include premium domains in the results.Request
Response
The response is an array with one element per checked domain. A single element looks like this:string
The full domain that was checked.
string
The TLD portion of the domain, without a leading dot.
string
The second-level label of the domain.
string
Human-readable availability status, for example
available for registration or unknown.string
Short status code:
available, unavailable, or error.boolean
true when the domain is already registered.boolean
true when the domain can be ordered.boolean
true when the search produced a syntactically valid domain.object
Pricing keyed by registration period (in years), each with
register, renew, and where applicable transfer sub-objects. For full price figures, call Domain pricing.true when the domain is a premium name. Premium results are only returned when premiumEnabled is set.Get domain suggestions
Return alternative domains for a search term across the configured TLDs.POST /domains/lookup/suggestions
Parameters
text
The base label to generate suggestions from.
text
The Punycode form of the search term, for internationalized names.
array
TLDs to include in the suggestions, each sent as
tldsToInclude[].boolean
Set to
true for internationalized domain names.Set to
true to include premium suggestions.array
required
Suggestion controls sent as nested keys, for example
suggestionSettings[maxResults]=6. This field is required.Request
Response
The response is an array of suggested domains. Each element uses the same shape as a lookup result. One element:isAvailable and legacyStatus to filter the suggestions you present.