StopBounceAI

Email Verification

Verify email addresses individually or in bulk - via our API.

Discover with AI
POST/v1/bulk

Submit 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
Credits are reserved (held) when you submit the job - one credit per valid email in the list. You are only charged for emails that are actually verified. If the job is cancelled, credits for unprocessed emails are automatically refunded. If the job fails to start (e.g. engine unavailable), all reserved credits are released immediately.

1. Submit a Job - Request Body

FieldTypeRequiredDescription
emailsstring[]YesArray of email address strings to verify. Maximum 50,000 per request. Duplicates are automatically deduplicated before processing.
webhook_urlstringOptionalHTTPS 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

FieldTypeDescription
job_idstringUnique identifier for this verification job. Use this to poll for results.
statusstringAlways processing on submit.
total_countintegerNumber of email addresses queued for verification (after deduplication).
estimated_completion_secondsintegerEstimated seconds until the job completes. Rough estimate: ~3s per 1,000 emails. Actual time depends on mail server responsiveness and proxy routing.
bash
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

GET/v1/bulk/:job_id/status

Poll every 30 seconds until status is completed. Or skip polling entirely by providing a webhook_url at submission time.

Query Parameters

ParameterTypeDefaultDescription
pageinteger0Zero-indexed page number for paginating through results. Ignored when job is still processing.
limitinteger1000Number of results per page. Minimum 1, maximum 10,000.
bash
# 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

FieldTypeDescription
job_idstringJob identifier.
statusstringprocessing while running, completed when done, failed on error.
total_countintegerTotal emails in this job.

3. Completed Response

Top-level fields

FieldTypeDescription
job_idstringJob identifier.
statusstringcompleted.
statsobjectAggregate counts by status. See Stats Object below.
paginationobjectPagination metadata for the results array. See Pagination Object below.
resultsobject[]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.

FieldTypeDescription
totalintegerTotal emails processed (after deduplication). Equals the sum of all status counts below.
VALIDintegerMailboxes confirmed via SMTP. Safe to send. High deliverability.
INVALIDintegerDefinitively rejected by the mail server. Will hard-bounce. Includes domains with no MX records (SB_Sub-Status no_mx).
CATCH_ALLintegerDomain accepts all email addresses without confirming individual mailbox existence. Send with caution.
UNKNOWNintegerConnection failure, anti-spam block, or greylisting prevented a definitive verdict. Retry later.
DO_NOT_MAILintegerTemporary/throwaway domains, toxic addresses, role-based addresses, or mailbox quota exceeded. Not reliable for delivery.
SPAMTRAPintegerKnown or suspected spam trap addresses. Never send to these.
ABUSEintegerAddresses associated with abusive activity. Never send to these.
duplicateintegerNumber of duplicate email addresses removed during deduplication before processing. Not included in total.
scoreintegerOverall 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

FieldTypeDescription
pageintegerCurrent page number (0-indexed).
limitintegerResults per page as requested.
totalintegerTotal number of result records across all pages.
total_pagesintegerTotal number of pages available.
has_morebooleanTrue if there are more pages after the current one. Increment page and re-request to get the next batch.

Result Object (per email)

FieldTypeDescription
EmailstringThe email address (normalised to lowercase).
SB_StatusstringMain verification status. One of: VALID, INVALID, CATCH_ALL, UNKNOWN, SPAMTRAP, ABUSE, DO_NOT_MAIL.
SB_Sub-StatusstringSpecific reason within the main status. Examples: valid, mailbox_not_found, accept_all, greylisted, disposable, no_mx.
SB_DeliverabilitystringDeliverability signal. One of: High, Moderate, Low, Very Low.
SB_ScoreintegerConfidence score 0–98. Deterministic per sub_status. Higher = more confident. INVALID / DO_NOT_MAIL / SPAMTRAP / ABUSE always 0.
SB_AccountstringThe local part of the email (before the @).
SB_DomainstringThe domain part of the email (after the @).
SB_Catch-All_DomainstringTRUE if the domain is a catch-all (accepts all addresses), FALSE otherwise.
SB_First_NamestringFirst name guessed from the email local part (capitalised). Empty if not determinable.
SB_Last_NamestringLast name guessed from the email local part (capitalised). Empty if not determinable.
SB_Free_EmailstringTRUE if the domain is a free email provider (Gmail, Yahoo, etc.), FALSE if not, NONE if unknown.
SB_Role_BasedstringTRUE when the local part is a known role or functional alias (e.g. support, admin, info). FALSE otherwise.
SB_MX_FoundstringTRUE if MX records were found for the domain, FALSE otherwise.
SB_MX_RecordstringThe MX record host name. Empty if no MX records found.
SB_SMTP_ProviderstringSMTP provider name (derived from MX record). Falls back to MX record if provider is unknown.
json
{
  "job_id": "J1717000000000",
  "status": "processing",
  "total_count": 5000,
  "estimated_completion_seconds": 15
}

4. Cancel a Job

POST/v1/bulk/:job_id/cancel

Cancel 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
Credits are reserved when you submit the job. When you cancel, you are only charged for emails that were actually verified - credits for unprocessed emails are automatically refunded. Partial results are still available via the status endpoint.

Response

FieldTypeDescription
job_idstringJob identifier.
statusstringcancelling if the job was processing, or the current status if the job already finished.
messagestringHuman-readable description of the action taken.
bash
curl -X POST "https://api.stopbounceai.com/v1/bulk/J1717000000000/cancel" \
  -H "Authorization: Bearer YOUR_API_KEY"