API reference

Download bulk results (CSV)

GET https://api.email-validation.org/v1/bulk/{id}/results

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.

Also served at https://api-eu.email-validation.org/v1/bulk/{id}/results (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.

Query parameters

  • filter · string
    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 · string: original, email_only
    original keeps every column of your file; email_only returns the address and our columns. (default "original")
  • escape_formulas · boolean
    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)

Header parameters

  • Range · string
    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).

Response

200: The CSV file.

Content type: text/csv.

Also 206: Part of the CSV file (Range requests). It carries Accept-Ranges: bytes and Content-Range: bytes <first>-<last>/<size>.

Headers

  • X-Request-Id: Our ID for the request (same as request_id in bodies).
  • Accept-Ranges: bytes when this download can be resumed with Range (see the Range parameter for which ones), none otherwise.

Body: string

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.
  • 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.
  • 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.
  • 409 · conflict
    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. What to do: Read the job again and act on its current status. For a refused upload, start or cancel one of the waiting lists first, or buy credits: the limit ends with the first purchase.
  • 416 · no error body
    The Range lies outside the file. The body is empty; Content-Range: bytes */<size> gives the file size.
  • 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.
  • 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