/verify/bulkVerify a batch
Verify addresses sequentially in input order after normalization and deduplication. A partial result includes the unprocessed addresses and the reason the batch stopped.
Request
curl --include --request POST \
--url https://api.mailverifio.com/v1/verify/bulk \
--header 'Authorization: Bearer YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"emails": [
"ada@example.com",
"grace@example.org",
"ada@EXAMPLE.COM",
"not-an-email"
]
}'Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
emails | string[] | Yes | One to 1,000 submitted values. Values that fail the single-address format check and non-string values are dropped. |
{
"emails": [
"ada@example.com",
"grace@example.org",
"ada@EXAMPLE.COM",
"not-an-email"
]
}Response examples
HTTP 200Complete · two unique, valid inputs
{
"success": true,
"data": {
"total": 4,
"completed": 2,
"results": [
{
"input": "ada@example.com",
"is_reachable": "safe",
"misc": {
"is_disposable": false,
"is_role_account": false
},
"mx": {
"accepts_mail": true,
"records": [
"10 mx.example.com"
]
},
"smtp": {
"can_connect_smtp": true,
"is_catch_all": false,
"is_deliverable": true
},
"syntax": {
"address": "ada@example.com",
"domain": "example.com",
"is_valid_syntax": true,
"username": "ada"
}
},
{
"input": "grace@example.org",
"is_reachable": "invalid",
"misc": {
"is_disposable": false,
"is_role_account": false
},
"mx": {
"accepts_mail": true,
"records": [
"10 mx.example.org"
]
},
"smtp": {
"can_connect_smtp": true,
"is_catch_all": false,
"is_deliverable": false
},
"syntax": {
"address": "grace@example.org",
"domain": "example.org",
"is_valid_syntax": true,
"username": "grace"
}
}
],
"summary": {
"safe": 1,
"risky": 0,
"invalid": 1,
"unknown": 0
}
},
"meta": {
"requestId": "req_example",
"duration": 2530,
"version": "v1"
}
}HTTP 200Partial · outbound limit reached after one result
Response header Retry-After: 42
{
"success": true,
"data": {
"total": 4,
"completed": 1,
"results": [
{
"input": "ada@example.com",
"is_reachable": "safe",
"misc": {
"is_disposable": false,
"is_role_account": false
},
"mx": {
"accepts_mail": true,
"records": [
"10 mx.example.com"
]
},
"smtp": {
"can_connect_smtp": true,
"is_catch_all": false,
"is_deliverable": true
},
"syntax": {
"address": "ada@example.com",
"domain": "example.com",
"is_valid_syntax": true,
"username": "ada"
}
}
],
"summary": {
"safe": 1,
"risky": 0,
"invalid": 0,
"unknown": 0
},
"remaining": [
"grace@example.org"
],
"stopped": {
"reason": "OUTBOUND_LIMIT",
"retry_after": 42
}
},
"meta": {
"requestId": "req_example",
"duration": 2180,
"version": "v1"
}
}Response fields
| Field | Description |
|---|---|
total | Number of values in the submitted array, including skipped and duplicate values. |
completed | Number of verification results returned. A batch can be complete with completed smaller than total. |
results | Single-email verification objects in processed order. |
summary | Counts of safe, risky, invalid, and unknown results. The counts sum to completed. |
remaining | When the batch stops early, the normalized, unique addresses still to check, including the address whose check failed if applicable. |
stopped | Present when the batch stops early. Contains reason and, when available, retry_after in seconds. |
Partial result reasons
| Reason | Description |
|---|---|
TIME_BUDGET | The batch reached its 18-second window for starting checks or the request was canceled. |
OUTBOUND_LIMIT | The shared verification budget or concurrency limit blocked more checks. Includes Retry-After. |
PROVIDER_PAUSED | Checks paused after a mail server restriction. Includes Retry-After. |
BACKEND_UNAVAILABLE | The verifier could not complete the next check. Includes Retry-After. |
VERIFICATION_DISABLED | The operator disabled further live checks. |
Error responses
Read error.code to handle application errors. See the JSON error example and retry headers.
| HTTP | Code | Message |
|---|---|---|
| 400 | INVALID_JSON | Request body must be valid JSON |
| 400 | MISSING_EMAILS | An emails array is required |
| 400 | EMPTY_EMAILS | Emails array cannot be empty |
| 400 | TOO_MANY_EMAILS | Maximum 1000 emails per request The limit applies to the submitted array before filtering or deduplication. |
| 400 | NO_VALID_EMAILS | No valid email addresses found in the array |
| 401 | UNAUTHORIZED | Invalid or missing API key. Include 'Authorization: Bearer <key>' header. Applies on deployments with API_KEY_MASTER configured. |
| 429 | RATE_LIMITED | Too many requests. Please slow down. The default HTTP request limit was reached. The response includes Retry-After. |
| 429 | OUTBOUND_LIMIT | Email checks are at capacity. Try again later. Bulk and Finder return this HTTP error before the first result. The response includes Retry-After. |
| 500 | INTERNAL_ERROR | An unexpected error occurred |
| 503 | API_NOT_CONFIGURED | API access is not configured The production server has no API_KEY_MASTER configured. |
| 503 | BACKEND_UNAVAILABLE | The verification service could not complete the check. Includes Retry-After. Bulk can return this code in a partial result. |
| 503 | PROVIDER_PAUSED | Email checks are paused after a mail server restriction. Includes Retry-After. Bulk can return this code in a partial result. |
| 503 | VERIFICATION_DISABLED | Live email verification is currently disabled. The operator disabled live verification. |
Operational notes
- On a partial result, honor Retry-After when present and resubmit only data.remaining. A check already running may finish after the 18-second start window.
- A verification failure before any result returns HTTP 429 or 503. TIME_BUDGET can return a partial HTTP 200 even with zero results.