API reference
Get a bulk job
GET https://api.email-validation.org/v1/bulk/{id}
Returns the job with its progress and counts. Poll every few seconds, or use a webhook.
Also served at https://api-eu.email-validation.org/v1/bulk/{id} (EU data residency: validated and stored in the EU).
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.
Path parameters
id· string · required
The job id the create call returned.
Response
200: The job.
Headers
X-Request-Id: Our ID for the request (same asrequest_idin bodies).
Body: BulkJob
id· string · always present
Bulk job id.status· BulkJobStatus · always present
Job lifecycle.filename· string or null · always present
The file name of a dashboard upload;nullvia the API.total_rows· integer or null · always present
Data rows in the file (header excluded).unique_emails· integer or null · always present
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, sototal_rowsis the sum of the four.duplicates· integer or null · always present
Rows that repeat an address seen earlier in the file.syntax_invalid· integer or null · always present
Addresses that are not well formed (answered for free).local_answered· integer or null · always present
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 insyntax_invalid.processed· integer · always present
Ofunique_emails, the addresses with a final result so far; a completed job ends withprocessedequal tounique_emails. Sandbox addresses (local_answered), malformed rows and duplicates are never counted here, so a list of only sandbox addresses completes withprocessed0.credits_reserved· integer · always present
Credits held when the job started: one per unique address that needs a check.credits_charged· integer · always present
Credits actually used. When the job ends, the difference tocredits_reservedis returned.counts· object · always present
Results so far by status.error_code· string or null · always present
Why a job failed or is waiting inready, for exampleinsufficient_credits(the job staysready) orinvalid_csv. Every value: https://email-validation.org/docs/api/bulk/#errorswebhook_endpoint_id· string or null · always present
Registered webhook endpoint notified about this job.created_at· string (date-time) · always present
When the job was created.started_at· string or null (date-time) · always present
When checking started;nullbefore.finished_at· string or null (date-time) · always present
When the job ended;nullbefore.expires_at· string (date-time) · always present
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).
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, theAuthorizationheader is notBearer <key>, or the API key was sent in the URL (a query parameter namedapi_keyin any spelling, such asapiKeyorAPI-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 asGET /v1/bulk) is a405with anAllowheader that lists the methods it does take, sent before the key is checked;/a2adoes the same withAllow: POST./mcpchecks the key first: with a valid key, any method butPOSTgets its405withAllow: POSTand a JSON-RPC body instead. What to do: Correct the request. Send the key in the Authorization header, never in the query string. On a405, use a method fromAllow.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 asAuthorization: Bearer <key>(orX-Api-Key). Create a new key in the dashboard if needed.403·forbidden
The key lacks the scope this endpoint needs (for examplebulk), 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. ForGET /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 anotherOrigin. What to do: Call the API from an allowed origin, or update the allowed origins of the key.404·not_found
The resource does not exist or belongs to another account. What to do: Check the id. Ids are only visible to the account that created them.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/latencyhas 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 inRetry-After, then retry. Spread requests evenly over time, and fix an invalid key instead of retrying it.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/statusanswers it while no status information is available, andGET /v1/latencywhile its test answer is not in the cache, both withRetry-After: 60. What to do: Wait forRetry-After, then retry. In sign-up forms, accept the address and check it later.
More
- Every endpoint and schema on one page: API reference.
- The full OpenAPI document: JSON or YAML.
- Free test addresses for every status and reason: test addresses.
- Samples with retries and error handling: code samples.