API Documentation
Integrate BounceZero email verification into your applications.
The BounceZero API provides programmatic access to our 5-stage email verification pipeline. Every email address is evaluated across 40+ signals including syntax validation, DNS and MX record analysis, SMTP mailbox probing, disposable and role-based detection, social signal checks, and Bayesian + ML scoring.
Use the API to verify individual emails in real time, process bulk lists asynchronously, query detailed domain intelligence, and manage your account programmatically.
Pipeline Stages
Authentication
All API requests require authentication via an API key. Include your key in the X-API-Key request header.
You can obtain your API key from the Dashboard under the Integration page. Keep your API key secret and never expose it in client-side code.
Base URL
All API endpoints are relative to the following base URL:
All requests must be made over HTTPS. HTTP requests will be rejected.
Rate Limits
API requests are rate-limited to ensure fair usage and platform stability.
| Limit | Value | Details |
|---|---|---|
| Requests per minute | 100 | Per API key, across all endpoints |
When you exceed the rate limit, the API returns a 429 Too Many Requests response. Implement exponential backoff in your integration to handle rate limiting gracefully.
Verify Single Email
Verify a single email address through the full 5-stage pipeline.
Request Headers
| Header | Value | Required |
|---|---|---|
| Content-Type | application/json | Yes |
| X-API-Key | Your API key | Yes |
Request Body
Response
A successful response returns the verification result with a full signal breakdown.
Response Fields
| Field | Type | Description |
|---|---|---|
| status | string | deliverable, undeliverable, risky, or unknown |
| score | integer | Confidence score from 0 (bad) to 100 (perfect) |
| reason | string | Human-readable explanation of the result |
| signals | object | Detailed signal breakdown from each pipeline stage |
| domain | object | Domain information including DNS records and provider |
Code Examples
Verify Realtime (SSE)
Stream verification results in real time using Server-Sent Events.
This endpoint uses Server-Sent Events (SSE) to stream verification progress as it happens. Each pipeline stage emits an event as it completes, allowing you to display live progress to users.
Request Body
Example (cURL)
Verify Bulk (JSON)
Submit a batch of emails for asynchronous verification.
Request Body
Response
Use the returned job_id to poll for status, retrieve results, or download the completed CSV.
Verify Bulk (CSV Upload)
Upload a CSV file containing email addresses for bulk verification.
Send the CSV file as multipart form data. The CSV should contain email addresses, one per row. A header row with email as the column name is recommended.
Example (cURL)
Response
Bulk Job Status
Check the progress and status of a bulk verification job.
Response
Bulk Job Results
Retrieve the verification results for a completed bulk job as JSON.
Response
Bulk Job Download
Download the results of a completed bulk job as a CSV file.
Returns a CSV file with the verification results. The response Content-Type is text/csv. Only available once the job status is completed.
Example
Domain Lookup
Retrieve comprehensive intelligence about an email domain.
Returns detailed domain intelligence including MX records, SPF, DKIM and DMARC configuration, email provider identification, and risk indicators.
Example
Response
Get API Key
Retrieve your current API key.
Response
Generate API Key
Generate a new API key. This will invalidate your previous key.
Response
API Usage Stats
Retrieve your API usage statistics.
Response
Check Balance
Check your remaining verification credit balance.
Response
Response Codes
The API uses standard HTTP status codes to indicate the outcome of each request.
| Code | Status | Description |
|---|---|---|
| 200 | OK | Request succeeded. Response body contains the requested data. |
| 400 | Bad Request | The request body is missing or contains invalid parameters (e.g., malformed email address). |
| 401 | Unauthorized | Missing or invalid API key. Check that the X-API-Key header is present and correct. |
| 403 | Forbidden | Your account does not have access to this resource, or you have insufficient credits. |
| 429 | Rate Limited | You have exceeded the rate limit of 100 requests per minute. Wait and retry with exponential backoff. |
| 500 | Internal Error | An unexpected server error occurred. If the problem persists, contact support. |
Error Response Format
Verification Statuses
Each verified email address is assigned one of four statuses based on the analysis of all 40+ signals.
The email address is valid and safe to send to. The mailbox exists, the domain has valid MX records, and SMTP verification confirmed deliverability. This is the highest confidence result.
The email address is invalid or the mailbox does not exist. Sending to this address will result in a hard bounce. Common causes include non-existent mailboxes, invalid domains, or syntax errors.
The email address may be deliverable but carries risk. This includes catch-all domains (accept everything, but may silently discard), disposable email addresses, role-based addresses (e.g., info@, admin@), or addresses with low sender reputation history.
The verification could not be completed. The domain's mail server may be temporarily unavailable, blocking verification attempts, or using a greylisting strategy. We recommend retrying these addresses later.