Domains

Suggest domains

Get available domain ideas from a keyword (trydemo.com, demohq.io ...). Nothing is bought.

POSThttps://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

  • Authorizationstringrequired

    Bearer <your API token>. Tokens start with sm_live_.

  • Workspacestringrequired

    The workspace id to act on (from GET /workspaces or Settings › API tokens). Required on every call except the /workspaces calls; without it: 400 workspace_required.

Body

  • keywordstringrequired1 to 253 characters

    A keyword or a domain, like demo or demo.com. 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.

  • tldsstring[]optionalat most 20 items

    Endings to use, like ["com", "io"] (the dot is optional, letters only). At most 20. Default com, io, net, co, org.

  • limitintegeroptional1 to 50

    How many ideas to check in this answer, 1 to 50. Default 25.

  • cursorstringoptionalat most 40 characters

    The next_cursor of the previous answer, for more ideas for the same keyword and endings.

  • only_availablebooleanoptional

    true = leave out ideas that are not available. Default false. The left-out ideas still count toward limit, so a page can have fewer rows (even none) while has_more is true.

Response (200)

  • dataobject[]required
    Show child fields
    • domainstringrequired

      The name, lower case.

    • availablebooleanrequired

      true = you can buy it now with POST /domain-purchases.

    • pricenumberoptional

      First-year price for this workspace. Only when available is true.

    • renewal_pricenumberoptional

      Price of each year after the first. Only when available is true.

    • reasonenumoptional

      Only when available is false: taken = registered by someone, premium = sold only at a premium price, which we don't offer through the API, in_use = already used in ScaledMail (by any workspace, the pre-warmed inventory or an open domain swap), unsupported_tld = we don't sell this ending, invalid_name = not a domain name, check_failed = 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). null when available.

      One of: taken premium in_use unsupported_tld invalid_name check_failed

    • blacklistsstring[]required

      Blacklists the name is on. Empty = none found. Always empty when not available.

  • has_morebooleanrequired

    true when there is another page.

  • next_cursorstring | nullrequired

    Pass as cursor to get the next page. null on the last page.

Responses

  • 200OK. One page of checked ideas. On the last page has_more is false and next_cursor is null.
  • 400Invalid keyword. The part of keyword before 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: tlds with more than 20 entries or an entry that is not letters only, limit outside 1 to 50 (validation_failed, every problem in errors). A cursor not from a previous answer answers invalid_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_required, 403 workspace_not_allowed. See Errors.