API
API reference
Every endpoint, parameter and schema of the email-validation.org REST API, generated from our OpenAPI 3.1 document. Download the document as JSON or YAML to generate a client, import it into an API tool or give it to an AI coding assistant. To send the requests from Postman, download our Postman collection, built from the same document, and follow the Postman guide to import it.
- Base URL:
https://api.email-validation.org; for EU data residency,https://api-eu.email-validation.org, where/v1/validatetakes POST only (see EU data residency) - Authentication:
Authorization: Bearer <API key>(orX-Api-Key). See Authentication. - Format: JSON in UTF-8, except bulk uploads (CSV or plain text),
POST /v1/validate, which also takes form data, result downloads (CSV),/openapi.yaml(YAML) and the MCP endpoint/mcp, which may answer as a server-sent event stream (text/event-stream). - Errors:
{"error": {"code": "…", "message": "…", "request_id": "…"}}with the HTTP status on the REST endpoints, except a416from a results download, whose body is empty./mcpand/a2aanswer the same body for what fails before a message is read (400,401,413,429), and JSON-RPC errors or tool errors after. See Errors. - Times: ISO 8601 in UTC.
Sending a request again (idempotency)
The API takes no idempotency key today. What happens when you send the same request again, for example after a timeout on your side:
| Request | Sent again |
|---|---|
Reads: GET of credits, usage, a bulk job, its results or status | Safe. Reads change nothing and use no credits. |
POST /v1/validate (or GET /v1/validate) | A new check. It may use another credit, like the first (an unknown result never does). A request that ended in an error used none, so retrying a 429 or 503 cannot charge twice. |
POST /v1/bulk | A new list, a second job. Before you upload a list again after a timeout, look for it under Bulk lists in the dashboard. |
POST /v1/bulk/{id}/start | Safe. A job that is already queued, running or completed is returned as it is and charged once. A job still being analyzed, or one canceled, failed or expired, answers 409. |
DELETE /v1/bulk/{id} | Safe. A job already canceled is returned as it is; a finished job answers 409. |
When to retry and how long to wait: Retrying safely.
Pagination
No endpoint returns its answer in pages, so there is no page, cursor or offset parameter:
GET /v1/usagereturns the whole window you ask for, at most 90 days, in one answer: one item per day, or per API key. See Usage.GET /v1/bulk/{id}/resultsreturns the whole result file as one CSV. Resume a cut download with aRangeheader: Download results.- There is no endpoint that lists your bulk jobs. Keep the
idfrom the answer toPOST /v1/bulk(itsLocationheader names the job too); the dashboard lists every job under Bulk lists.
Endpoint pages
These endpoints have a page of their own, with the request in seven languages beside the example responses, every field and every error it can return:
POST /v1/validate: Validate an email addressGET /v1/validate: Validate an email address (query string)GET /v1/credits: Get your credit balanceGET /v1/usage: Get credit usage by day or by keyPOST /v1/bulk: Create a bulk jobGET /v1/bulk/{id}: Get a bulk jobDELETE /v1/bulk/{id}: Cancel a bulk jobPOST /v1/bulk/{id}/start: Start a bulk jobGET /v1/bulk/{id}/results: Download bulk results (CSV)GET /v1/status: Get service status
Endpoints
Validate an email address (query string)
GET /v1/validate
Endpoint page: examples in seven languages, every field and error
Checks one address and returns its status, reason and recommended action.
- Costs 1 credit, except results with status
unknown(free) and answers to malformed or sandbox addresses and to addresses on reserved domains such asexample.com(free): https://email-validation.org/docs/test-addresses/#reserved-domains - Waits up to
timeoutseconds (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_atis when this answer was produced). Results with statusunknownare never reused (for up to 10 minutes after a domain's mail servers failed to answer several times in a row, checks at that domain answerunknownwithout asking them). Sendfresh=trueto check again instead of getting a stored result; it does not lift that 10-minute hold. - Paid accounts may send up to 500 validation requests per second (short bursts up to 500); accounts without a purchase up to 20 (bursts up to 40, at most 100 in flight at once). Test and malformed addresses do not count toward the per-second limit (a separate, much higher safety limit per key applies). 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 or access token.
- Test for free with
<reason>@sandbox.email-validation.orgaddresses: https://email-validation.org/docs/test-addresses/
This form puts the address in the URL. Prefer POST. The EU endpoint (https://api-eu.email-validation.org) does not accept it: it answers 400 invalid_request ("On the EU endpoint, send the address in a POST body, never in the URL.").
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
email | query | string | yes | The address to check. Prefer POST so addresses stay out of URLs. (up to 1,024 characters) |
ip_address | query | string | no | Optional IP address the person used when they gave you the address. (up to 64 characters) |
timeout | query | integer | no | Seconds you are willing to wait (5–15). (5 to 15; default 10) |
fresh | query | boolean | no | 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. It does not lift the 10-minute hold on a domain whose mail servers just failed to answer several times in a row: checks at that domain still answer unknown (free). (default false) |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The result. HTTP 200 also covers unknown results, which are free. Headers: X-Credits-Remaining, X-RateLimit-Limit. | application/json: ValidationResult |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 402 | Not enough credits. Codes: insufficient_credits. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds. rate_limited: over the account's or key's per-second limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. abuse_throttled: the account is slowed down or paused; wait the seconds in Retry-After. A bulk list larger than an account without a purchase may check in a day gets abuse_throttled without Retry-After: start it again after a purchase. key_daily_cap: the key's daily cap is reached; retry after it resets (next UTC day), not by waiting in a loop. Codes: rate_limited, abuse_throttled, key_daily_cap. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Validate an email address
POST /v1/validate
Endpoint page: examples in seven languages, every field and error
Checks one address and returns its status, reason and recommended action.
- Costs 1 credit, except results with status
unknown(free) and answers to malformed or sandbox addresses and to addresses on reserved domains such asexample.com(free): https://email-validation.org/docs/test-addresses/#reserved-domains - Waits up to
timeoutseconds (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_atis when this answer was produced). Results with statusunknownare never reused (for up to 10 minutes after a domain's mail servers failed to answer several times in a row, checks at that domain answerunknownwithout asking them). Sendfresh=trueto check again instead of getting a stored result; it does not lift that 10-minute hold. - Paid accounts may send up to 500 validation requests per second (short bursts up to 500); accounts without a purchase up to 20 (bursts up to 40, at most 100 in flight at once). Test and malformed addresses do not count toward the per-second limit (a separate, much higher safety limit per key applies). 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 or access token.
- Test for free with
<reason>@sandbox.email-validation.orgaddresses: 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: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Request body
application/json: ValidateRequestapplication/x-www-form-urlencoded: ValidateRequest
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The result. HTTP 200 also covers unknown results, which are free. Headers: X-Credits-Remaining, X-RateLimit-Limit, X-Processed-In. | application/json: ValidationResult |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 402 | Not enough credits. Codes: insufficient_credits. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 413 | The body is too large. Codes: payload_too_large. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds. rate_limited: over the account's or key's per-second limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. abuse_throttled: the account is slowed down or paused; wait the seconds in Retry-After. A bulk list larger than an account without a purchase may check in a day gets abuse_throttled without Retry-After: start it again after a purchase. key_daily_cap: the key's daily cap is reached; retry after it resets (next UTC day), not by waiting in a loop. Codes: rate_limited, abuse_throttled, key_daily_cap. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get your credit balance
GET /v1/credits
Endpoint page: examples in seven languages, every field and error
Returns the spendable balance, any debt, credits still being applied, and the credit lots with their expiry dates. Needs the account:read scope.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Your credits. | application/json: Credits |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get credit usage by day or by key
GET /v1/usage
Endpoint page: examples in seven languages, every field and error
Credit usage for any window within the last 90 days. Daily credit totals come from the credit ledger and are exact; the split by status (API, MCP, dashboard and bulk results) is compiled from request records and is approximate (it can lag by up to an hour). totals are always the whole account; with group_by=key the items cover only credits spent through an API key. Needs the account:read scope.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
from | query | string (date) | no | First day (UTC, YYYY-MM-DD), no earlier than 89 days before today: usage covers the last 90 days. Defaults to 89 days before today, the earliest day allowed. |
to | query | string (date) | no | Last day (UTC). Defaults to today. The whole window must lie within the last 90 days (today included); an earlier day is a 400. |
group_by | query | string: day, key | no | Group the usage by day or by API key. (default "day") |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Usage for the range. | application/json: UsageResponse |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Create a bulk job
POST /v1/bulk
Endpoint page: examples in seven languages, every field and error
Uploads a list and creates a job. Send either a CSV or plain-text file (one address per line) as the raw body with Content-Type: text/csv or text/plain (up to 100 MB and 1,000,000 rows), or a JSON body {"emails": [...]} with up to 100,000 addresses. Content-Length is required. The job starts in analyzing: we read the file, remove duplicates and answer malformed addresses for free. Then it either starts on its own (start=true, the default) or waits in ready until you start it. Credits are held for every unique address that needs a check when the job starts, and anything not used is returned when it ends. Files and results are deleted 30 days after upload (results of a list that finishes in its last day are kept for 7 days after it finishes). Needs a key with the bulk scope. Quotas: an account without a purchase may have at most 2 lists that are analyzing or ready (jobs that start on their own count while they are analyzed); another upload is a 409 conflict until one starts or is canceled. Stored lists may take up to 2 GB without a purchase and 20 GB with one; an upload over the quota is a 413 payload_too_large.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
column | query | integer or string | no | The column that holds the addresses: a 1-based index (up to 512) or the header name. When omitted we detect it. |
has_header | query | boolean | no | Whether the first row is a header. When omitted we detect it. |
start | query | boolean | no | Start checking as soon as the file has been analyzed. Set false to review the cost first and call the start endpoint later. (default true) |
webhook_endpoint_id | query | string | no | Id of a webhook endpoint registered in the dashboard. We notify it when the job finishes, even if it did not subscribe to bulk.completed / bulk.failed, and only it: the endpoints subscribed to those events get nothing for this job, and a disabled endpoint gets nothing. A job created through the API without this parameter sends no webhook. (up to 64 characters) |
Content-Length | header | integer | yes | The size of the body in bytes. Required: a body without it (for example a chunked stream) is refused with 411 length_required. Most HTTP clients send it on their own when you pass the whole file. |
Request body
text/csv: stringtext/plain: stringapplication/json: BulkCreateJson
Responses
| Status | Meaning | Body |
|---|---|---|
| 202 | Job created and being analyzed. Headers: Location. | application/json: BulkJob |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 404 | No such resource for this account. Codes: not_found. | application/json: Error |
| 409 | The resource is not in a state that allows this. Codes: conflict. | application/json: Error |
| 411 | Content-Length is required. Codes: length_required. | application/json: Error |
| 413 | The body is too large. Codes: payload_too_large. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get a bulk job
GET /v1/bulk/{id}
Endpoint page: examples in seven languages, every field and error
Returns the job with its progress and counts. Poll every few seconds, or use a webhook.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The job id the create call returned. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The job. | application/json: BulkJob |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 404 | No such resource for this account. Codes: not_found. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Cancel a bulk job
DELETE /v1/bulk/{id}
Endpoint page: examples in seven languages, every field and error
Cancels the job. Work in flight finishes (cancelling), then the job becomes cancelled, unused credits are returned and its files are deleted. Canceling a finished job is a conflict.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The job id the create call returned. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The job after the cancel request. | application/json: BulkJob |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 404 | No such resource for this account. Codes: not_found. | application/json: Error |
| 409 | The resource is not in a state that allows this. Codes: conflict. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Start a bulk job
POST /v1/bulk/{id}/start
Endpoint page: examples in seven languages, every field and error
Starts a job that is ready. Credits for every unique address that needs a check are held now and count toward the daily credit cap of the API key that starts it. Answers insufficient_credits when the balance is too low and key_daily_cap (429) when the job would pass the key's daily cap (the job stays ready either way).
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The job id the create call returned. |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The started job. | application/json: BulkJob |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 402 | Not enough credits. Codes: insufficient_credits. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 404 | No such resource for this account. Codes: not_found. | application/json: Error |
| 409 | The resource is not in a state that allows this. Codes: conflict. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds. rate_limited: over the account's or key's per-second limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. abuse_throttled: the account is slowed down or paused; wait the seconds in Retry-After. A bulk list larger than an account without a purchase may check in a day gets abuse_throttled without Retry-After: start it again after a purchase. key_daily_cap: the key's daily cap is reached; retry after it resets (next UTC day), not by waiting in a loop. Codes: rate_limited, abuse_throttled, key_daily_cap. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable, upstream_capacity. Headers: Retry-After. | application/json: Error |
Download bulk results (CSV)
GET /v1/bulk/{id}/results
Endpoint page: examples in seven languages, every field and error
Streams the results of a completed job as CSV (UTF-8). Our columns are appended to yours in this order: ev_status, ev_reason, ev_action, ev_free_email, ev_role_account, ev_disposable, ev_catch_all_domain, ev_did_you_mean, ev_mx_found, ev_mx_record, ev_smtp_provider, ev_domain_age_days. Rows that repeat an address get the same result. To resume a download with Range, request columns=original with filter=all (the default, with or without escape_formulas) or with a single status of valid, invalid or unknown and escape_formulas=false, and check for 206.
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes | The job id the create call returned. |
filter | query | string | no | all, one status, or a comma-separated list of statuses (for example valid,catch_all). The old name risky is still accepted and stands for catch_all,disposable, and so are deliverable (valid) and undeliverable (invalid); any other value is refused. (up to 64 characters; default "all") |
columns | query | string: original, email_only | no | original keeps every column of your file; email_only returns the address and our columns. (default "original") |
escape_formulas | query | boolean | no | Prefix cells from your file that start with =, +, - or @ (also after a comma, semicolon, tab or line break inside a cell, for spreadsheets set to another list separator) so spreadsheets do not run them as formulas. Our own columns and the address column are always escaped. (default true) |
Range | header | string | no | Byte range of a stored result file, to resume an interrupted download. Honored only with columns=original and either filter=all (with or without escape_formulas) or a single status of valid, invalid or unknown with escape_formulas=false: those answers carry Accept-Ranges: bytes and a 206. Other answers carry Accept-Ranges: none and ignore the header (200, the whole file). |
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The CSV file. Headers: Accept-Ranges. | text/csv: string |
| 206 | Part of the CSV file (Range requests). It carries Accept-Ranges: bytes and Content-Range: bytes <first>-<last>/<size>. Headers: Accept-Ranges, Content-Range. | text/csv: string |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 403 | The key may not do this. Codes: forbidden, forbidden_origin. | application/json: Error |
| 404 | No such resource for this account. Codes: not_found. | application/json: Error |
| 409 | The resource is not in a state that allows this. Codes: conflict. | application/json: Error |
| 416 | The Range lies outside the file. The body is empty; Content-Range: bytes */<size> gives the file size, and X-Request-Id our ID for the request. Headers: Content-Range. | (none) |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 500 | Something failed on our side. No credit was used. Codes: internal_error. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get service status
GET /v1/status
Endpoint page: examples in seven languages, every field and error
Public status of each component. No key needed. Updated every minute; answers may be up to 30 seconds old. When no status information is available the answer is 503 with Retry-After: 60.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | Current status. | application/json: ServiceStatus |
| 429 | Slow down and retry after Retry-After seconds: over 500 requests per second from one IP address. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Latency test (for our website)
GET /v1/latency
Measures how fast our API answers from the result cache, for the latency page on our website: it looks one fixed test address (on a reserved domain) up in the result cache, exactly as a check of a stored address does, and returns its status with the time spent in our API.
- No key, no credits, no parameters: any query string is refused (
400). It never checks an address and never returns anything about any other address. - It answers our website (
email-validation.org) only: a browser request from another website (byOriginorSec-Fetch-Site) gets403, and CORS allows our website only. - Limited to 20 requests per 10 seconds per IP address (
429withRetry-After). 503withRetry-After: 60while the test answer is not in the cache.- The measurements of our once-a-minute monitor:
GET https://email-validation.org/api/public/latency.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The cached answer and the time our API spent on it. Headers: Server-Timing, Timing-Allow-Origin. | application/json: LatencyTest |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 403 | A browser request made by another website: this endpoint answers our website only. Codes: forbidden. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over 20 requests in 10 seconds from one IP address (this endpoint's own limit, in place of the per-second ones). Codes: rate_limited. Headers: Retry-After. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get this OpenAPI document
GET /openapi.json
This document as JSON. The same document is served as YAML at /openapi.yaml.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The OpenAPI 3.1 document. | application/json: object |
| 429 | Slow down and retry after Retry-After seconds: over 500 requests per second from one IP address. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
Get this OpenAPI document as YAML
GET /openapi.yaml
This document as YAML, the same content as /openapi.json.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The OpenAPI 3.1 document. | application/yaml: string |
| 429 | Slow down and retry after Retry-After seconds: over 500 requests per second from one IP address. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
MCP event stream (not offered)
GET /mcp
The server is stateless and does not open server-initiated streams, so GET (like any method but POST) answers 405 with Allow: POST and a JSON-RPC error body (code -32000), not the REST error envelope. The key is checked first: without a valid key or access token the answer is 401 (or 400 for a key in the URL).
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Responses
| Status | Meaning | Body |
|---|---|---|
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key or access token is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 405 | Method not allowed, with a JSON-RPC error body. It carries Allow: POST. Headers: Allow. | application/json: object |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. These come before any tool runs; a tool call over the account's limits or credits answers a tool error with the REST code instead (rate_limited, abuse_throttled, insufficient_credits, key_daily_cap). Codes: rate_limited. Headers: Retry-After. | application/json: Error |
MCP endpoint (Streamable HTTP)
POST /mcp
Model Context Protocol endpoint for AI agents and MCP clients (stateless Streamable HTTP, JSON-RPC 2.0). Tools: validate_email, get_credits, create_bulk_job (up to 10,000 addresses inline), get_bulk_job, start_bulk_job and cancel_bulk_job. Authenticate with the same API key as the REST API or, in clients that support OAuth 2.1, with the access token of a sign-in instead of a key (https://email-validation.org/docs/mcp/#sign-in); tool calls use the same credits, limits and rules. A message is at most 4 MB (413 above). A batch (a JSON array of messages) holds at most 20: a longer one is 400 invalid_request before any tool runs. Setup: https://email-validation.org/docs/mcp/
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Request body
application/json: object or array of object
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | JSON-RPC responses: one JSON body for protocol version 2026-07-28; for the 2025 versions (batches included), a server-sent event stream with one message event per response. Send Accept: application/json, text/event-stream. The events come in the order the calls finish, not the order they were sent, so match them to the calls by id; a long tool call can also bring : keepalive comment lines (about every 15 seconds), which carry no event. | application/json: object; text/event-stream: string |
| 202 | Only notifications or responses (no requests, that is no message with both method and id) were sent, and they were accepted. The body is empty. | (none) |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key or access token is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 413 | The body is too large. Codes: payload_too_large. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over the key's safety limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. These come before any tool runs; a tool call over the account's limits or credits answers a tool error with the REST code instead (rate_limited, abuse_throttled, insufficient_credits, key_daily_cap). Codes: rate_limited. Headers: Retry-After. | application/json: Error |
A2A endpoint (POST only)
GET /a2a
The endpoint takes JSON-RPC requests with POST; GET answers 405 invalid_request with Allow: POST.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 405 | Method not allowed: send JSON-RPC requests with POST. Codes: invalid_request. Headers: Allow. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds: over 500 requests per second from one IP address. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
A2A endpoint (JSON-RPC 2.0)
POST /a2a
Agent2Agent protocol endpoint (A2A 1.0 JSON-RPC binding; send the header A2A-Version: 1.0, or no header for A2A 0.3). Skills: validate_email (one address per message, in a text part or a data part {"email": …}; the result comes back as a data part of a completed task) and get_credits. Authenticate with the same API key as the REST API; a validation uses the same credits, limits and rules as POST /v1/validate. Tasks finish inside the request and are not stored. JSON-RPC errors use the A2A codes (for example -32602 invalid parameters); throttling and outages are answered with HTTP 429 and 503 and Retry-After, like the REST API. Agent card: https://api.email-validation.org/.well-known/agent-card.json. Guide: https://email-validation.org/docs/ai-agents/
Authentication: API key (Authorization: Bearer … or X-Api-Key), or the access token of an OAuth sign-in (Authorization: Bearer …).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
A2A-Version | header | string: 1.0, 0.3 | no | A2A protocol version (Major.Minor). No header means 0.3. |
Request body
application/json: objectapplication/a2a+json: object
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | A JSON-RPC response: a result or an error. The result's shape follows the protocol version (A2A 1.0: {"task": {…}}; 0.3: the task itself). | application/json: object |
| 400 | The request is not valid. Codes: invalid_request. | application/json: Error |
| 401 | The API key is missing or not valid (unknown, revoked, expired or rolled). Codes: unauthorized. Headers: WWW-Authenticate. | application/json: Error |
| 413 | The body is too large. Codes: payload_too_large. | application/json: Error |
| 429 | Slow down and retry after Retry-After seconds. rate_limited: over the account's or key's per-second limit, over 500 requests per second from one IP address, or an invalid key from an IP address that sent more than 20 in the last minute. abuse_throttled: the account is slowed down or paused; wait the seconds in Retry-After. Codes: rate_limited, abuse_throttled. Headers: Retry-After. | application/json: Error |
| 503 | Temporarily unavailable. No credit was used; retry after Retry-After seconds. Codes: service_unavailable. Headers: Retry-After. | application/json: Error |
Get the A2A agent card
GET /.well-known/agent-card.json
The A2A agent card: endpoint, protocol versions, the bearer key scheme and the skills. No key needed. The same card is published at https://email-validation.org/.well-known/agent-card.json. The EU endpoint serves no agent card.
Authentication: none.
Responses
| Status | Meaning | Body |
|---|---|---|
| 200 | The agent card. | application/json: object |
| 429 | Slow down and retry after Retry-After seconds: over 500 requests per second from one IP address. Codes: rate_limited. Headers: Retry-After. | application/json: Error |
Webhooks
Every delivery is a POST with these headers. Verify the signature before you trust the body.
webhook-id: Unique id of the event (stable across retries).webhook-timestamp: Unix time in seconds when the delivery was signed.webhook-signature: Space-separated signatures, eachv1,<base64>.
bulk.completed
Body: BulkWebhookEvent.
bulk.failed
Body: BulkWebhookEvent.
credits.low
Body: CreditsLowEvent.
credits.expiring
Body: CreditsExpiringEvent.
webhook.test
Body: WebhookTestEvent.
Schemas
ValidationResult
The result of one check. Fields always appear in this order; values are null when they do not apply or are not known.
| Field | Type | Description |
|---|---|---|
email | string | 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 | The verdict for the address. |
reason | Reason | Why the address got its status. |
action | Action | What we recommend doing with the address. |
account | string or null | The part before the @ of email, as written there. |
domain | string or null | The part after the @ (international domains in ASCII form). |
did_you_mean | string or null | A suggested correction when the address looks like a typo of a common domain. |
free_email | boolean or null | True when the domain is a free consumer mailbox service. |
role_account | boolean or null | 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 | 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 | 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 | 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 | The preferred mail server host for the domain. |
smtp_provider | SmtpProvider or null | The mail provider that hosts the domain's mailboxes. |
domain_age_days | integer or null | Age of the domain registration in days, when known. |
processed_at | string (date-time) | 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 | 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 | 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. |
ValidateRequest
| Field | Type | Description |
|---|---|---|
email | string | The address to check. (up to 1,024 characters) |
ip_address (optional) | 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 (optional) | 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 (optional) | 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. It does not lift the 10-minute hold on a domain whose mail servers just failed to answer several times in a row: checks at that domain still answer unknown (free). (default false) |
Credits
| Field | Type | Description |
|---|---|---|
balance | integer | Credits you can spend now. |
debt | integer | Credits owed after a refund or reversal; new credits pay this off first. |
pending | integer | Credits granted moments ago that are still being applied. They become spendable shortly. |
lots | array of CreditLot | Credit lots with credits left, soonest-expiring first. Credits are spent in this order. |
CreditLot
| Field | Type | Description |
|---|---|---|
remaining | integer | Credits left in this lot. |
expires_at | string (date-time) | When the credits in this lot expire. |
UsageResponse
| Field | Type | Description |
|---|---|---|
from | string (date) | First day included (UTC). |
to | string (date) | Last day included (UTC). |
group_by | string: day, key | One item per day or per API key. |
totals | UsageTotals | Totals of the whole account for the range, whatever group_by: API, MCP, dashboard and bulk usage. |
items | array of UsageDay or UsageByKey | One item per day (group_by=day) or per API key (group_by=key): every item is a UsageDay when group_by is day and a UsageByKey when it is key, never a mix. |
UsageTotals
Totals of the whole account for the range, whatever group_by: API, MCP, dashboard and bulk usage. With group_by=key they can be larger than the sum of the items, because bulk jobs and dashboard checks are not tied to a key.
| Field | Type | Description |
|---|---|---|
credits_used | integer | Credits used in the range, from the credit ledger (exact). |
by_status | StatusCountsApprox | Results by status (approximate; may lag by up to an hour). |
UsageDay
| Field | Type | Description |
|---|---|---|
date | string (date) | |
credits_used | integer | Credits used that day, from the credit ledger (exact). |
by_status | StatusCountsApprox | Results by status (approximate; may lag by up to an hour). |
UsageByKey
| Field | Type | Description |
|---|---|---|
key_id | string | API key id (never the key itself). |
name | string or null | The name you gave the key (null for a deleted key). |
last4 | string or null | Last 4 characters of the key, as shown in the dashboard. |
credits_used | integer | Credits used with this key in the range, from the credit ledger (exact). Bulk jobs and dashboard checks are not attributed to a key. |
StatusCountsApprox
Results by status (approximate; may lag by up to an hour).
| Field | Type | Description |
|---|---|---|
valid | integer | |
invalid | integer | |
catch_all | integer | |
unknown | integer | |
disposable | integer |
BulkJob
A bulk job. total_rows, unique_emails, duplicates, syntax_invalid and local_answered are null until the file has been read (analyzing); processed, credits_reserved and credits_charged are integers from the start (0 until checking starts).
| Field | Type | Description |
|---|---|---|
id | string | Bulk job id. |
status | BulkJobStatus | Job lifecycle. |
filename | string or null | The file name of a dashboard upload; null via the API. |
total_rows | integer or null | Data rows in the file (header excluded). |
unique_emails | integer or null | Distinct addresses after normalization that need a mail-server check. Later rows repeating one of them (duplicates), malformed rows (syntax_invalid) and sandbox addresses (local_answered) are counted apart, so total_rows is the sum of the four. |
duplicates | integer or null | Rows that repeat an address seen earlier in the file. |
syntax_invalid | integer or null | Addresses that are not well formed (answered for free). |
local_answered | integer or null | Rows with a sandbox (test) address, <reason>@sandbox.email-validation.org, answered with its fixed result without a mail-server check, all free. Malformed rows are counted in syntax_invalid. |
processed | integer | Of unique_emails, the addresses with a final result so far; a completed job ends with processed equal to unique_emails. Sandbox addresses (local_answered), malformed rows and duplicates are never counted here, so a list of only sandbox addresses completes with processed 0. |
credits_reserved | integer | Credits held when the job started: one per unique address that needs a check. |
credits_charged | integer | Credits actually used. When the job ends, the difference to credits_reserved is returned. |
counts | object | Results so far by status. |
counts.valid (optional) | integer | |
counts.invalid (optional) | integer | |
counts.catch_all (optional) | integer | |
counts.unknown (optional) | integer | |
counts.disposable (optional) | integer | |
error_code | string or null | Why a job failed or is waiting in ready, for example insufficient_credits (the job stays ready) or invalid_csv. Every value: https://email-validation.org/docs/api/bulk/#errors |
webhook_endpoint_id | string or null | Registered webhook endpoint notified about this job. |
created_at | string (date-time) | When the job was created. |
started_at | string or null (date-time) | When checking started; null before. |
finished_at | string or null (date-time) | When the job ended; null before. |
expires_at | string (date-time) | When the uploaded file and the results are deleted (30 days after upload; results of a list that finishes in its last day are kept for 7 days after it finishes). |
BulkCreateJson
| Field | Type | Description |
|---|---|---|
emails | array of string | Up to 100,000 addresses; the JSON body is at most 4 MB (send larger lists as CSV). |
ServiceStatus
| Field | Type | Description |
|---|---|---|
status | ComponentState | The worst state of any component. |
components | object | The state of each component. |
components.website | ComponentState | |
components.api | ComponentState | |
components.bulk | ComponentState | |
components.sign_in | ComponentState | |
components.payments | ComponentState | |
components.support | ComponentState | |
updated_at | string (date-time) | When this status was computed. |
LatencyTest
| Field | Type | Description |
|---|---|---|
status | string: valid, invalid, catch_all, disposable | The stored status of our fixed test address (the same every time). |
cached | boolean | Always true: the answer came from the result cache. |
server_ms | integer | Milliseconds spent in our API for this request (also in Server-Timing: app;dur). |
colo | string or null | The Cloudflare data center the request entered (IATA code), when known. |
Error
Every error answer of the REST API uses this envelope, except a 416 from a results download (a Range outside the file), whose body is empty. No credit is ever charged for a request that ends in an error.
| Field | Type | Description |
|---|---|---|
error | object | The error: its code, a message for people and our ID for the request. |
error.code | ErrorCode | Stable, machine-readable error code. |
error.message | string | Explanation for people, in English. It may change; do not parse it. |
error.request_id | string | 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. |
BulkWebhookEvent
A bulk job finished or failed: bulk.completed always carries data.status completed, and bulk.failed always carries failed.
| Field | Type | Description |
|---|---|---|
type | string: bulk.completed, bulk.failed | |
timestamp | string (date-time) | When the event happened. |
data | object | |
data.job_id | string | Bulk job id. |
data.status | BulkJobStatus | Job lifecycle. |
data.total_rows | integer or null | Data rows in the file (header excluded). |
data.unique_emails | integer or null | Distinct addresses after normalization that need a mail-server check. Later rows repeating one of them (duplicates), malformed rows (syntax_invalid) and sandbox addresses (local_answered) are counted apart, so total_rows is the sum of the four. |
data.processed | integer | Of unique_emails, the addresses with a final result so far; a completed job ends with processed equal to unique_emails. Sandbox addresses (local_answered), malformed rows and duplicates are never counted here, so a list of only sandbox addresses completes with processed 0. |
data.credits_charged | integer | Credits actually used. When the job ends, the difference to credits_reserved is returned. |
data.counts | object | Results by status. |
data.error_code | string or null | Why a job failed or is waiting in ready, for example insufficient_credits (the job stays ready) or invalid_csv. Every value: https://email-validation.org/docs/api/bulk/#errors |
CreditsLowEvent
Your balance fell below your low-balance threshold.
| Field | Type | Description |
|---|---|---|
type | string: credits.low | |
timestamp | string (date-time) | When the event happened. |
data | object | |
data.balance | integer | |
data.threshold | integer |
CreditsExpiringEvent
Some of your credits expire in 30 days.
| Field | Type | Description |
|---|---|---|
type | string: credits.expiring | |
timestamp | string (date-time) | When the event happened. |
data | object | |
data.credits | integer | |
data.expires_at | string (date-time) |
WebhookTestEvent
A test delivery from "Send test" in the dashboard.
| Field | Type | Description |
|---|---|---|
type | string: webhook.test | |
timestamp | string (date-time) | When the event happened. |
data | object | |
data.endpoint_id | string | The endpoint the test was sent to. |
Status
The verdict for the address. unknown never costs a credit; every other status costs 1 credit when it comes from a completed check.
| Status | Meaning | Action | Credit |
|---|---|---|---|
valid | The mailbox exists and accepted our check, so mail sent to it should arrive. | Depends on the reason: send, send_with_caution or remove. Read action. | 1 |
invalid | Mail sent to this address will not arrive, so it should come off your list. | remove | 1 |
catch_all | The domain accepts mail for every address, so we cannot confirm that this particular mailbox exists. | send_with_caution | 1 |
unknown | We could not get a definite answer this time, so no credit is used and a later retry often succeeds. | retry_later | free |
disposable | The address comes from a throwaway mail service whose inboxes are soon abandoned, so remove it. | remove | 1 |
Reason
Why the address got its status. Each reason belongs to exactly one status (see x-reasons-by-status).
| Reason | Status | What it means | Action |
|---|---|---|---|
accepted | valid | The mail server confirmed that this mailbox exists and accepts messages. | send |
alias | valid | The address is an alias that forwards to another mailbox and accepts mail, though delivery past the forward depends on that mailbox. | send |
normalized | valid | We corrected a harmless formatting detail in the address, and the corrected address accepts mail. | send |
low_engagement | valid | The mailbox works, but it looks like a secondary address that its owner seldom reads. | send_with_caution |
high_engagement | valid | The mailbox works and shows signs of a person who reads mail regularly. | send |
trusted_catch_all | valid | The domain accepts mail for any address, but mail sent to it has a strong record of arriving. | send |
ai_agent | valid | The mailbox accepts mail and appears to be handled by an automated AI agent rather than a person. | send_with_caution |
role_account | valid | The address belongs to a team or function, such as info@ or sales@, rather than to one person. | send_with_caution |
abuse_linked | valid | The address is associated with spam, abuse or automated sign-ups. | remove |
suppressed | valid | The address appears on widely shared do-not-contact lists, often after earlier bounces or complaints. | remove |
trap_pattern | valid | The address follows patterns that traps often use, so mailing it can damage your sender reputation. | remove |
spamtrap | valid | The address is believed to exist only to catch senders who mail lists without consent. | remove |
complainer | valid | The person behind this address often reports legitimate mail as spam. | remove |
no_mailbox | invalid | The domain receives mail, but this particular mailbox does not exist. | remove |
no_inbound_mail | invalid | The domain does not accept incoming mail, so messages to any address on it are turned away. | remove |
invalid_syntax | invalid | The text is not a well-formed email address, or it uses a form the standards allow but almost no mail server accepts, such as a quoted local part or an address literal. | remove |
likely_typo | invalid | The domain looks like a misspelling of a common mail provider, so check the suggested correction. | remove |
no_dns | invalid | The domain has no DNS records that tell senders where to deliver mail. | remove |
mailbox_full | invalid | The mailbox exists but is over its storage limit and is turning away new mail. | remove |
unroutable | invalid | The domain points its mail to a server address that cannot be reached on the public internet. | remove |
catch_all | catch_all | The domain accepts mail for every address, so this specific mailbox cannot be confirmed. | send_with_caution |
role_catch_all | catch_all | A team or function address on a domain that accepts mail for every address. | send_with_caution |
forwarding_domain | catch_all | The domain only relays mail to mailboxes elsewhere, which hides whether the final mailbox exists. | send_with_caution |
disposable | disposable | The address comes from a throwaway mail service whose inboxes are usually abandoned quickly. | remove |
server_unavailable | unknown | The mail server refused or dropped our connection, so the mailbox could not be checked. | retry_later |
temporary_error | unknown | The mail server reported a temporary problem while we were checking the address. | retry_later |
greylisted | unknown | The mail server asked us to come back later, which is a common anti-spam delay. | retry_later |
anti_spam_block | unknown | An anti-spam system in front of the mail server stopped our check before it could finish. | retry_later |
timeout | unknown | The check did not finish within the time limit, so we stopped waiting and charged nothing. | retry_later |
internal_error | unknown | We could not finish the check of this address on our side, so no credit is used. | retry_later |
Action
What we recommend doing with the address.
It follows the reason, not the status alone (for a valid address it can be send, send_with_caution or remove), so act on this field.
| Action | Meaning |
|---|---|
send | Keep the address and send to it as usual. |
send_with_caution | Send only if the address matters to you, and watch bounces and complaints for this segment. |
remove | Remove the address from your list or ask for another one. |
retry_later | Check the address again later; the answer often becomes definite on a second try. |
SmtpProvider
The mail provider that hosts the domain's mailboxes: google (Google), microsoft (Microsoft), yahoo (Yahoo), apple (Apple iCloud), zoho (Zoho), proton (Proton), fastmail (Fastmail), gmx (GMX / Web.de), yandex (Yandex), mailru (Mail.ru), amazon (Amazon), mimecast (Mimecast), proofpoint (Proofpoint), barracuda (Barracuda), other (Other).
BulkJobStatus
Job lifecycle:
| Status | Meaning |
|---|---|
analyzing | Reading the file, removing duplicates and answering malformed addresses. |
ready | Analysis done. Waiting for a start (or for credits when error_code is insufficient_credits). |
queued | Started and waiting for its turn. |
running | Addresses are being checked. |
cancelling | A cancel was requested; work in flight is finishing. |
finalizing | Writing the result files. |
completed | Results are ready to download. |
failed | The job could not finish; see error_code. Unused credits are returned. |
cancelled | The job was canceled. Unused credits are returned. |
expired | The file and the results were deleted at expires_at. |
ComponentState
One of: operational, degraded, outage.
ErrorCode
Stable, machine-readable error code. Branch on this, not on the message.
| Code | HTTP | When |
|---|---|---|
invalid_request | 400, 405 | A parameter is missing, has the wrong type or is out of range, the Authorization header is not Bearer <key>, Authorization and X-Api-Key carry two different keys, 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 may name 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. |
unauthorized | 401 | No valid API key or OAuth access token was sent: none, or one that is unknown, revoked, expired or replaced by a roll. |
insufficient_credits | 402 | The account has no credits left for this request (or not enough for a bulk job). |
forbidden | 403 | 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. |
forbidden_origin | 403 | The key is restricted to a list of browser origins and the request came from another Origin. |
not_found | 404 | The resource does not exist or belongs to another account. |
conflict | 409 | The request does not fit the current state of the resource, such as starting a bulk job that is still being analyzed or was canceled, failed or expired, canceling a job that has finished, or downloading results before a job has finished. Starting a job that is already queued, running or completed is not a conflict: the job is returned as it is and charged once. POST /v1/bulk also answers it when an account without a purchase already has 2 lists that are analyzing or ready; then no job was created. |
length_required | 411 | A bulk upload was sent without a Content-Length header (for example as a chunked stream). |
payload_too_large | 413 | 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, 256 KB for a POST /a2a 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. |
rate_limited | 429 | The account or key sent more requests per second than its limit allows, the IP address sent more than 5,000 requests in 10 seconds (requests with a key or access token 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. |
abuse_throttled | 429 | 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 for the number of seconds in Retry-After (the message gives the time it ends when the pause is long). A bulk list larger than an account without a purchase may check in a day is refused with it and no Retry-After. |
key_daily_cap | 429 | 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. |
internal_error | 500 | Something failed on our side. No credit was used. |
service_unavailable | 503 | 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. |
upstream_capacity | 503 | A bulk job could not be admitted right now because validation capacity is limited. No credit was used. |