# API: Email Validation

# API Base URL

The base url for the email validation api is https://emailvalidation.uberapi.io/api/v1

# GET /validate

# Request

{baseUrl}/validate?email=test@uberapi.io

# Request Headers

Header Type Description
Authorization
OPTIONAL
string Bearer authentication token. See authentication page for more info.

# Request Parameters

Parameter Type Description
api_token
OPTIONAL
string API token. See authentication page for more info.
email
REQUIRED
string Email address you want to validate.
smtp
OPTIONAL
boolean Whether you want to do an SMTP check or not. Default false. (true = 1, false = 0)

# Response

{
    "domain": "uberapi.io",
    "email": "deniz@uberapi.io",
    "isDisposable": false,
    "isFree": false,
    "isRole": false,
    "isValid": true,
    "user": "deniz",
    "validDns": true,
    "validSmtp": true
}

# Response Fields

Field Type Description
domain string Domain of the email address being validated.
email string Email address being validated.
isDisposable boolean true or false depending on whether or not the domain of the provided email belongs to a disposable email provider.
isFree boolean true or false depending on whether or not the domain of the provided email belongs to a free email provider.
isRole boolean true or false depending on whether or not the user of the provided email matches a role type (admin, abuse, webmaster etc.).
isValid boolean true or false depending on whether or not the email is valid according to RFC.
user string User of the email address being validated.
validDns boolean true or false depending on whether or not the domain of provided email has valid DNS records.
validSmtp boolean true or false depending on whether or not the SMTP check for the provided email passes. Only present when smtp parameter was set. Please keep in mind, that using a SMTP check increases response time.

# Code Examples

Looking for more code examples? Feel free to drop us a line (hi@uberapi.io) and we are happy to provide you a code example in your preferred language.