API reference

Validate an email address

POST https://api.email-validation.org/v1/validate

Checks one address and returns its status, reason and recommended action.

Also served at https://api-eu.email-validation.org/v1/validate (EU data residency: validated and stored in the EU).

About this endpoint

  • Costs 1 credit, except results with status unknown (free) and answers to malformed or sandbox addresses and to addresses on reserved domains such as example.com (free): https://email-validation.org/docs/test-addresses/#reserved-domains
  • Waits up to timeout seconds (default 10). Set your HTTP client timeout a few seconds higher.
  • The result can come from a check of the same address made in the last 12 months (processed_at is when this answer was produced). Results with status unknown are always checked again. Send fresh=true to check again anyway.
  • Paid accounts may send up to 500 requests per second; accounts without a purchase up to 20. Every IP address may send up to 500 API requests per second. Cloudflare Workers all share one address, so a Worker's requests count toward that limit only when they carry no key.
  • Test for free with <reason>@sandbox.email-validation.org addresses: https://email-validation.org/docs/test-addresses/

The body (JSON or form data) is at most 4 KB (413 above) and must arrive within 2 seconds (400 otherwise).

Authentication

Your API key, in one of these headers (a key in the URL is refused; see Authentication):

  • Your API key as a bearer token: Authorization: Bearer ev_live_….
  • Alternative header for clients that cannot set Authorization.

Try it

The API's answer to a test address, worked out in your browser: nothing is sent and no key is needed (request_id and processed_at are examples). Without JavaScript, every test address and its answer is on test addresses.

curl https://api.email-validation.org/v1/validate \
  -H "Authorization: Bearer $EV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"accepted@sandbox.email-validation.org"}'
{
  "email": "accepted@sandbox.email-validation.org",
  "status": "valid",
  "reason": "accepted",
  "action": "send",
  "account": "accepted",
  "domain": "sandbox.email-validation.org",
  "did_you_mean": null,
  "free_email": false,
  "role_account": false,
  "disposable": false,
  "catch_all_domain": false,
  "mx_found": true,
  "mx_record": "mx.sandbox.email-validation.org",
  "smtp_provider": "other",
  "domain_age_days": 3650,
  "processed_at": "2026-10-20T09:30:00.000Z",
  "credits_used": 0,
  "request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
}

Request body

Content type: application/json, application/x-www-form-urlencoded.

Fields of the application/json body:

  • email · string · required
    The address to check. (up to 1,024 characters)
  • ip_address · string
    Optional IPv4 or IPv6 address the person used when they gave you the address (for example at sign-up). Ignored when it is not a valid IP. (up to 64 characters)
  • timeout · integer
    How many seconds you are willing to wait (5–15). When the check cannot finish in time the result is unknown with reason timeout, and it is free. (5 to 15; default 10)
  • fresh · boolean
    Set true to check the address again even when it was checked in the last 12 months. By default a definite result from such a check can be returned instead; it costs 1 credit like a new check. The new result, if definite, is stored only when the address has no stored result yet; it never replaces or removes a stored result. (default false)

Response

200: The result. HTTP 200 also covers unknown results, which are free.

Headers

  • X-Request-Id: Our ID for the request (same as request_id in bodies).
  • X-Credits-Remaining: Your credit balance after this request, when it is known at that moment. With requests spread over many connections it can lag a few seconds.
  • X-RateLimit-Limit: Requests per second allowed for this account or key (the lower of the two), as your account says: sent with results when it is known at that moment.
  • X-Processed-In: EU server only: the Cloudflare data center that processed the request (its code, for example FRA). Answers to checks, lists and account requests carry it.

Body: ValidationResult

  • email · string · always present
    The address as you sent it, without surrounding spaces (test addresses in lower case). For reason normalized, the corrected address; for an international domain, its ASCII form (xn--…), which is what we check.
  • status · Status · always present
    The verdict for the address.
  • reason · Reason · always present
    Why the address got its status. Each reason has its own page, linked from every status and reason.
  • action · Action · always present
    What we recommend doing with the address.
  • account · string or null · always present
    The part before the @ of email, as written there.
  • domain · string or null · always present
    The part after the @ (international domains in ASCII form).
  • did_you_mean · string or null · always present
    A suggested correction when the address looks like a typo of a common domain.
  • free_email · boolean or null · always present
    True when the domain is a free consumer mailbox service.
  • role_account · boolean or null · always present
    True when the address belongs to a team or function (such as info@ or sales@) rather than a person: from the check or our own list of such names. Can be true on any status and never changes it.
  • disposable · boolean or null · always present
    True when the address comes from a throwaway inbox service: from the check or our own list of such domains. A known throwaway address returns the status disposable, unless the check found it invalid (for example a misspelled domain that the list names) or could not finish (unknown): those keep their status and still carry true.
  • catch_all_domain · boolean or null · always present
    True when the domain accepts mail for any address. False when the mail server rejected this mailbox or the domain takes no mail.
  • mx_found · boolean or null · always present
    True when the domain publishes mail (MX) records; null when they were not looked up (for example on a likely_typo result).
  • mx_record · string or null · always present
    The preferred mail server host for the domain.
  • smtp_provider · SmtpProvider or null · always present
    The mail provider that hosts the domain's mailboxes.
  • domain_age_days · integer or null · always present
    Age of the domain registration in days, when known.
  • processed_at · string (date-time) · always present
    When this result was produced (UTC). A result reused from a check of the same address can come from a check made up to 12 months earlier; send fresh=true for a new check.
  • credits_used · integer: 0, 1 · always present
    1 when this result cost a credit. Results with status unknown, answers to malformed addresses and sandbox addresses are free. It is provisional until your usage shows it; rarely, it turns out free.
  • request_id · string · always present
    Our ID for this request. Keep it in your logs, and quote it in a billing or legal dispute sent to legal@email-validation.org, which a person reads; the AI support assistant cannot look requests up.

Errors

An error answer uses no credit. Branch on code, never on message.

  • 400 · invalid_request
    A parameter is missing, has the wrong type or is out of range, the Authorization header is not Bearer <key>, or the API key was sent in the URL (a query parameter named api_key in any spelling, such as apiKey or API-KEY, or any query value that looks like a key). The message names the fields at fault. A method the path does not take (such as GET /v1/bulk) is a 405 with an Allow header that lists the methods it does take, sent before the key is checked; /a2a does the same with Allow: POST. /mcp checks the key first: with a valid key, any method but POST gets its 405 with Allow: POST and a JSON-RPC body instead. What to do: Correct the request. Send the key in the Authorization header, never in the query string. On a 405, use a method from Allow.
  • 401 · unauthorized
    No API key was sent, or the key is not valid: unknown, revoked, expired or replaced by a roll. What to do: Send a current key as Authorization: Bearer <key> (or X-Api-Key). Create a new key in the dashboard if needed.
  • 402 · insufficient_credits
    The account has no credits left for this request (or not enough for a bulk job). What to do: Buy a credit pack in the dashboard, then retry. Nothing was charged for the failed request.
  • 403 · forbidden
    The key lacks the scope this endpoint needs (for example bulk), the account is suspended or on a billing hold, or the account has EU-only processing turned on and the request went to https://api.email-validation.org. GET /v1/latency, which takes no key, answers it to a browser request made by another website: it serves our website only. What to do: Use a key with the right scope, or check the notices in your dashboard. With EU-only processing, send requests to https://api-eu.email-validation.org. For GET /v1/latency, call it from a server or a terminal, not from another website's page.
  • 403 · forbidden_origin
    The key is restricted to a list of browser origins and the request came from another Origin. What to do: Call the API from an allowed origin, or update the allowed origins of the key.
  • 413 · payload_too_large
    The request body is over the limit: 100 MB for a CSV or TXT bulk upload, 100,000 addresses or 4 MB for a JSON list, 4 MB for an MCP message, 4 KB for a POST /v1/validate body. A bulk upload also gets it when it would take the account's stored lists over their quota: 2 GB without a purchase, 20 GB with one. What to do: Split the list, or upload large files in the dashboard, which takes files up to 1 GB (the 1,000,000-row limit still applies). Over the storage quota, cancel lists that are waiting to start, or wait until older lists expire, before you upload again; splitting does not help.
  • 429 · rate_limited
    The account or key sent more requests per second than its limit allows, the IP address sent more than 500 requests per second (requests with a key from Cloudflare Workers, which all share one address, are left out), or the IP address sent more than 20 requests with an invalid key in a minute (its further invalid keys get this for up to a minute; valid keys keep working). GET /v1/latency has its own limit instead, 20 requests in 10 seconds per IP address, and test and malformed addresses, which do not count toward the per-second limit, have a separate, much higher safety limit per key. What to do: Wait for the number of seconds in Retry-After, then retry. Spread requests evenly over time, and fix an invalid key instead of retrying it.
  • 429 · abuse_throttled
    Too many recent requests ended without a definite answer (free outcomes) compared with charged ones, or an account without a purchase reached its daily number of checks (single checks, lists and the checker on our site together), so the account is slowed down or paused until the time in Retry-After (the message gives it when the pause is long). What to do: Wait for Retry-After. Avoid re-checking the same failing addresses in a tight loop. Without a purchase, wait for that time or buy credits. A list refused with a Retry-After stays ready (no error_code) and starts by itself when the pause ends; without one, start it again after a purchase.
  • 429 · key_daily_cap
    This key reached the daily credit cap set for it in the dashboard, or a bulk list would take it over that cap: a list is started only when the cap still covers all of it. What to do: Raise or remove the cap for this key in the dashboard, use another key, or wait until the cap resets the next UTC day. A list it refused does not start by itself: start it again.
  • 500 · internal_error
    Something failed on our side. No credit was used. What to do: Retry later. If it keeps happening, check https://email-validation.org/status/.
  • 503 · service_unavailable
    Validation is paused for a short time, for example while a dependency recovers. No credit was used. GET /v1/status answers it while no status information is available, and GET /v1/latency while its test answer is not in the cache, both with Retry-After: 60. What to do: Wait for Retry-After, then retry. In sign-up forms, accept the address and check it later.

More

Updated · Maintained by: Email Validation LLC

Need help? Contact support, or ask the help chat. Something wrong or missing on this page? Tell us