Free API to Block Disposable Emails to Prevent Spam and Fraud

0 Comments
Editor Ratings:
User Ratings:
[Total: 0 Average: 0]




TrustyMails provides a free API to block disposable emails to prevent spam and fraud. It has a web app as well where you can check if an email belongs to a disposable email domain. This website has a huge list of domains that belong to services and websites that let you create a free disposable email address. Also, for new domains, it checks their MX records and then decides if it is a permanent email address.

Web apps and website subscriptions often receive a lot of fake emails. They create bouncing problem during sending emails campaigns and updates. You can prevent this from happening by checking the emails at the signup. When a new user signs up, you can implement the TrustyMails API to see if their email address belongs to spam. You can quickly identify that by making a simple API call and analyze the JSON response that it returns.

Free API to Block Disposable Emails to Prevent Spam and Fraud

Go to the main homepage of this service and then sign up for a free account. After that, just log in and then it will reveal and API key that you have to copy down.

TrustMails Sign UP and Get API Key

Now, you just need to construct the API call like this. Replace the key in this API call and also specify the domain that you want to check for disposable mail.

Syntaxcurl -X GET "https://trustymails.com/api/Domain" \ -H Authorization: API_Key"

Example: curl -X GET "https://trustymails.com/api/soleman.click" \ -H Authorization:9242acXXXXX71625"

Running the above command will produce JSON response as you can see in the screenshot below. In the response, you can see the status of the “disposable” variable. If it is set to “true” then that means, then specified domain belongs to a disposable email address.

TrustyMails API in Action

Apart from making API calls using cURL or any other command line tool, you can also use the web version. You just enter the domain there and then it will show you the results.

TrustyMails Web App in Action

In this way, you can use this simple API and web service to quickly identify the domains that belong to fake or disposable email addresses. Implement this API in your websites or webapps to keep spammers away.

Closing thoughts:

If you are looking to build some kind of mechanism to prevent users from signing up using disposable or temporary email addresses, then this API can help you. Just sign up and get the API and then move on building your web app. It will work with most common type of frameworks and programming languages.

Try TrustyMail Here

Editor Ratings:
User Ratings:
[Total: 0 Average: 0]
Free/Paid: Free

Leave A Reply

 

Get 100 GB FREE

Provide details to get this offer