Free
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
- Email Validation
- Syntax & Typo Check
- Free/Disposable Provider DB
- Quality Score
- Non-commercial use
AI agents: the setup steps for Mailboxlayer are in the Agents section of this page (#agents) and as Markdown at /products/mailboxlayer/agents.md. Index of every APILayer API: https://apilayer.com/llms.txt
Email Validation & Verification JSON API · by APILayer
Free plan · 100 requests / month · no card
Overview
Mailboxlayer is a simple and powerful REST API that offers instant email address validation and verification. It helps developers fight fraudulent users and increase delivery rates by checking syntax, typos, and SMTP records in real-time using a lightweight JSON format.
curl --request GET \
--url "https://api.apilayer.net/mailboxlayer/api/check?access_key=YOUR_ACCESS_KEY&email=support@apilayer.com"
{
"email": "support@apilayer.com",
"did_you_mean": "",
"user": "support",
"domain": "apilayer.com",
"format_valid": true,
"mx_found": true,
"smtp_check": true,
"catch_all": false,
"role": true,
"disposable": false,
"free": false,
"score": 0.8
}Verify the actual existence of an email address using instant MX-record and Simple Mail Transfer Protocol (SMTP) checks. This ensures you only send emails to mailboxes that are active and able to receive messages.
Automatically check email syntax and detect potential typos in the domain name. The API provides “did-you-mean” suggestions (e.g., suggesting “gmail.com” if a user types “gmai.com”) to improve user experience and data quality.
Filter out disposable email addresses (e.g., Mailinator) and identify free email providers (e.g., Gmail, Yahoo) instantly. This helps you prevent fraudulent sign-ups and segment your user base effectively.
Receive a numeric quality score between 0.01 and 1 for every verified email address. This score reflects the quality and deliverability of the email, allowing you to automatically filter “real” users from potential abusers.
Pricing
Start free. Upgrade when you go live.
For testing and side projects
$0forever
No credit card
No overage charges
100 requests / month
Includes:
For your first live product
$14.99/ month
Billed monthly
Then $0.011992 per extra request, up to 10,000 extra a month
5,000 requests / month
Everything in Free, plus:
For growing traffic
$74.99/ month
Billed monthly
Then $0.0059992 per extra request, up to 100,000 extra a month
50,000 requests / month
Everything in Starter, plus:
For high volume
$249.99/ month
Billed monthly
Then $0.00399984 per extra request, up to 500,000 extra a month
250,000 requests / month
Everything in Professional, plus:
Need more? Contact sales for custom needs.
| 11 features | Free$0Get free key | Starter$14.99/moSubscribe | Professional$74.99/moSubscribe | Enterprise$249.99/moSubscribe |
|---|---|---|---|---|
| Email Validation | ||||
| Syntax & Typo Check | ||||
| Free/Disposable Provider DB | ||||
| Quality Score | ||||
| Real-time SMTP Check | – | |||
| MX-Records Check | – | |||
| 256-bit HTTPS Encryption | – | |||
| Catch-all Detection | – | |||
| Bulk Endpoint | – | – | 25 emails | 100 emails |
| Standard Support | – | |||
| Commercial use | – | |||
| Price per extra request after the monthly limit | None | $0.011992 | $0.0059992 | $0.00399984 |
Playground
Build a request in your browser and see the response it returns.
Agents
Steps for AI coding agents that add Mailboxlayer to a project.
A person creates the account: an agent cannot sign up. Sign up at app.apilayer.com and subscribe to Mailboxlayer. The Free plan includes 100 requests / month and needs no credit card.
Copy the API key from the APILayer dashboard and give it to the agent as an environment variable (step 2).
Read the key from an environment variable named APILAYER_ACCESS_KEY. Do not write the key into source code, commit it to git, or paste it into a chat.
Call Mailboxlayer from server code. The key travels in the request URL, so a request sent from a browser shows the key to every visitor.
# add .env to .gitignore
APILAYER_ACCESS_KEY=your_api_keyhttps://api.apilayer.net/mailboxlayer/apiaccess_key query parameter/check Check email/bulk_check Validate multiple emails (Professional and Enterprise)curl "https://api.apilayer.net/mailboxlayer/api/check?access_key=$APILAYER_ACCESS_KEY&email=support@apilayer.com"The API info tab shows the response this request returns.
Each plan adds features to the plan before it. Check that the account's plan includes a feature before writing code that uses it.
| Plan | Requests / month | Adds |
|---|---|---|
| Free | 100 | Email Validation, Syntax & Typo Check, Free/Disposable Provider DB, Quality Score |
| Starter | 5,000 | Real-time SMTP Check, MX-Records Check, 256-bit HTTPS Encryption, Catch-all Detection, Standard Support, Commercial use |
| Professional | 50,000 | Bulk Endpoint: 25 emails |
| Enterprise | 250,000 | Bulk Endpoint: 100 emails |
Prices are in the Pricing tab.
FAQs
Here are the answers you might be seeking
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.
At Mailboxlayer we believe that every online business should be verifying email addresses before letting them into their database, that is why we decided to offer 100 monthly validation requests for free. You can sign up for your free API Access Key here.
The Mailboxlayer API is a product built and maintained by APILayer, the company behind 17 developer APIs, including IPstack, Numverify and Weatherstack. You can learn more on the Why choose APILayer page.
The API performs a multi-stage check: it first validates the email syntax, then checks for valid MX records and SMTP server responses, and finally cross-references the domain against a database of known disposable and free email providers.
The API returns a detailed JSON object containing the email’s validity status, a quality score (0 to 1), a “did you mean” suggestion for typos, and flags for disposable, role-based, or catch-all addresses.
Yes, the API can identify if an email domain is configured as a “catch-all” server (one that accepts all emails sent to it, regardless of the recipient). This helps you segment your lists and avoid low-quality leads.
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.
See the API's Documentation for details.
Email addresses like "mailinator.com" or "trashmail.com" are using disposable email providers, which offer an anonymous way to create a one-time email address. These inboxes are often publicly visible and associated with fraudulent behaviour. We highly advise against approving these types of email addresses in your system or list of recipients.
See the API's Documentation for details.
Yes. Since we understand that your API requests may contain 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.
See the API's Documentation for details.
Every registered user is assigned a personal Access Key, a unique "password" that can be used to access and query the Mailboxlayer API. If you are logged in, you can find it in your Account Dashboard and in all interactive links contained in the API's Documentation.
In your Account Dashboard you can reset your Access Key at any given time.
In order to make an API Request, you are required to attach your Access Key to a valid API endpoint URL, e.g: https://api.apilayer.net/mailboxlayer/api/check?access_key=YOUR_ACCESS_KEY
Pricing is based on the number of monthly API Requests offered for each individual Subscription Plan. Accessing any type of Mailboxlayer API data using a valid API Access Key counts as one "API Request".
Users will be automatically notified via e-mail and on their Account Dashboard once at least 75%, 90%, and 100% of their monthly API Request allowance has been reached. After reaching 100% of the allowance, overages fees will apply so we make sure you won’t experience any disruptions and your website/application will keep running smoothly. You can learn more about overages billing here.
The Mailboxlayer API's system status is being closely monitored around the clock. Since every effort is made to ensure the highest possible level of consistency, we are happy to announce that our API's uptime is at around 99.9%. At the current stage we are not offering any public statistics, but we will be happy to provide you with recent uptime reports - ask us »
Yes, Mailboxlayer offers a free subscription plan that includes 100 API requests per month. It includes email validation, syntax and typo checks, free and disposable provider detection and the quality score, making it perfect for testing and small-scale applications.
Paid plans start at $14.99/mo for 5,000 requests and scale up to the Enterprise plan with 250,000 monthly requests. Higher plans include more requests at a lower cost per request. You can view pricing features here.
The Free Plan is set out to be a "trial version" without a time limit, offering a volume of 100 monthly API requests.
Paid Subscription Plans feature significantly higher API Request volumes, ensure secure datastreams via 256-bit HTTPS Encryption, include unlimited and prioritised technical support, and offer a variety of must-have API functionalities.
In order to test the API and to get an idea of the product, you can simply sign up for the Free Plan.
As soon as you or your application requires more than 100 API requests per month and more professional API functionality, you would be well-advised to sign up for one of the paid Subscription Plans, starting at only USD 14.99 per month.
Payments can be made via Credit Card (Visa, MasterCard, Discover, Diner's Club). You can change your payment method at any given time in the Payment section of your Account Dashboard.
Yes. If you choose annual billing, the total price of your subscription plan will be up to 15% lower than the total amount you would pay with a monthly payment frequency.
You can initiate a cancellation or downgrade by selecting a new plan and providing at least one reason for your decision. The customer service team will cancel or downgrade your plan. Downgrades are not effective immediately; your premium subscription will remain active until the end of the current billing period.
To change your subscription from monthly to yearly billing, submit a request on the Contact Us page on the website following these steps:
Step 1: Sign in to your account
Step 2: Go to Contact Us page
Step 3: Fill out the form and choose the “Sales” category for this request.
Step 4: In the text box, include your specific request for example “Change from Monthly to Yearly subscription.”
An overage occurs when you go over a quota for your API plan. When you reach your API calls limit, we will charge you a small amount for each new API call so we can make sure there will be no disruption in the service we provide to you and your website or application can continue running smoothly.
Prices for additional API calls will vary based on your plan. See the table below for prices per call and an example of an overage billing.
| Plan | Monthly price | Requests / month | Price per extra request | Extra requests | Overage cost |
|---|---|---|---|---|---|
| Starter | $14.99 | 5,000 | $0.011992 | 10,000 | $119.92 |
| Professional | $74.99 | 50,000 | $0.0059992 | 10,000 | $59.99 |
| Enterprise | $249.99 | 250,000 | $0.00399984 | 10,000 | $40.00 |
Note: For complete details, please refer to the overages documentation here.
Overage fees allow customers to continue using an API once a quota limit is reached. We want to make sure your website or application continues running at all times, so charges will apply if you go over your monthly quota limit. If you notice you are going over your quota limit each month, look on your dashboard for an upgraded plan to help with larger request limits.
When you are close to reaching your API calls limit for the month, you will receive an automatic notification (at 75%, 90%, and 100% of your monthly quota). You can keep track of your quota usage to prevent overages by tracking the number of API calls you make and checking the dashboard for up-to-date usage statistics.
You will be charged for your monthly subscription plan, plus any overage fees applied. Your credit card will be billed after the billing period has ended.
In this case, there will be no change to your monthly invoice. Only billing cycles that incur overages will see any difference in monthly charges. The Business Continuity plan is an insurance plan to be used only if needed and guarantees your end users never see a drop in coverage from you.
If your usage consistently surpasses the set limits each month, you may face additional charges for the excess usage. Nevertheless, as your monthly usage reaches a certain threshold, it becomes more practical to consider upgrading to the next plan. By doing so, you ensure a smoother and more accommodating experience for your growing customer base. Find out about our pricing plans here.
Still have a question?
Contact support4.3
11 reviews on G2
Source: G2.com, Inc.
Mailboxlayer has 11 reviews on G2.
View more on G2