# POST /v1/validate: Validate an Email | API Reference

URL: https://email-validation.org/docs/api-reference/validate-email/
Updated: 2026-11-27

> Documentation index: https://email-validation.org/llms.txt

`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](https://email-validation.org/docs/authentication/)):

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

## Try it

On the page, pick one of the [test addresses](https://email-validation.org/docs/test-addresses/) and see the request and the API's answer to it, worked out in the browser: nothing is sent and no key is needed.

## 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](https://email-validation.org/docs/api-reference/#schema-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](https://email-validation.org/docs/api-reference/#schema-status) · **always present**\
  The verdict for the address.
- **`reason`** · [Reason](https://email-validation.org/docs/api-reference/#schema-reason) · **always present**\
  Why the address got its status. Each reason has its own page, linked from [every status and reason](https://email-validation.org/docs/statuses/#reasons).
- **`action`** · [Action](https://email-validation.org/docs/api-reference/#schema-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](https://email-validation.org/docs/api-reference/#schema-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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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`](https://email-validation.org/docs/errors/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.

## Examples

### Request

**curl**

```bash
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"}'
```

**JavaScript**

```js
const res = await fetch('https://api.email-validation.org/v1/validate', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.EV_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ email: 'accepted@sandbox.email-validation.org' }),
  signal: AbortSignal.timeout(20_000),
});
const data = await res.json();
```

**Python**

```python
import os

import requests

res = requests.post(
    "https://api.email-validation.org/v1/validate",
    headers={"Authorization": f"Bearer {os.environ['EV_API_KEY']}"},
    json={"email": "accepted@sandbox.email-validation.org"},
    timeout=20,
)
data = res.json()
```

**PHP**

```php
<?php
$ch = curl_init('https://api.email-validation.org/v1/validate');
curl_setopt_array($ch, [
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('EV_API_KEY'),
        'Content-Type: application/json',
    ],
    CURLOPT_POSTFIELDS => json_encode(['email' => 'accepted@sandbox.email-validation.org']),
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 20,
]);
$data = json_decode(curl_exec($ch), true);
```

**Ruby**

```ruby
require 'json'
require 'net/http'

uri = URI('https://api.email-validation.org/v1/validate')
req = Net::HTTP::Post.new(uri)
req['Authorization'] = "Bearer #{ENV.fetch('EV_API_KEY')}"
req['Content-Type'] = 'application/json'
req.body = JSON.generate({ 'email' => 'accepted@sandbox.email-validation.org' })
res = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 20) { |http| http.request(req) }
data = JSON.parse(res.body)
```

**Go**

```go
package main

import (
	"encoding/json"
	"log"
	"net/http"
	"os"
	"strings"
	"time"
)

func main() {
	req, err := http.NewRequest("POST", "https://api.email-validation.org/v1/validate", strings.NewReader(`{"email":"accepted@sandbox.email-validation.org"}`))
	if err != nil {
		log.Fatal(err)
	}
	req.Header.Set("Authorization", "Bearer "+os.Getenv("EV_API_KEY"))
	req.Header.Set("Content-Type", "application/json")
	client := &http.Client{Timeout: 20 * time.Second}
	res, err := client.Do(req)
	if err != nil {
		log.Fatal(err)
	}
	defer res.Body.Close()
	var data map[string]any
	if err := json.NewDecoder(res.Body).Decode(&data); err != nil {
		log.Fatal(err)
	}
	log.Println(data)
}
```

### Response 200

Valid (sandbox address, free):

```json
{
  "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"
}
```

More example responses:

Catch-all: the domain accepts every address (sandbox, free):

```json
{
  "email": "catch_all@sandbox.email-validation.org",
  "status": "catch_all",
  "reason": "catch_all",
  "action": "send_with_caution",
  "account": "catch_all",
  "domain": "sandbox.email-validation.org",
  "did_you_mean": null,
  "free_email": false,
  "role_account": false,
  "disposable": false,
  "catch_all_domain": true,
  "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"
}
```

Disposable: a throwaway inbox (sandbox, free):

```json
{
  "email": "disposable@sandbox.email-validation.org",
  "status": "disposable",
  "reason": "disposable",
  "action": "remove",
  "account": "disposable",
  "domain": "sandbox.email-validation.org",
  "did_you_mean": null,
  "free_email": false,
  "role_account": false,
  "disposable": true,
  "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"
}
```

Valid with a warning: a spam trap, action remove (sandbox, free):

```json
{
  "email": "spamtrap@sandbox.email-validation.org",
  "status": "valid",
  "reason": "spamtrap",
  "action": "remove",
  "account": "spamtrap",
  "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"
}
```

Invalid: likely typo (sandbox, free):

```json
{
  "email": "likely_typo@sandbox.email-validation.org",
  "status": "invalid",
  "reason": "likely_typo",
  "action": "remove",
  "account": "likely_typo",
  "domain": "sandbox.email-validation.org",
  "did_you_mean": "accepted@sandbox.email-validation.org",
  "free_email": false,
  "role_account": null,
  "disposable": null,
  "catch_all_domain": null,
  "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"
}
```

Unknown: timed out (sandbox, free):

```json
{
  "email": "timeout@sandbox.email-validation.org",
  "status": "unknown",
  "reason": "timeout",
  "action": "retry_later",
  "account": "timeout",
  "domain": "sandbox.email-validation.org",
  "did_you_mean": null,
  "free_email": null,
  "role_account": null,
  "disposable": null,
  "catch_all_domain": null,
  "mx_found": null,
  "mx_record": null,
  "smtp_provider": null,
  "domain_age_days": null,
  "processed_at": "2026-10-20T09:30:00.000Z",
  "credits_used": 0,
  "request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
}
```


### Error 400

```json
{
  "error": {
    "code": "invalid_request",
    "message": "The request is invalid.",
    "request_id": "req_7Hq2LmX9cV4bN8tR1zK6wD"
  }
}
```


## More

- Every endpoint and schema on one page: [API reference](https://email-validation.org/docs/api-reference/#validateemail).
- The full OpenAPI document: [JSON](https://api.email-validation.org/openapi.json) or [YAML](https://api.email-validation.org/openapi.yaml).
- Free test addresses for every status and reason: [test addresses](https://email-validation.org/docs/test-addresses/).
- Samples with retries and error handling: [code samples](https://email-validation.org/docs/code-samples/).
