Kickbox provides a free, open API endpoint for checking a domain or email address against a frequently-updated list of disposable domains. CORS is enabled for all originating domains, so you can call the API directly from your client-side code.
Using the API is as easy as hitting a URL.
Append the email address or domain name to check to the end.
GET https://open.kickbox.com/v1/disposable/mailinator.com HTTP/1.1
The response will be JSON with one boolean property, e.g. {"disposable":false}
$('#form').submit(function(e){
var val = $("#emailOrDomain").val();
var endpoint = "https://open.kickbox.com/v1/disposable/";
//hit the api
$.ajax({
url: endpoint + encodeURIComponent(val);
}).done(function(data) {
console.log(data);
}).error(function(data) {
console.warn(data);
});
//cancel the submit event
e.preventDefault();
});
Disposable email addresses are one-time use addresses. Sometimes they are forwarded to a real address to track sites that send other unsolicited mail. Othertimes they are used once and ignored completely.
For business services and newsletter signups, disposable emails addresses are low quality emails to collect.
Looking for the best data possible? Our email verification API uses sophisticated techniques to identify more disposable and risky addresses.