Use case
Bulk email list cleaning before you send
Remove invalid addresses before they turn into hard bounces. Submit a list as a background job or upload a CSV in the dashboard, and sort every address by score.
- Per request
- Up to 10,000 addresses, and never more than your plan's bulk limit.
- Cost
- 1 validation credit per address, spent as the job processes it.
- Summary
- Valid is a score of 80 or more, risky 50 to 79 and invalid below 50.
- API key scope
- validate:bulk
What you use
The pieces that do the work
Bulk jobs over the API
POST a list and the API queues a background job and answers 202 with a job_id straight away.
POST /validate-bulk/
CSV upload in the dashboard
Prefer not to write code? Upload a CSV file from the Bulk Upload page in the dashboard.
Dashboard: Bulk Upload
Progress and a summary
Poll the job for progress from 0 to 100 and a summary that counts addresses by score.
GET /bulk-status/{job_id}/
The full deep check
Every address gets the deep check: syntax, DNS, a live mailbox check, catch-all, disposable and role detection.
verdict, score, breakdown
Risky addresses stay visible
Catch-all domains and role addresses are flagged, so you can review them instead of deleting them blind.
catch-all, role_based
Results kept in history
Per-address results are stored like any other validation, so they show in the dashboard and in the history endpoint.
GET /history/
How it works
From a raw export to a list you can send to
- 01
Export your list
Export the addresses from your CRM or email tool as a CSV, or as an array you can send to the API.
- 02
Upload or submit
Upload the CSV in the dashboard, or POST up to 10,000 addresses per request to /validate-bulk/. Your credit balance must cover the whole list.
- 03
Watch the job
The job runs in the background. Poll /bulk-status/{job_id}/ every few seconds until its status is completed or failed.
- 04
Sort the results
Keep valid addresses, remove invalid ones and review risky ones such as catch-all domains and role addresses.
- 05
Send to the clean list
Send with ScrubiMail email sending, where hard bounces and unsubscribes are added to your suppression list automatically.
In code
Submit a list and poll the job
Authenticate with the X-API-Key header, using a key limited to the validate:bulk scope.
- Bulk validation needs a plan that includes it. Free does not.
- A list longer than your plan allows per request is refused with an error that states the limit and the number you requested.
- The request only checks that your balance covers the whole list. Credits are then spent as each address is processed.
- Per-address results are stored in history, like single validations.
# 1. Submit a list: returns 202 with a job_id
curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/validate-bulk/" \
-H "X-API-Key: $SCRUBIMAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{"emails": ["[email protected]", "[email protected]"]}'
# 2. Poll until the job is complete
curl "https://api.scrubimail.com/scrubimail/api/v1/bulk-status/JOB_ID/" \
-H "X-API-Key: $SCRUBIMAIL_API_KEY"Go deeper
Where to read next
FAQ
Frequently asked questions
Short answers, checked against how the API behaves.
How big can a list be?
One request takes up to 10,000 addresses, and never more than your plan's own bulk limit. Per request, the plans allow: Starter 5,000, Professional 25,000, Business 100,000, Enterprise 500,000. A longer list is refused with an error that states the limit and the number of addresses you requested, so split it into several requests.
Which plans include bulk validation?
Starter, Professional, Business, Enterprise include bulk validation; Free does not. The pricing page lists the limits side by side.
How are credits charged for a list?
One validation credit per address. Nothing is taken up front: the request checks that your balance covers the whole list, and the job then spends one credit per address as it processes each one. If your balance is too low, the request is refused with a 402 that says how many credits you need and how many you have.
What do valid, risky and invalid mean in the summary?
The summary counts addresses by score, not by verdict. Valid is a score of 80 or more, risky is 50 to 79 and invalid is below 50. Each address also keeps its own verdict and sub_status, so you can look at catch-all domains and role addresses individually.
How do I know when a job has finished?
The job runs in the background and reports progress from 0 to 100. Poll GET /bulk-status/{job_id}/ every few seconds until its status is completed or failed, instead of holding the original request open.
Why clean a list before sending to it?
Invalid addresses cause hard bounces, and bounce rate is part of the sender reputation score that ScrubiMail tracks for your sending. Removing them first protects the reputation of the domain you send from.
Clean your first list today
Create an account, then upload a CSV or submit a bulk job to see where each address stands.