Skip to content
OSINTtools.io

Mailboxlayer API

Send an email address and get syntax, MX and SMTP checks, catch-all, role, disposable and free-provider flags and a quality score.

Base URL
https://apilayer.net/api
Sign-in
API key
Free tier
Free tier
Pricing
Subscription
Format
REST
Endpoints
1

Compiled by OSINTtools.io editors from docs.apilayer.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

Mailboxlayer validates an email address and returns the result as JSON: syntax check, MX and SMTP existence, catch-all and role detection, typo suggestions, free and disposable provider flags and a numeric score. An investigator can use it to see whether an address is deliverable before pursuing it.

Calls are GET requests to https://apilayer.net/api/check with your access key in the access_key query parameter. The docs also list a /bulk_check endpoint for several addresses, available on the Pro Plus and Enterprise Plus plans; it is not documented here because its parameters are not on the pages read.

The docs page does not state rate limits or error codes.

Quick start

  1. Get a key

    Create an account with Mailboxlayer and copy your api key (free tier). Where to get it

  2. Make your first request

    Validate one email address and get its syntax, MX, SMTP, disposable and score data.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://apilayer.net/api/check?email=jane.doe%40example.com&access_key=YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "email": "jane.doe@example.com",
      "did_you_mean": "",
      "user": "jane.doe",
      "domain": "example.com",
      "format_valid": true,
      "mx_found": true,
      "smtp_check": true,
      "catch_all": false,
      "role": false,
      "disposable": false,
      "free": false,
      "score": 0.8
    }

Authentication

Send your API key in the access_key query parameter of every request.

Get a key from Mailboxlayer

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Not stated in the docs

Free tier. Pricing: subscription.

Email validation

Returns format validity, whether MX records and an SMTP mailbox were found, catch-all and role flags, free and disposable provider flags, a did-you-mean suggestion and a score. SMTP checking can be turned off with the smtp parameter.

Query parameters

emailstringrequiredtakes your email

The email address to verify

Example: jane.doe@example.com
smtpinteger

Enables or disables the SMTP check; the docs list the default as active

Example: 1
formatinteger

Set to 1 for prettified JSON, for debugging only

Example: 0Default: 0
callbackstring

JSONP callback function name

Example: myCallback
Response fields · 12Show

emailstring

The address checked

did_you_meanstring

Suggested correction for a likely typo, or empty

userstring

The part before the @

domainstring

The domain part

format_validboolean

Whether the syntax is valid

mx_foundboolean

Whether MX records exist for the domain

smtp_checkboolean

Whether the mailbox exists according to the SMTP check

catch_allboolean

Whether the domain accepts mail for any address

roleboolean

Whether the address is a role address

disposableboolean

Whether the domain is a disposable provider

freeboolean

Whether the domain is a free provider

scorenumber

Deliverability score

curl 'https://apilayer.net/api/check?email=jane.doe%40example.com&access_key=YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "email": "jane.doe@example.com",
  "did_you_mean": "",
  "user": "jane.doe",
  "domain": "example.com",
  "format_valid": true,
  "mx_found": true,
  "smtp_check": true,
  "catch_all": false,
  "role": false,
  "disposable": false,
  "free": false,
  "score": 0.8
}