Appearance
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
name type data type description email_addressrequired string The specific email address to test. prettyoptional flag If present, the response will be formatted for human readability.
Responses
http code content-type response 200application/json;charset=UTF-8JSON string 400application/json{"code":"400","message":"Bad Request"}
Response Fields
field type description stringThe 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
bashcurl -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 }