Validation · API
Email Validation
Check syntax, MX records and deliverability, and flag disposable or role addresses.
POST /v1/validate/email
POST /v1/validate/email
200 OK
{ "email": "[email protected]", "valid": true, "deliverable": true, "disposable": false, "role": false }
Capabilities
Why teams use it
Deliverability checks
Syntax, MX and mailbox signals in one call.
Disposable detection
Block temporary and throwaway domains.
Role & free flags
Spot role and free-provider addresses.
Real-time
Fast enough to run right at the signup form.
Request
Call it in your language
curl -X POST https://api.locanium.com/v1/validate/email \ -H "Authorization: Bearer sk_live_..." \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]"}'
Response
What you get back
- Whether the address is valid
validboolean - Likely to receive mail
deliverableboolean - MX records present
mx_foundboolean - Disposable/temporary domain
disposableboolean - Role address (info@, admin@)
roleboolean - Free provider (gmail, etc.)
freeboolean
Use cases
What you can build
Signup quality
Block typos, disposable and role addresses at the form.
Deliverability
Protect sender reputation before you send.
Lead scoring
Flag free vs business domains.
Validation family
Full parameters, errors and code samples are in the API reference.