Domain/available

Content-Type: application/json

To check the availability of a domain. This is linked to your Plugin (Registrar(s)), so if you only have the '.com' TLD enabled, only the .com could show as available to register. Reminder: Only 8 domains per request.

ParametersDescription
domainnames* array The domainnames to check for availability at the registrar. Make sure you have this TLD enabled for registration

* = required.
Colors indicate one of the fields must be entered, you can choose which one you want to use

Json example

{
    "domainnames": [
        "something.nl",
        "something345678.com",
        "something345678.co.uk",
        "something345678.nl",
        "something345678.invalidtld"
    ]
}

Ok response

{
  "code": 1,
  "msg": [],
  "status": "ok",
  "result": {
    "something.nl": {
      "domainname": "something.nl",
      "domainname_ascii": "something.nl",
      "tld": "nl",
      "available": false,
      "reason": "",
      "periods": [
        1,
        3,
        12
      ]
    },
    "something345678.com": {
      "domainname": "something345678.com",
      "domainname_ascii": "something345678.com",
      "tld": "com",
      "available": true,
      "reason": "",
      "periods": [
        12
      ]
    },
    "something345678.co.uk": {
      "domainname": "something345678.co.uk",
      "domainname_ascii": "something345678.co.uk",
      "tld": "co.uk",
      "available": true,
      "reason": "",
      "periods": [
        12,
        24
      ]
    },
    "something345678.nl": {
      "domainname": "something345678.nl",
      "domainname_ascii": "something345678.nl",
      "tld": "nl",
      "available": true,
      "reason": "",
      "periods": [
        1,
        3,
        12
      ]
    },
    "something345678.invalidtld": {
      "domainname": "something345678.invalidtld",
      "domainname_ascii": "something345678.invalidtld",
      "tld": null,
      "available": "unknown",
      "reason": "No valid TLD found for something345678.invalidtld",
      "periods": []
    }
  }
}

Error response

{
  "code": 2,
  "msg": [
    "Given domainnames number is too high"
  ],
  "status": "error"
}