https://api.rocketverifier.com/v1/verify/bulk/uploadUpload a list for verification
In short
POST a file (CSV, TSV, TXT or XLSX, up to 50 MB and 500,000 unique addresses) or a public HTTPS URL to /v1/verify/bulk/upload. Add preview=true to get a free list health estimate first, then confirm to charge 1 credit per unique address and start verification. Without preview, the job is charged and started as soon as the file has been read.
OAuth scope verify:bulk
curl -X POST https://api.rocketverifier.com/v1/verify/bulk/upload \
-H "Authorization: Bearer $ROCKETVERIFIER_API_KEY" \
-F "file=@leads.csv" \
-F "name=October leads" \
-F "email_column=Work Email" \
-F "preview=true"import fs from "node:fs";
import RocketVerifier from "@rocketverifier/sdk";
const rv = new RocketVerifier(process.env.ROCKETVERIFIER_API_KEY);
const upload = await rv.batch.upload({
file: fs.createReadStream("leads.csv"),
filename: "leads.csv",
name: "October leads",
emailColumn: "Work Email",
preview: true,
});
console.log(upload.jobId, upload.status); // "ingesting"import os
from rocketverifier import RocketVerifier
rv = RocketVerifier(os.environ["ROCKETVERIFIER_API_KEY"])
upload = rv.batch.upload(
"leads.csv",
name="October leads",
email_column="Work Email",
preview=True,
)
print(upload.job_id, upload.status) # "ingesting"{
"job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
"status": "ingesting",
"preview": true,
"status_url": "/v1/jobs/Jx3nq0V8cW1sT5bYk2dHfA",
"progress_url": "/v1/jobs/Jx3nq0V8cW1sT5bYk2dHfA/progress"
}File upload is the way to verify a spreadsheet or an export without parsing it yourself. RocketVerifier reads the file, finds the email column, verifies each address once and keeps your original columns for the download, one row per row of your file.
- File types
- CSV, TSV, TXT, XLSX
- File size
- Up to 50 MB
- Rows
- 500,000 unique
- Preview
- Free
Choose upload or JSON#
Use file upload for files and exports, and POST /v1/verify/bulk when your code already holds the addresses.
| File upload | JSON bulk | |
|---|---|---|
| Endpoint | POST /v1/verify/bulk/upload | POST /v1/verify/bulk |
| Input | CSV, TSV, TXT or XLSX file, or an HTTPS URL | JSON array of addresses |
| Unique addresses per job | 500,000 | 100,000 |
| Free list health preview | Yes, with preview=true | No |
| Charged | When the file has been read, or at confirm | When the job is created |
| Original columns in the download | Yes | No |
| Sandbox keys | Not accepted | Accepted with sandbox addresses |
Both run the same verification, refund unknown results at completion and share every job endpoint.
Upload a file#
Send multipart/form-data with the file in the file field. The response is 202 with the job id, and the job starts in ingesting while the file is read.
Headers
- Authorizationstringrequired
Bearer <API key or access token>with theverify:bulkscope. - Content-Lengthintegerrequired
Required for multipart uploads. cURL and the SDKs set it for you. Missing it returns
411 length_required. - Idempotency-Keystring
Any unique string. Retrying with the same key within 24 hours returns the original job instead of a second upload.
Form fields
- filefilerequired
The list:
.csv,.tsv,.txtor.xlsx, up to 50 MB. Send exactly one offileandsource_url. - namestring
Job name shown in the dashboard and on every job endpoint. Up to 200 characters.
- email_columnstring
Header name (case-insensitive) or 0-based index of the email column. Detected automatically when omitted.
- column_mappingstring
JSON object such as
{"email": "Work Email"}. Takes precedence overemail_column. - previewbooleandefault false
truestops the job after a free list health preview, and nothing is charged until you confirm. - callback_urlstring
Public HTTPS URL that receives a signed POST when the job completes or fails. See callbacks.
Import from a URL#
Send application/json with source_url instead of a file. RocketVerifier downloads the file server side over HTTPS, with the same 50 MB and 500,000 address limits.
curl -X POST https://api.rocketverifier.com/v1/verify/bulk/upload \
-H "Authorization: Bearer $ROCKETVERIFIER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"source_url": "https://files.northwind.io/exports/leads.csv",
"name": "October leads",
"column_mapping": {"email": "Work Email"},
"preview": true
}'JSON body
Public HTTPS URL of the file, up to 2,048 characters. Fetched server side, 50 MB max.
Job name shown in the dashboard.
- column_mappingobject
The email column, such as
{"email": "Work Email"}or{"email": 2}. A bare header name also works. Detected automatically when omitted. - email_columnstring
Header name or 0-based index of the email column. Used when
column_mappingis not set. Stop after a free list health preview and wait for
/confirm.- callback_urlstring (uri)
Public HTTPS URL that receives a signed POST when the job completes or fails.
The URL must be public HTTPS. Private, loopback and internal addresses are refused with 400 invalid_source_url. In the SDKs, pass sourceUrl (Node.js) or source_url (Python) instead of a file.
Pick the email column#
When you do not name the column, RocketVerifier chooses it in this order:
- A header that is exactly an email header, such as
Email,E-mail,Email AddressorMail. - Any header that contains
emailore-mail. - The column with the most email-shaped values in the first rows.
A file with no header row works too: the first row is treated as data when it contains an address. A .txt file with one address per line needs no header at all. Text files are read as UTF-8, with Latin-1 as the fallback, and the delimiter (comma, semicolon, tab or pipe) is detected automatically. Rows keep up to 200 columns, and every cell keeps up to 1,000 characters.
Repeated addresses within the file are compared case-insensitively and charged once, and blank rows are skipped. Each repeat still gets its own row in the results and downloads, with duplicate: true and, with include_original=true, its own original columns.
Get the free list health preview#
POST /v1/verify/bulk/{jobId}/preview returns an estimate of the list's quality before you spend a credit. Every row gets syntax, disposable, role, MX, duplicate and suppression checks. Lists with 50 or more rows that need SMTP also get a live SMTP probe of a random sample (2% of the list, from 10 to 200 addresses), on up to 10 sampled previews per account per day, and the sample's results are projected across the list. smtp_sample.skipped is list_too_small or daily_limit when a preview ran without a sample.
/v1/verify/bulk/{jobId}/previewcurl -X POST https://api.rocketverifier.com/v1/verify/bulk/Jx3nq0V8cW1sT5bYk2dHfA/preview \
-H "Authorization: Bearer $ROCKETVERIFIER_API_KEY"let res = await rv.batch.preview(upload.jobId);
while (res.pending) {
await new Promise((r) => setTimeout(r, 3000));
res = await rv.batch.preview(upload.jobId);
}
console.log(res.preview.estimatedBounceRate, res.preview.creditsNeeded);import time
res = rv.batch.preview(upload.job_id)
while res.pending:
time.sleep(3)
res = rv.batch.preview(upload.job_id)
print(res.preview.estimated_bounce_rate, res.preview.credits_needed){
"job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
"status": "awaiting_confirmation",
"preview": {
"computed_at": "2026-11-11T10:31:12.004118+00:00",
"total_emails": 48210,
"duplicates_removed": 1372,
"free_checks": {
"syntax_invalid": 212,
"no_mx": 388,
"disposable": 640,
"role_based": 1905,
"suppressed": 57,
"free_provider": 20114,
"resolved_without_smtp": 1297,
"needs_smtp": 46913
},
"smtp_sample": {
"size": 200,
"counts": { "valid": 171, "invalid": 14, "catch_all": 11, "unknown": 4 },
"method": "random sample of SMTP-bound rows, min(200, 2%), at least 10",
"skipped": null
},
"estimated_counts": { "valid": 40109, "invalid": 3918, "catch_all": 2580, "disposable": 640, "unknown": 963 },
"estimated_by_status": { "deliverable": 40109, "undeliverable": 4558, "risky": 2580, "unknown": 963 },
"estimated_bounce_rate": 0.0813,
"undeliverable_share": 0.0945,
"risky_share": 0.0,
"unknown_share": 0.0735,
"credits_needed": 48210,
"estimated_credits_after_refunds": 47247,
"confidence": "high"
}
}While the file is still being read, the call returns 202 with preview: null, and the SDKs report pending. Poll every few seconds. Add ?refresh=true to recompute the preview of a job that is waiting for confirmation, for example after you update your suppression list.
- computed_atstring (date-time)
When the preview was computed.
- total_emailsinteger
Unique addresses after deduplication.
- duplicates_removedinteger
Rows dropped as duplicates. Never charged.
- free_checksobject
Counts from the checks run on every row, with no SMTP.
› Show 8 child fields
- syntax_invalidinteger
Addresses with invalid syntax.
- no_mxinteger
Addresses whose domain has no mail route.
- disposableinteger
Disposable inbox addresses.
- role_basedinteger
Role addresses such as info@ or sales@.
- suppressedinteger
Addresses on your suppression lists.
- free_providerinteger
Addresses at free mailbox providers.
- resolved_without_smtpinteger
Rows decided without SMTP.
- needs_smtpinteger
Rows that need a live SMTP check.
- smtp_sampleobject
The live SMTP probe of a random sample of the rows that need SMTP.
- estimated_countsobject
Estimated count per classification for the whole list.
- estimated_by_statusobject
Estimated count per status, with catch-all addresses counted as
risky.› Show 4 child fields
- deliverableinteger
- undeliverableinteger
- riskyinteger
- unknowninteger
- estimated_bounce_ratenumber
Expected hard bounce share if the list were sent as is (0 to 1).
- credits_neededinteger
Credits
/confirmcharges (1 per unique address). Expected net cost once credits for unknown results come back.
- confidenceenum
highwhen no SMTP was needed or the sample has 100 or more addresses.highmediumlow
Confirm and start the job#
POST /v1/verify/bulk/{jobId}/confirm charges 1 credit per unique address (preview.credits_needed) and queues the job. It is safe to retry: a job is never charged twice.
/v1/verify/bulk/{jobId}/confirmcurl -X POST https://api.rocketverifier.com/v1/verify/bulk/Jx3nq0V8cW1sT5bYk2dHfA/confirm \
-H "Authorization: Bearer $ROCKETVERIFIER_API_KEY"const started = await rv.batch.confirm(upload.jobId);
console.log(started.creditsCharged, started.creditsRemaining);started = rv.batch.confirm(upload.job_id)
print(started.credits_charged, started.credits_remaining){
"job_id": "Jx3nq0V8cW1sT5bYk2dHfA",
"status": "pending",
"credits_charged": 48210,
"credits_remaining": 51790
}From here the job behaves like any bulk job. Track it with progress, and download results with include_original=true to get your own columns back. To drop a previewed list instead, cancel the job: nothing was charged, so nothing is lost.
Get a callback when the job finishes#
Set callback_url and RocketVerifier POSTs a signed job.completed or job.failed event to that URL for this one job. The upload response then includes callback_secret (whsec_...), shown only once: store it to verify the signature.
Callbacks use the same envelope, headers, signature scheme and retry schedule as webhooks, signed with the job's callback_secret. For events on every job, register a webhook once instead.
Follow the job lifecycle#
An upload moves through these statuses. Every one of them is visible on GET /v1/jobs/{jobId}.
| Status | What is happening |
|---|---|
ingesting | The file is being downloaded, parsed and deduplicated. Nothing is charged. |
awaiting_confirmation | preview=true only. The preview is ready and the job waits for /confirm. Nothing is charged. |
pending | Charged and queued. |
processing | Verification is running. |
completed | Done. Unknown results are refunded, and webhooks and callbacks fire. |
failed | The file could not be used, or the job stopped. A job.failed event fires. |
cancelled | You cancelled it. |
An upload fails while ingesting when the file cannot be read, has no email column, has no addresses, has more than 500,000 unique addresses, or the balance does not cover it once read. A failed upload is never charged.
Errors#
| Status | error.code | When it happens |
|---|---|---|
| 400 | missing_file | Send exactly one of file and source_url. |
| 400 | unsupported_file_type | The file is not .csv, .tsv, .txt or .xlsx. |
| 400 | empty_file | The uploaded file has no bytes. |
| 400 | invalid_column_mapping | column_mapping is not valid JSON or not an object. |
| 400 | invalid_source_url, invalid_callback_url | The URL is not public HTTPS or is longer than 2,048 characters. |
| 400 | invalid_json | The JSON body is not a JSON object. |
| 401 | unauthorized, api_key_expired | The key is missing, invalid, revoked or expired. |
| 402 | insufficient_credits | The balance is zero, or it does not cover the list at confirm. |
| 402 | api_key_spend_cap_reached | Confirming would pass this key's monthly spend cap. |
| 403 | sandbox_key_restricted | Sandbox keys cannot upload files. |
| 403 | insufficient_scope | The credential lacks verify:bulk. |
| 404 | not_found | No job with this id on your account. |
| 409 | preview_unavailable | The job was uploaded without preview=true. |
| 409 | job_not_awaiting_confirmation | The job is not waiting for confirmation. details.status says where it is. |
| 411 | length_required | The multipart request has no Content-Length. |
| 413 | file_too_large | The file is larger than 50 MB. |
| 415 | unsupported_media_type | Use multipart/form-data or application/json. |
| 502 | storage_unavailable | The file could not be stored. Retry the upload. |
| 503 | maintenance, queue_unavailable | Uploads are paused briefly. Retry shortly. |
Every error uses the standard error shape.
Frequently asked questions
What is the largest file I can upload?
50 MB and 500,000 unique addresses per upload, in CSV, TSV, TXT or XLSX. The JSON endpoint POST /v1/verify/bulk takes up to 100,000 addresses per request.
Does the list health preview cost credits?
No. The preview runs syntax, disposable, role, MX, duplicate and suppression checks on every row and charges nothing. Lists with 50 or more rows that need SMTP also get a live SMTP probe of a random sample, on up to 10 sampled previews per account per day. You pay only when you confirm.
How does RocketVerifier find the email column?
It picks the column whose header looks like an email header, then any header containing "email", then the column with the most email-shaped values. Set email_column or column_mapping to choose it yourself.
Can I keep my own columns in the results?
Yes. Download with include_original=true and every row starts with your file's original columns, followed by the verification results.
Can I upload with a sandbox key?
No. Sandbox keys cannot upload files. Test bulk flows with POST /v1/verify/bulk and @sandbox.rocketverifier.com addresses instead.
Updated 28 November 2026Suggest an edit