Skip to main content

Email Verification API

This API requires authentication. See Authentication Overview for details on using API key + secret or OAuth2 bearer tokens.

The Email Verification API takes an email address (potentially containing spelling mistakes and/or other errors) and validates the syntax, the existence and availability of the domain, the existence of the email account, and returns a verified state and other metadata.

Parameters

Endpoint

Global
https://api.addressfinder.io/api/email/v1/verification
ParameterDescriptionTest Value
key

Your unique licence key (find on Portal credentials)


Type: string required
format

The required format of the response.


Default value: json
Type: string
email

The email to be verified.


Type: string
domain

Used to identify which of your services is calling the API for activity monitoring purposes. This domain needs to be registered in the portal.


Type: string
features

A comma-separated list of parameters that controls the methods of verification to be completed. This will impact the query processing time and data returned in the response. Options:

  • domain checks if the domain is configured to receive emails;
  • connection checks if the email account exists;
  • provider checks and returns the email service provider;
  • format validates the syntax of the email address only. When format is the only feature, no domain, connection or provider checks are performed, so the response is returned faster and is_verified reflects the format check alone. The is_disposable, is_role, is_public and is_catch_all attributes are returned as null because they are not evaluated. Combining format with any other feature runs a standard verification.

Default value: domain,connection
Type: string

Responses

200 OK

NameDescriptionExample
email_accountThe first part of an email address, before the @

Type: string
john.doe
email_domainThe second part of the email address, after the @

Type: string
addressfinder.com
email_provider_domainThe underlying provider of the email service. Only populated if the features=provider parameter is provided.

Type: string
google.com
verified_emailThe full verified email address

Type: string
jane.smith@addressfinder.com
is_verifiedWe did not find any reason to believe an email sent to the address provided would fail to reach the associated mailbox

Type: boolean
true
is_disposableIdentified as a disposable email address. Returned as null for format-only checks (features=format), which do not evaluate this attribute.

Type: boolean
false
is_roleThe email account is for a group email. For example info@addressfinder.com. Returned as null for format-only checks (features=format), which do not evaluate this attribute.

Type: boolean
false
is_publicIdentified as a public email provider. For example john.doe@gmail.com. Returned as null for format-only checks (features=format), which do not evaluate this attribute.

Type: boolean
false
is_catch_allThe email domain has a catch all policy. Returned as null for format-only checks (features=format), which do not evaluate this attribute.

Type: boolean
false
not_verified_reasonIf verified is false, this will contain a short description of the failure reason

Type: string
-
not_verified_codeA code indicating why the email did not verify

Type: string
-
successIndicates if the request was successful or not

Type: boolean
true

400 Bad request

NameDescriptionExample
completionsAn empty array will be returned due to the error

Type: array
-
error_codeA unique numerical value identifying the error that occured

Type: string
1004
messageAn informative message describing the error that occured

Type: string
Secret not provided
successIndicates if the request was successful or not

Type: boolean
false

See API Error Reference for details.