Domains
Suggest domains
Get available domain ideas from a keyword (trydemo., demohq. ...). Nothing is bought.
https://api.scaledmail.com/v2/domains/suggestions- Rate limit
- Read: 300 calls per minute per token
The same keyword gives the same ideas in the same order; page with cursor. Each name counts toward 60 domain checks per minute.
Headers
AuthorizationstringrequiredBearer <your API token>. Tokens start withsm_.live_ WorkspacestringrequiredThe workspace id to act on (from
GET /workspacesor Settings › API tokens). Required on every call except the/workspacescalls; without it:400workspace_.required
Body
keywordstringrequired1 to 253 charactersA keyword or a domain, like
demoordemo.. Only the part before the first dot is used (spaces removed, lower case): it must be letters, digits and hyphens, at most 63 characters, not starting or ending with a hyphen.com tldsstring[]optionalat most 20 itemsEndings to use, like
["com", "io"](the dot is optional, letters only). At most 20. Defaultcom,io,net,co,org.limitintegeroptional1 to 50How many ideas to check in this answer, 1 to 50. Default 25.
cursorstringoptionalat most 40 charactersThe
next_of the previous answer, for more ideas for the same keyword and endings.cursor only_availablebooleanoptionaltrue= leave out ideas that are not available. Defaultfalse. The left-out ideas still count towardlimit, so a page can have fewer rows (even none) whilehas_ismore true.
Response (200)
dataobject[]requiredShowHide child fields
domainstringrequiredThe name, lower case.
availablebooleanrequiredtrue= you can buy it now withPOST /domain-purchases.pricenumberoptionalFirst-year price for this workspace. Only when
availableistrue.renewal_pricenumberoptionalPrice of each year after the first. Only when
availableistrue.reasonenumoptionalOnly when
availableisfalse:taken= registered by someone,premium= sold only at a premium price, which we don't offer through the API,in_= already used in ScaledMail (by any workspace, the pre-warmed inventory or an open domain swap),use unsupported_= we don't sell this ending,tld invalid_= not a domain name,name check_= could not be checked right now: no domain provider answered for this name (try again in a minute; the other names still get their answer).failed nullwhen available.One of:
takenpremiumin_useunsupported_tldinvalid_namecheck_failedblacklistsstring[]requiredBlacklists the name is on. Empty = none found. Always empty when not available.
has_morebooleanrequiredtruewhen there is another page.next_cursorstring | nullrequiredPass as
cursorto get the next page.nullon the last page.
Responses
- 200OK. One page of checked ideas. On the last page
has_ismore falseandnext_iscursor null. - 400Invalid keyword. The part of
keywordbefore the first dot is not letters, digits and hyphens (at most 63). - 400Invalid input. A field has the wrong type or is out of range:
tldswith more than 20 entries or an entry that is not letters only,limitoutside 1 to 50 (validation_, every problem infailed errors). Acursornot from a previous answer answersinvalid_.cursor - 403Not allowed. The token can't use the workspace in
Workspace(workspace_).not_ allowed - 403Role not allowed. The person who made the token is not an owner or admin of this workspace (only they can check domains).
- 429Too many checks. More than 60 domain checks in a minute by the person who made the token (counted across the app and the API), or more than 300 read calls in a minute with this token.
Like every call, it can also answer 401 (bad key), 400 workspace_, 403 workspace_. See Errors.
