Email Verification API

Email Verification API

Validates and verifies an email address assessing deliverability and quality.

Response example. If you want to see more check the documentation.

Free Plan $0.00 Monthly Subscribe
100 Requests / Monthly
Free for Lifetime
No Credit Card Required
MOST POPULAR
Starter Plan $14.99 Monthly Subscribe
5,000 Requests / Monthly
Standard Support
Pro Plan $74.99 Monthly Subscribe
50,000 Requests / Monthly
Standard Support
Enterprise Plan $249.99 Monthly Subscribe
250,000 Requests / Monthly
Standard Support
Custom Plan Volume Monthly Contact Us
Any requests volume you need

See it in Action!

There are plenty of important reasons to validate email addresses before using them:

  • Sending emails to fake or non-existent addresses can hurt your deliverability.
  • Mistyped email addresses can prevent users from confirming accounts or resetting passwords.
  • Valid email addresses help you stay connected with your users.

Test it

First, sign up for Mailboxlayer to get your API access key. A free plan is available. Then, test the API using the following cURL command.


curl --request GET \
  --url 'https://api.apilayer.net/mailboxlayer/api/check?email=customercare@apilayer.com&access_key=YOUR_ACCESS_KEY'

That's it! Check the Mailboxlayer documentation for more information.

How it works

Mailboxlayer is an email verification API that helps you assess whether an email address is properly formatted and likely to be deliverable. It checks email syntax, validates DNS records for mail exchange (MX), and performs SMTP checks to assess mailbox availability without sending an email.

By combining these checks with typo detection and disposable email provider detection, Mailboxlayer helps you identify potentially invalid or low-quality email addresses. However, SMTP verification has limitations, and some mail servers may not reveal whether a specific mailbox exists.

What information is provided with the API?

Mailboxlayer returns a range of useful data points to help you evaluate email addresses:

format_valid: Indicates whether the email address has a valid format.

smtp_check: Indicates the result of the SMTP verification check.

mx_found: Indicates whether the domain has mail exchange (MX) records.

disposable: Identifies whether the email address belongs to a disposable email provider, such as Mailinator.

role: Indicates whether the email address is associated with a role-based account, such as support@domain.com or hello@domain.com.

catch_all: Indicates whether the domain uses a catch-all mail server that may accept messages addressed to non-existent mailboxes.

free: Identifies whether the email address belongs to a free email provider.

did_you_mean: Suggests a possible correction when an email address contains a typo, such as a misspelled domain.

score: Provides a quality score between 0 and 1 to help assess the email address's overall quality and potential deliverability.

5.00
  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating
API rating
Ivan Cirlig
4 years ago

Ivan Cirlig

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

Great service and easy to use!

Harshita Chadokar
3 years ago

Harshita Chadokar

  • Review rating
  • Review rating
  • Review rating
  • Review rating
  • Review rating

A perfect fit tool to complete your business needs

Mailboxlayer is a free, simple and powerful JSON API offering instant email address validation & verification via syntax checks, typo and spelling checks, SMTP checks, free and disposable provider filtering, and much more. Its system is REST-based, secured by 256-bit HTTPS encryption, and pursuing the goal of assisting developers and businesses in fighting fraudulent users, increasing success rates of email campaigns and only sending email to real customers.
The mailboxlayer API is a product built and maintained by apilayer, an Austrian technology company aiming to build a variety of reliable and essential programming interfaces (APIs) and make them affordable for both startups and larger companies. APILAYER LTD is headquartered in Austria, with offices Vienna, and London, United Kingdom.
In most cases the mailboxlayer API's SMTP check is entirely accurate when it comes to detecting whether or not an email address actually exists. We are saying "most" cases because certain mail servers tend to suddenly behave in unexpected ways and cause trouble out of nowhere, which may decrease the effectiveness of "pinging" a mail server via SMTP at times. Combined with all other mailboxlayer validation tools, however, there is no better way to separate low-quality addresses from high-value email contacts and to successfully keep fraudulent users out of your system.
Generally, sending email to free email addresses like "Gmail" or "Yahoo!" is perfectly okay. For certain types of email campaigns, however, it might make sense to sort out users utilizing free email providers in order to reduce bounce rates.
Yes. Since we understand that your API requests contain may sensitive data, we offer paid customers the possibility to access the API and all data provided by and processed through it via industry-standard 256-bit HTTPS encryption.