MX Record Checker API
Check MX records and identify email providers for any domain instantly.
Resolve and prioritize MX records for any domain while automatically detecting email providers like Google Workspace or Microsoft 365. Essential for verifying email deliverability, auditing mail server infrastructure, and validating domain setup. No external API calls — 100% server-side.
How it works
Three steps. No complex setup.
Validación del dominio
Se normaliza y valida el formato del dominio antes de realizar cualquier consulta DNS.
Resolución de registros MX
Se consultan los servidores DNS autoritativos para obtener todos los registros MX del dominio.
Ordenación por prioridad
Los registros se ordenan por valor de prioridad (menor número = mayor prioridad), siguiendo el estándar RFC 5321.
Detección de proveedor
Se analiza el hostname de cada registro MX contra una base de datos de proveedores conocidos para identificar Google Workspace, Microsoft 365, Zoho, Proton Mail y más de 15 proveedores.
Who is it for?
Response example
Real input and output. What you send and what you get back.
// Input
{
"domain": "gmail.com"
}// Output
{
"domain": "gmail.com",
"is_valid_format": true,
"has_mx_records": true,
"mx_records": [
{
"exchange": "gmail-smtp-in.l.google.com",
"priority": 5,
"provider": "Google Workspace / Gmail"
},
{
"exchange": "alt1.gmail-smtp-in.l.google.com",
"priority": 10,
"provider": "Google Workspace / Gmail"
},
{
"exchange": "alt2.gmail-smtp-in.l.google.com",
"priority": 20,
"provider": "Google Workspace / Gmail"
}
],
"primary_provider": "Google Workspace / Gmail",
"provider_name": "Google LLC",
"can_receive_email": true,
"is_blacklisted": false,
"error": null
}Try it now
// live demo — no account needed to try
Playground
Integrate into your project
Copy and paste. Replace YOUR_API_KEY with your real key.
curl -X POST https://jsnhlab.manus.space/api/trpc/mxChecker.check \
-H "Content-Type: application/json" \
-H "x-api-key: TU_API_KEY" \
-d '{"json": {"domain": "gmail.com"}}'Why choose JSNH Engine Lab
Low latency
Responses in under 200ms
Secure authentication
API keys with per-plan rate limiting
Usage tracking
Every request logged with metrics
Production ready
Input validation and typed errors
Frequently asked questions
Everything you need to know before integrating.
Other modules
Expand your integration with more APIs from the catalogue.
Email Validator API
Validate email addresses instantly. Detect fake, disposable and invalid emails.
1 token / call →
Phone Validator API
Validate phone numbers from any country. Detect carrier, line type and E.164 format.
1 token / call →
URL Checker API
Verify URL accessibility, detect redirects, and extract SEO metadata instantly.
2 tokens / call →
// production ready
Start using MX Record Checker API
Sign up free and get 1,000 tokens to start. No credit card. No complex setup.