Email Verification
Verify email addresses individually or in bulk - via our API.
/v1/bulkSubmit a JSON array of email addresses for background verification. The job is processed in background - you get a job_id immediately and retrieve results by polling or via webhook.
Credit reservation
1. Submit a Job - Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| emails | string[] | Yes | Array of email address strings to verify. Maximum 50,000 per request. Duplicates are automatically deduplicated before processing. |
| webhook_url | string | Optional | HTTPS URL to POST a completion event to when the job finishes. Overrides your global webhook URL for this specific job. See Webhooks. |
Submit Response - 202 Accepted
| Field | Type | Description |
|---|---|---|
| job_id | string | Unique identifier for this verification job. Use this to poll for results. |
| status | string | Always processing on submit. |
| total_count | integer | Number of email addresses queued for verification (after deduplication). |
| estimated_completion_seconds | integer | Estimated seconds until the job completes. Rough estimate: ~3s per 1,000 emails. Actual time depends on mail server responsiveness and proxy routing. |
curl -X POST "https://api.stopbounceai.com/v1/bulk" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"emails": ["a@example.com", "b@example.com"],
"webhook_url": "https://your-app.com/webhooks/stopbounceai"
}'2. Poll for Results
/v1/bulk/:job_id/statusPoll every 30 seconds until status is completed. Or skip polling entirely by providing a webhook_url at submission time.
Query Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| page | integer | 0 | Zero-indexed page number for paginating through results. Ignored when job is still processing. |
| limit | integer | 1000 | Number of results per page. Minimum 1, maximum 10,000. |
# Page 0 (default, first 1000 results) curl "https://api.stopbounceai.com/v1/bulk/J1717000000000/status" \ -H "Authorization: Bearer YOUR_API_KEY" # Page 1 (next 1000 results) curl "https://api.stopbounceai.com/v1/bulk/J1717000000000/status?page=1&limit=1000" \ -H "Authorization: Bearer YOUR_API_KEY"
Response while processing
| Field | Type | Description |
|---|---|---|
| job_id | string | Job identifier. |
| status | string | processing while running, completed when done, failed on error. |
| total_count | integer | Total emails in this job. |
3. Completed Response
Top-level fields
| Field | Type | Description |
|---|---|---|
| job_id | string | Job identifier. |
| status | string | completed. |
| stats | object | Aggregate counts by status. See Stats Object below. |
| pagination | object | Pagination metadata for the results array. See Pagination Object below. |
| results | object[] | Array of per-email results for the current page. See Result Object below. |
Stats Object
The stats object provides aggregate counts keyed by SB_Status. These are the same totals shown on the dashboard and sent in webhook payloads. All count fields are integers.
| Field | Type | Description |
|---|---|---|
| total | integer | Total emails processed (after deduplication). Equals the sum of all status counts below. |
| VALID | integer | Mailboxes confirmed via SMTP. Safe to send. High deliverability. |
| INVALID | integer | Definitively rejected by the mail server. Will hard-bounce. Includes domains with no MX records (SB_Sub-Status no_mx). |
| CATCH_ALL | integer | Domain accepts all email addresses without confirming individual mailbox existence. Send with caution. |
| UNKNOWN | integer | Connection failure, anti-spam block, or greylisting prevented a definitive verdict. Retry later. |
| DO_NOT_MAIL | integer | Temporary/throwaway domains, toxic addresses, role-based addresses, or mailbox quota exceeded. Not reliable for delivery. |
| SPAMTRAP | integer | Known or suspected spam trap addresses. Never send to these. |
| ABUSE | integer | Addresses associated with abusive activity. Never send to these. |
| duplicate | integer | Number of duplicate email addresses removed during deduplication before processing. Not included in total. |
| score | integer | Overall deliverability score 0–100: percentage of unique emails classified as VALID. Quick health indicator for the list. |
Stats keyed by SB_Status
Each count field (except total, duplicate, score) uses the same value name as the SB_Status field on each result object. For example, stats.VALID counts every result where SB_Status is VALID. The score field is the percentage of unique emails classified as VALID (0–100).
Pagination Object
| Field | Type | Description |
|---|---|---|
| page | integer | Current page number (0-indexed). |
| limit | integer | Results per page as requested. |
| total | integer | Total number of result records across all pages. |
| total_pages | integer | Total number of pages available. |
| has_more | boolean | True if there are more pages after the current one. Increment page and re-request to get the next batch. |
Result Object (per email)
| Field | Type | Description |
|---|---|---|
| string | The email address (normalised to lowercase). | |
| SB_Status | string | Main verification status. One of: VALID, INVALID, CATCH_ALL, UNKNOWN, SPAMTRAP, ABUSE, DO_NOT_MAIL. |
| SB_Sub-Status | string | Specific reason within the main status. Examples: valid, mailbox_not_found, accept_all, greylisted, disposable, no_mx. |
| SB_Deliverability | string | Deliverability signal. One of: High, Moderate, Low, Very Low. |
| SB_Score | integer | Confidence score 0–98. Deterministic per sub_status. Higher = more confident. INVALID / DO_NOT_MAIL / SPAMTRAP / ABUSE always 0. |
| SB_Account | string | The local part of the email (before the @). |
| SB_Domain | string | The domain part of the email (after the @). |
| SB_Catch-All_Domain | string | TRUE if the domain is a catch-all (accepts all addresses), FALSE otherwise. |
| SB_First_Name | string | First name guessed from the email local part (capitalised). Empty if not determinable. |
| SB_Last_Name | string | Last name guessed from the email local part (capitalised). Empty if not determinable. |
| SB_Free_Email | string | TRUE if the domain is a free email provider (Gmail, Yahoo, etc.), FALSE if not, NONE if unknown. |
| SB_Role_Based | string | TRUE when the local part is a known role or functional alias (e.g. support, admin, info). FALSE otherwise. |
| SB_MX_Found | string | TRUE if MX records were found for the domain, FALSE otherwise. |
| SB_MX_Record | string | The MX record host name. Empty if no MX records found. |
| SB_SMTP_Provider | string | SMTP provider name (derived from MX record). Falls back to MX record if provider is unknown. |
{
"job_id": "J1717000000000",
"status": "processing",
"total_count": 5000,
"estimated_completion_seconds": 15
}4. Cancel a Job
/v1/bulk/:job_id/cancelCancel a running bulk verification job. The API responds immediately and the job is finalized in the background with whatever results have been collected so far. Already-verified emails are preserved in the results.
Credits refunded on cancel
Response
| Field | Type | Description |
|---|---|---|
| job_id | string | Job identifier. |
| status | string | cancelling if the job was processing, or the current status if the job already finished. |
| message | string | Human-readable description of the action taken. |
curl -X POST "https://api.stopbounceai.com/v1/bulk/J1717000000000/cancel" \ -H "Authorization: Bearer YOUR_API_KEY"