mail-check.tech
Hey everyone đ
Havenât posted in a while because Iâve been working on something super exciting with my friend and today, weâre finally sharing it with the world:
Say hello to MailCheck.
đŻ The Problem
Letâs be honestâââweâve all, at some point, used disposable email services like temp-mail.org to get that extra free trial or bypass an email wall. While it may seem harmless from a user’s point of view, itâs a real headache for companies.
Free trial abuse, spam sign-ups, and inflated user metricsâââthese arenât just minor inconveniences. For businesses, they mean:
Wasted server resources and API usageSkewed analytics and user engagement dataExtra customer support costsReduced trust in the platform
We realized just how widespread this issue is when we were personally exploiting it. Thatâs when the light bulb went off.
What if we could build a tool that prevents disposable emails before they even hit your backend?
đ Introducing MailCheck
MailCheck is an API service that lets you verify email addresses in real timeâââand detect whether theyâre legit, or just a disposable inbox waiting to be forgotten.
It goes way beyond basic syntax validation. We use a combination of:
Domain analysisMX record checksBehavior trackingA constantly updated list of disposable email providers
The goal? Help you catch fake or throwaway signupsâââwithout slowing down your usersâ experience.
đ ď¸ How MailCheck Works
đ Base URL
All requests are sent to:
https://api.mail-check.tech
đ Authentication
Every request must include your APIÂ key:
X-API-Key: your_api_key_here
⥠Verification Methods
We provide two levels of verification depending on your need for speed vs certainty.
1. S1 Verification (Standard)
Checks domain analysis, MX records, usage patternsCompares against our list of known disposable email providersFast and perfect for sign-up forms
Sample Request (S1)
curl -X POST https://api.mail-check.tech/api/v0/validate/email
-H “Content-Type: application/json”
-H “X-API-Key: your_api_key_here”
-d ‘{“email”: “user@example.com”}’
Sample Response
{
“is_valid”: true,
“needs_TBA”: false,
“reason”: “Domain has valid MX records and passes all verification checks”
}
2. TBA Verification (Task-Based Authentication)
Includes everything from S1Adds behavior-based analysisIdeal for higher-risk or suspicious emails
Sample Request (TBA)
curl -X POST https://api.mail-check.tech/api/v0/validate/email/tba
-H “Content-Type: application/json”
-H “X-API-Key: your_api_key_here”
-d ‘{“email”: “user@example.com”}’
Sample Response
{
“is_valid”: true,
“needs_TBA”: false,
“reason”: “Email passed Task-Based Authentication verification”
}
đ§ Recommended Workflow
1. Use S1 verification for every sign-up
2. If `is_valid = true` and `needs_TBA = false`, you’re good â
3. If `is_valid = false`, reject the email â
4. If `needs_TBA = true`, call the TBA endpoint for deeper verification đ
Note: IF needs_TBA is false you shouldn’t perform it since it’s time consuming,
and effective for cases when S1 checks return needs_TBA as true.
𧯠Error Handling
Hereâs a sample error you might get if your API key is missing:
{
“detail”: “API key missing. Please provide a valid API key in the X-API-Key header.”
}
Common HTTP errors include:
401âââUnauthorized403âââForbidden422âââMalformed request429âââRate limited500âââInternal error
Thanks for reading! If you found this helpful or know someone who runs a platform dealing with fake sign-upsâââfeel free to share đŹ
and for any query related mail-check.tech contact product@mail-check.tech
How to stop temp mail Sign ups on your website was originally published in Coinmonks on Medium, where people are continuing the conversation by highlighting and responding to this story.