Skip to content
ValidatedMails.com

Email verification API

ValidatedMails gives developers a real-time API for verifying email addresses before accounts, leads, forms, and outbound sends depend on them.

See the request and the decision

Call from your server with a private API key. This example uses a reserved example address: replace it with an address you are authorized to verify. It is a request example, not a live result.

curl -X POST https://api.validatedmails.com/validate \
  -H "Authorization: Bearer $VALIDATEDMAILS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"person@example.com"}'

Run a working integration in two steps

Download a standalone example. Python uses the standard library; JavaScript needs Node.js 18 or newer. Set VALIDATEDMAILS_API_KEY privately in your environment, then run the script without arguments for a free connection check. Add --email with an address you are authorized to verify for one validation. No automatic retries are made.

python3 validate-email.py
node validate-email.mjs

# Optional: each command below can consume one credit.
python3 validate-email.py --email person@example.com
node validate-email.mjs --email person@example.com

Keep uncertainty in your application

An illustrative response is shown below. Branch on status rather than collapsing everything into a boolean. A valid result is evidence from verification, not a guarantee of delivery or inbox placement.

{
  "email": "person@example.com",
  "status": "risky",
  "is_valid": false,
  "score": 55,
  "reason": "Catch-all domain"
}
  • valid: passed verification checks; continue under your sending policy.
  • risky: review signals such as catch-all behavior before deciding to send.
  • invalid: suppress from this send and let the user correct the address.
  • unknown: keep for review or a later bounded retry; do not label it invalid.

Choose single checks, batches, or CSV jobs

Use single checks for form submissions, POST /validate/batch for 1–100 addresses per request, and background bulk jobs for CSV lists. Batch results follow input order; inspect each result for item-level errors.

  • Keep API credentials on your backend, never in browser JavaScript.
  • Batch request size is not an account throughput guarantee. Increase load gradually and handle admission responses.
  • HTTP 401: repair authentication. HTTP 402: check credits. HTTP 429: honor Retry-After.
  • A lost response or timeout can happen after processing. Do not blindly repeat a paid request.

FAQ

Implementation-oriented answers for teams deciding how to use this workflow.

What does the email verification API return?

The API returns structured verification data rather than only a boolean. Typical consumers use status, score, reason, normalized email, domain, MX hosts, disposable, role, accept-all, and related signals to drive product or operations policy.

Where should the API be called in a production system?

Common integration points include signup forms, lead capture, CRM imports, outbound campaign preparation, account recovery flows, and enrichment pipelines. The right placement depends on whether the system needs to block bad addresses immediately or mark them for review downstream.

Is email verification deterministic?

Some checks are deterministic, such as syntax and many DNS failures. Mailbox-oriented checks can be probabilistic because mail providers may use catch-all routing, greylisting, temporary deferrals, or anti-abuse behavior. The API exposes reason and risk fields so callers can handle uncertainty explicitly.

Does the API check MX records?

Yes. MX and DNS data are part of the verification process and help distinguish malformed addresses, domains without mail routing, and domains that require mailbox-level policy handling.

Does the API detect disposable and role addresses?

Yes. Disposable and role-account signals are returned separately so application teams can decide whether to reject, allow, throttle, or review those addresses based on their own product policy.

How should engineering teams use risky or unknown results?

Risky or unknown results should normally be routed to a product-specific policy instead of treated as hard failures. Examples include confirmation emails, manual review, lower sending priority, or delayed retry depending on the workflow.

Do API credits expire?

No. Credits do not expire, and API checks use the same shared credit balance as single validation and bulk validation workflows.