Sign Up

Log In

E-mail Check Invalid or Disposable Domain

FREEMIUM
By Top-Rated
Updated 5 months ago
Commerce
9.7/10
Popularity Score
1248ms
Latency
100%
Success Rate

E-mail Check Invalid or Disposable Domain API Documentation

Easily check if a certain e-mail address is valid. Is it a valid domain? Is the e-mail a temporary/disposable e-mail? That's a common indicator of spamming/trolling, so now there's an API for you so you can easily block it!

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

GETmailcheck
GETmailcheck

Check if e-mail domain is valid, or a disposable/temporary address. Invalid domains (typos, non-responding mailserver, etc) will return "valid: false", "block: true". Disposable e-mail domains will return "valid: true" (since it's a valid domain), but "block: true" and "disposable: true".

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
domainSTRING
REQUIREDFull e-mail, or domain to check if valid or temporary/disposable. You can enter an e-mail address, and it will be converted to a domain, but entering just the domain is recommended for user privacy reasons.
Optional Parameters
disable_test_connectionBOOLEAN
OPTIONALIf this parameter is set to true, no connection test will be made to the mail server. This can greatly increase the speed of the validation, but will mark some domains which are missing a MX-pointer, and don't respond to port 25, as valid, which they potentially aren't. This does not affect disposable domain detection at all, just the validity of domains which are missing an MX-pointer.
Request Snippet
unirest.get("https://mailcheck.p.rapidapi.com/?disable_test_connection=undefined&domain=<required>")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://mailcheck.p.rapidapi.com/?disable_test_connection=undefined&domain=<required>")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard