This content originally appeared on DEV Community and was authored by Temirlan Basitov
Hey Devs đź‘‹
I recently built a simple but powerful Email Verifier API using Java and Spring Boot — and deployed it for free using Railway. If you’re building a SaaS, newsletter, or signup form, you know how important it is to filter out fake or invalid emails. So I decided to create my own solution.
Here’s a quick breakdown of how I did it 👇
🛠️ Tech Stack
Java 17
Spring Boot
Apache Commons Validator (for syntax checks)
DNS MX Record Lookup (to verify domain)
Railway (for hosting)
⚙️ How It Works
The API accepts a POST request with an email address and returns a JSON response like:
{
"email": "test@example.com",
"isValidSyntax": true,
"hasMXRecord": true,
"isDisposable": false
}
đź”— Try It Out
You can test the API here: https://temirlanbasitov.github.io/email-verifier-landing/
This content originally appeared on DEV Community and was authored by Temirlan Basitov

Temirlan Basitov | Sciencx (2025-09-06T20:14:24+00:00) 🚀 How I Built an Email Verifier API in Java (And Deployed It for Free). Retrieved from https://www.scien.cx/2025/09/06/%f0%9f%9a%80-how-i-built-an-email-verifier-api-in-java-and-deployed-it-for-free/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.