Email verification API: how does it work?

Validaly is an email verification service for businesses: it checks one address, a whole list or addresses sent through its API, and gives each one of five results — valid, invalid, catch-all, unknown or disposable.

Last updated: About 3 minutes to read
Contents · 7 sections

1Which endpoints does the email verification API have?

In short: One to verify an address, a few to run lists, one for your account.

The API has one endpoint to verify an address, a few to run lists, and one for your account:

EndpointWhat it does
POST /verifychecks one address and returns its result
POST /listscreates a list from a file, or from a JSON array of up to 50,000 addresses
GET /lists · GET /lists/{id}follows your lists
POST /lists/{id}/start · /stopstarts or stops a list
GET /lists/{id}/downloaddownloads a list's results
DELETE /lists/{id}deletes a list
GET /accountyour balance and plan
GET /openapi.jsonthe OpenAPI document

Every endpoint, with examples, is in the API reference.

2How are API requests authorised?

In short: With a Bearer API key created in the panel.

Every request carries an API key in the Authorization header as a Bearer token. Create keys in the panel under Developers → API: the Verify permission runs checks and lists, Read follows lists and downloads results. A key is shown once; keep it on your server. Keys can be limited to IP addresses and set to expire.

3What are the email verification API's rate limits?

In short: Per second and per minute for checks, per day for new lists.

The rate limits depend on whether the account is on the Free plan or a paid plan:

RequestsFree planPaid plans
Single checks2 a second · 120 a minute20 a second · 1,000 a minute
New lists20 a day500 a day
Everything else10 a second10 a second

Every response says how much of the limit is left.

4How do I verify addresses at sign-up with the API?

In short: Your server checks the address before it creates the account.

Your server checks the address before it creates the account:

  1. Your server receives the sign-up form.
  2. It sends the address to POST /verify with your key.
  3. It accepts valid, asks again on invalid or a typo suggestion, and refuses disposable; what to do with catch-all and unknown is your call.

An answer carries did_you_mean when the address looks like a typo, so your form can offer the correction.

5What does an API check cost?

In short: The same as in the panel.

An API check costs the same as in the panel: one credit for valid, invalid or disposable; nothing for catch-all, unknown or duplicates. API checks and lists use your one credit balance.

6Which languages can call the API?

In short: Any language that can make an HTTPS request.

Any language that can make an HTTPS request can call it. The API reference has ready-to-copy examples in curl, Python and Node, and the OpenAPI document lets Postman, Insomnia or a code generator build a client.

7More about the API

Can I safely retry an API request?

Yes, for the two creating calls: send an Idempotency-Key header with POST /verify or POST /lists, and a repeat with the same key is not run twice.

Can the API be called from a web page?

No — it is meant for your server. It sends no cross-origin (CORS) headers, so a browser page cannot call it, and your key never has to leave your server.

Do I need a paid plan to use the API?

No. Every account can create API keys; a free account spends its 1,000 monthly credits, under the Free plan's rate limits.

Check an address nowFree on the checker, or with a free account for lists and the API.