Skip to content

ClearAddress API

The ClearAddress API provides a simple way to validate email addresses.

Email Validation

GET https://ca.rda.run/v1/{email_address}?pretty (validate one email address)
Parameters
nametypedata typedescription
email_addressrequiredstringThe specific email address to test.
prettyoptionalflagIf present, the response will be formatted for human readability.
Responses
http codecontent-typeresponse
200application/json;charset=UTF-8JSON string
400application/json{"code":"400","message":"Bad Request"}
Response Fields
fieldtypedescription
emailstringThe email address being validated.
localPartstringThe local part of the email address.
domainstringThe domain part of the email address.
hasValidDomainbooleanIndicates if the domain is valid.
hasValidMXbooleanIndicates if the domain has valid MX records.
hasValidSyntaxbooleanIndicates if the email has valid syntax.
isFunctionalbooleanIndicates if the email is functional.
isDisposablebooleanIndicates if the email is disposable.
isClearbooleanIndicates if we consider the email "clear": with a existing domain, with valid MX records, with valid syntax, not from a functional mailbox, and not from a disposable email service.
cURL Example
bash
 curl -fsSL "https://ca.rda.run/v1/user@example.org?pretty"
Response Example
json
 {
   "email": "user@example.org",
   "localPart": "user",
   "domain": "example.org",
   "hasValidDomain": true,
   "hasValidMX": true,
   "hasValidSyntax": true,
   "isFunctional": true,
   "isDisposable": false,
   "isClear": false
 }

Handmade software, in Porto Alegre, Brazil.