Domains
Search domains
Check 1 to 30 domain names at once: is each one free to buy, and for how much. Nothing is bought or charged.
https://server.scaledmail.com/api/v1/search-domains- Token access
- Read
- Rate limit
- 120 read calls per minute per token, and 60 domain searches per minute per person
The answer is a JSON array with one row per name, in the order you sent them. The fields below are the fields of one row.
Each call counts as one search toward the 60 per minute limit of the person who made the token. Searches in the app count too.
Headers
AuthorizationstringrequiredBearer <your API token>. The token needs Read access.
Query parameters
organization_idstringrequiredYour workspace id (
org_). Must be a workspace this token was made for.. . .
Body
domainsstring[]required1 to 30 itemsFull domain names to check, like
demo-domain-1.. No spaces, nocom www., at most 253 characters each. Names are checked in lower case, and the answer shows them in lower case..,ai .,ca .andeu .are not supported.info
Response (200)
domainstringrequiredThe domain name.
statusenumrequiredavailable= you can buy it (premium names show asavailablehere, butPOST /buy-domainsrefuses them).taken= registered already, or in use in ScaledMail.error= the name could not be checked right now (domain checking is switched off, or no domain provider answered for it); try again later. It never means taken.One of:
availabletakenerrorpricenumber | nullrequiredFirst-year price in US dollars.
nullwhen the name is taken or not checked.renewPricenumber | nullrequiredThe regular yearly price without any first-year sale, in US dollars. The price a renewal is charged at can differ.
nullwhen taken or not checked.blacklistedstring[]optionalOnly on available names: blacklists the name is on, like
"SURBL". Empty = none found.
Responses
- 200OK. Every name was checked.
- 400Invalid name. An entry is not text, has a space or is not a valid domain name.
- 400Not a list.
domainsis sent but is not a JSON array. - 400Too many or none.
domainsis missing, empty or has more than 30 names (the same text for all three). - 400Ending not supported. A name ends in
.,ai .,ca .oreu ..info - 403Not allowed. Only owners and admins of the workspace can check domains. A token made by a member gets this.
- 401No token. The
Authorizationheader is missing or notBearer <token>. - 429Rate limited. More than 120 read calls in a minute. Wait for the
Retry-Afterseconds. - 429Too many searches. More than 60 domain searches in a minute by the same person (shared with the app). Wait a minute.
- 500Server error. The names could not be checked (for example the registrar did not answer). Try again.
