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.
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:
| Endpoint | What it does |
|---|---|
| POST /verify | checks one address and returns its result |
| POST /lists | creates 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 · /stop | starts or stops a list |
| GET /lists/{id}/download | downloads a list's results |
| DELETE /lists/{id} | deletes a list |
| GET /account | your balance and plan |
| GET /openapi.json | the 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:
| Requests | Free plan | Paid plans |
|---|---|---|
| Single checks | 2 a second · 120 a minute | 20 a second · 1,000 a minute |
| New lists | 20 a day | 500 a day |
| Everything else | 10 a second | 10 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:
- Your server receives the sign-up form.
- It sends the address to POST /verify with your key.
- 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.