Frameworks and SDKs

Command-line tool integration

The email-validation command checks one address, sends a whole CSV file or list of addresses as one bulk list and saves the results, and shows your balance, from a terminal or a script. It is free, MIT-licensed and installs from npm.

Read the full setup guideGet an API key

  • Setup guide
  • One command for single checks, bulk lists and your balance

TerminalInstall, set the key, check

Shell
npm install -g @email-validation/cli
read -rs EV_API_KEY && export EV_API_KEY   # paste the key, then Enter
email-validation validate accepted@sandbox.email-validation.org

At a glance.

Status
Setup guide. Not listed on a marketplace yet: you set it up yourself in a few steps, below and in the full guide.
For
Developers, data and operations people who want to check an address or clean a list from a terminal, in a shell script or in a scheduled job, without writing code against the API.
You need
Node.js 24 or later and an API key made for it, with a daily credit cap. Add the Bulk lists permission to send files.
Costs
1 credit = 1 validated address, as with any API request. Free: unknown results, API errors, malformed addresses, test addresses on sandbox.email-validation.org and, in a bulk list, repeats of an address (charged once).
Full guide
Read the full setup guide

Typical uses.

  • Check one address

    validate prints the status, the reason, the action and, for a likely typo, the address it may have meant. Add --json for the API’s own answer.

  • Clean a whole file

    bulk sends a CSV file or one address per line (up to 100 MB) as one bulk list, shows its progress and saves the results CSV beside the file.

  • Script it

    Each outcome has its own exit code (a refused key, no credits, still rate limited), so a script or a scheduled job can tell what happened without reading the text.

Set it up. 4 steps.

The short version of the full setup guide, which stays the reference when a step does not match what you see.

Read the full setup guide

  1. Install it

    Run npm install -g @email-validation/cli. It needs Node.js 24 or later.

  2. Set your key

    Create a key on the API keys page and set it as EV_API_KEY without typing it into a command (the guide shows the line for bash, zsh and PowerShell), or keep it in a file and pass --api-key-file.

  3. Check a test address

    Run email-validation validate accepted@sandbox.email-validation.org: the answer is valid, reason accepted, and it costs nothing.

  4. Send a file

    Run email-validation bulk list.csv. The results are saved as list.results.csv.

Good to know.

  • Ctrl-C stops the waiting, not the bulk job: the tool prints the command that picks the same job up again. Until the results are saved, running the same command on the same file follows the job it already created instead of starting a second one (within the 30 days a list is kept).

  • There is no flag for the key itself, because a key typed in a command is saved in your shell history. The tool never prints the key, and its progress lines show job ids and counts, never addresses.

  • For EU data residency, add --region eu to send the requests to https://api-eu.email-validation.org: the same key and credits work on both.

  • Try it first with accepted@sandbox.email-validation.org and the other test addresses: each returns the result its name says and costs nothing.

Connect Command-line tool.

Test it on our sandbox addresses for free, then on your own contacts.

Create your accountRead the full setup guide

Updated · Maintained by: Email Validation LLC