Skip to content

Lars-Marcel/block-trashmail.space

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

block-trashmail.space

With the free block-trashmail.space API you can detect disposable email adresses.
There are currently ~180.000 domains in the database.
Database will be updated automatically every day.

How to use?

In this repository you can find example functions for PHP, JavaScript, Python 2.x and Python 3.x

Javascript

function callback(bool) {
    console.log(bool.toString()); // true
}
isTrashmail("[email protected]", callback);

PHP & Python

isTrashmail("[email protected]"); // returns true


Feel free to pull examples for other languages :)

API

https://www.block-trashmail.space/api/trash-mail.com
- OR -
https://www.block-trashmail.space/api/[email protected]

If the email-domain is on our blacklist the API returns 1, otherwise 0.

Rate limiting:
none :)