/checkdomain-api

CheckDomain is a simple API to check if a domain is valid and available.

Primary LanguageJavaScriptMIT LicenseMIT

CheckDomain API

CheckDomain is a simple API to check if a domain is valid and available.

Tecs

  • Express: Fast, unopinionated, minimalist web framework for node.
  • Cors: Enable CORS with various options.
  • IsValidDomain: Check if the domain is valid.

Examples

/github.com

{
  "free": false,
  "domain": "github.com",
  "validDomain": true
}

/imposto-roubo.com

{
  "free": true,
  "domain": "imposto-roubo.com",
  "validDomain": true
}

/invalid,domain.com

{
  "free": false,
  "domain": "invalid,domain.com",
  "validDomain": false
}

Links

Repository | Heroku


License

MIT