Need help? Call Live Support at +31 (0) 38 453 07 59

Attention! You're currently using the OT&E environment.

The `check` action is used to perform an availability check for a single domain.

  • WebsocketsMethod
  • wss://adac.api.yoursrs.com/ws?session_id=sessionIdURL
  • application/jsonContent-Type
Name Type Description Restrictions
sessionId String UUID4, unique to session
Name Type Required / Optional Description Restrictions
api_key String Required Your ADAC API key
action Enum Required Action to perform

Possible values:

  • check
data data Required
Name Type Required / Optional Description Restrictions
input String Required Domain query
  • Minimum length: 1

Successful request

  • HTTP Status
  • application/jsonContent-Type
Name Type Required / Optional Description
action String Required Action performed, will always be 'domain_status' in this case.
data data Required
Name Type Required / Optional Description
status Enum Required Status of the domain

Possible values:

  • 0: Waiting
  • 1: Available
  • 2: Taken
  • 3: Invalid
  • 4: Error
  • 5: Unknown
domain_name String Required The suggested domain name
suffix String Required The TLD

Failed requests

Example of failed request:

{
    "action": "error",
    "data": "Invalid domain"
}