Email verification API documentation
This is the reference for the BounceZip email verification API: a REST interface over HTTPS that verifies one address in real time or a whole list as a bulk request. Requests and responses are JSON with snake_case fields. The base URL for every endpoint is:
Every call uses the same checks, results and credits as the dashboard, so real-time verification at signup and bulk email verification share one integration. Email verification costs 1 credit per address and the Catch All Verifier 5. New to the API? Start with the email verification API overview, then come back here for the details.
Authentication
Every API call is authenticated with your API key. Create one on the API page of your dashboard and send it in the Authorization header as a bearer token (an X-API-Key header works too). An account has one active key: creating a new one revokes the old one at once. GET /v1/me returns your account, so a 200 means you're connected.
| Header | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
Content-Type | application/json (or multipart/form-data for a file upload) |
Idempotency-Key | Optional on POST /v1/verify, POST /v1/verify/bulk, POST /v1/find and POST /v1/find/bulk, 8 to 100 characters: a retry with the same key returns the original result or request instead of charging twice. See Safe retries. |
Example requestcurl "https://api.bouncezip.com/api/v1/me" -H "Authorization: Bearer $BOUNCEZIP_API_KEY"
Endpoints
| Method and path | What it does | Credits |
|---|---|---|
GET /v1/me | Your account: id, name, email, credits and costs. | Free |
GET /v1/credits | Your balance, credits held by running requests, and what each check costs you. | Free |
GET /v1/pricing | Each service's cost, the price of credits and the credit packs. | Free |
POST /v1/verify | Verify one email (or run the Catch All Verifier on it). | Per email |
POST /v1/verify/bulk | Start a bulk request from a list or a file. | Per unique email |
GET /v1/jobs | Your bulk requests, newest first. | Free |
GET /v1/jobs/{id} | One request's status, progress, counts and credits. | Free |
GET /v1/jobs/{id}/download | The results file. | Free |
POST /v1/jobs/{id}/cancel | Stops a queued or running request; unused credits come back. | Free |
POST /v1/find | Find one person's email: work or personal. | Per email found |
POST /v1/find/bulk | Find emails for a list of contacts or a file. | Per email found |
GET /v1/find/jobs, /v1/find/jobs/{id} | Your Email Finder requests, and one request's status and counts. | Free |
GET /v1/find/jobs/{id}/download | The file with the emails found. | Free |
POST /v1/find/jobs/{id}/cancel | Stops an Email Finder request; you keep what it found. | Free |
Quickstart
Verify one address and branch on result. Any HTTP client works: it is one POST with a JSON body, and JSON comes back.
curl -X POST "https://api.bouncezip.com/api/v1/verify" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'const res = await fetch("https://api.bouncezip.com/api/v1/verify", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BOUNCEZIP_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"email": "[email protected]"}),
});
const r = await res.json();
if (r.result === "invalid" || r.score < 50) rejectSignup();import os, requests
r = requests.post("https://api.bouncezip.com/api/v1/verify",
headers={"Authorization": f"Bearer {os.environ['BOUNCEZIP_API_KEY']}"},
json={"email": "[email protected]"}, timeout=30).json()
print(r["result"], r["quality"], r["score"])Verify an email
Verifies a single email in real time and returns the JSON result immediately. Built for signup forms, CRM imports and anywhere you need an answer while the user waits.
Body parameters
| Parameter | Type | Description |
|---|---|---|
email | string · required | The address to verify. |
service | string · optional | email_verify (default) or catch_all for the Catch-All API. |
fresh | boolean · optional | true skips results saved in the last 30 days and checks again live, where your account allows it. |
Request
curl -X POST "https://api.bouncezip.com/api/v1/verify" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'const res = await fetch("https://api.bouncezip.com/api/v1/verify", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BOUNCEZIP_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"email": "[email protected]"}),
});
const r = await res.json();
if (r.result === "invalid" || r.score < 50) rejectSignup();import os, requests
r = requests.post("https://api.bouncezip.com/api/v1/verify",
headers={"Authorization": f"Bearer {os.environ['BOUNCEZIP_API_KEY']}"},
json={"email": "[email protected]"}, timeout=30).json()
print(r["result"], r["quality"], r["score"])Safe retries
A network error can leave you not knowing whether a check went through. Send an Idempotency-Key header (8 to 100 characters, unique per check, such as your signup ID) and retry with the same key: within 24 hours a repeat returns the first result with status 200 and the header Idempotent-Replayed: true, and isn't charged again. The same key with a different email or service answers 409 idempotency_key_reused; a repeat sent while the first is still running answers 409 idempotency_key_in_use, so wait a moment and retry. Without the header, every call is a new, charged check.
curl -X POST "https://api.bouncezip.com/api/v1/verify" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Idempotency-Key: signup-7f3a9c21" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]"}'Response
An invalid address (the domain has no mail server, usually a typo):
{
"email": "[email protected]",
"result": "invalid",
"quality": "bad",
"result_code": 6,
"sub_result": "No mail server (MX)",
"score": 0,
"provider": null,
"free": false,
"role": false,
"disposable": false,
"did_you_mean": "[email protected]",
"domain": "gmal.com",
"mx_record": null,
"verified_at": "2026-11-19T10:24:07Z",
"service": "email_verify",
"cached": false,
"credits": 1,
"balance": 48210
}A valid address:
{
"email": "[email protected]",
"result": "valid",
"quality": "good",
"result_code": 1,
"sub_result": "Deliverable",
"score": 95,
"provider": "Google",
"free": false,
"role": false,
"disposable": false,
"did_you_mean": null,
"domain": "startup.io",
"mx_record": "aspmx.l.google.com",
"verified_at": "2026-11-19T10:24:07Z",
"service": "email_verify",
"cached": false,
"credits": 1,
"balance": 48209
}Response fields
Every response has the fields below, with these names and values, every time. They never change when your account's result settings change (those only rename the columns of files you download in the dashboard). New fields may be added at the end, so ignore fields you don't know.
| Field | Type | Meaning |
|---|---|---|
email | string | The address you sent, trimmed and lower-cased. |
result | string | The verdict: valid, invalid, catch_all or unknown. See the result values below. |
quality | string | good, risky or bad: a one-word summary. |
result_code | integer | The verdict as a number: 1 valid, 2 catch-all, 3 unknown, 6 invalid. |
sub_result | string · null | Why it got that result, in words. Values below. |
score | integer | Deliverability from 0 (won't be delivered) to 100 (will be). |
provider | string · null | The mail provider behind the domain: Google, Microsoft, Yahoo, Zoho… Other when unknown, null without a mail server. |
free | boolean | A free consumer provider such as Gmail, Outlook or Yahoo. |
role | boolean | A shared mailbox such as info@, sales@ or support@. |
disposable | boolean | A temporary inbox from a throwaway provider. |
did_you_mean | string · null | A suggested fix for a likely typo. |
domain | string · null | The domain of the address. |
mx_record | string · null | The domain's main mail server, null when it has none. |
verified_at | string | When the address was checked, ISO 8601 in UTC. An older time with cached: true means a saved result was reused. |
service | string | email_verify or catch_all. |
cached | boolean | true when a result saved in the last 30 days was reused instead of checking again. Still charged. |
credits | number | Credits charged for this check. 0 for a syntax error. |
balance | number | Your credit balance after this check. |
Result values
| result | Returned by | Meaning |
|---|---|---|
valid | Email verification and Catch All Verifier | The domain accepts mail and the mailbox was accepted. Safe to send. |
invalid | Email verification and Catch All Verifier | The address can't receive mail: bad syntax, no domain, no MX, no mailbox, or a disposable inbox. |
catch_all | Email verification only | The domain accepts any address, so this mailbox can't be confirmed. Run it through the Catch All Verifier (service catch_all). |
unknown | Email verification and Catch All Verifier | The mail server didn't give a clear answer in time. Retry later. |
sub_result values
| sub_result | Meaning |
|---|---|
Deliverable | The mail server accepted the mailbox. |
Mailbox not found | The server rejected the mailbox. |
Domain has no mail server | The domain doesn't exist or can't be reached. |
No mail server (MX) | The domain has no mail server, so it can't receive email. Often a typo like gmal.com. |
Bad syntax | Not a valid email format, or a blank value. Never charged. |
Disposable provider | A temporary inbox from a throwaway provider. |
Accepts all mail | The domain accepts every address. |
Server timed out | The mail server didn't respond in time. |
Mail server error | The server returned an error that doesn't say whether the mailbox exists. |
valid. Run catch_all through the Catch-All API. Retry unknown later. Suppress invalid, but when did_you_mean has a suggestion, ask the person to check for a typo. The plain-English version of every status is on the email validator page; catch-all handling in depth is on the catch-all verifier page.Catch-All API
Deep-checks a single address on a catch-all domain. The verdict is in result: valid, invalid or unknown (never catch_all). Use it on addresses where the Real-time API returns catch_all, or straight away for B2B domains you know accept everything. See catch-all email verification for how it works.
Request
curl -X POST "https://api.bouncezip.com/api/v1/verify" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]", "service": "catch_all"}'const res = await fetch("https://api.bouncezip.com/api/v1/verify", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BOUNCEZIP_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({"email": "[email protected]", "service": "catch_all"}),
});
const r = await res.json();
if (r.result === "invalid" || r.score < 50) rejectSignup();import os, requests
r = requests.post("https://api.bouncezip.com/api/v1/verify",
headers={"Authorization": f"Bearer {os.environ['BOUNCEZIP_API_KEY']}"},
json={"email": "[email protected]", "service": "catch_all"}, timeout=30).json()
print(r["result"], r["quality"], r["score"])Response
A Catch All check has result, result_code, score, provider, domain, mx_record and verified_at, with the same meaning as above, plus email, service, cached, credits and balance like every check. It has no quality or sub_result.
{
"email": "[email protected]",
"result": "valid",
"result_code": 1,
"score": 95,
"provider": "Microsoft",
"domain": "catchall-domain.com",
"mx_record": "catchall-domain-com.mail.protection.outlook.com",
"verified_at": "2026-11-19T10:24:07Z",
"service": "catch_all",
"cached": false,
"credits": 5,
"balance": 48205
}Bulk requests
Create a request from a JSON array of up to 10,000 addresses, or upload a CSV or XLSX file (up to 1 GB) with multipart/form-data. Each row of the results file downloaded through the API keeps your columns and adds the same result fields, in the same order, as /v1/verify. This is the same engine behind bulk email verification in the dashboard.
Body parameters
| Parameter | Type | Description |
|---|---|---|
emails | string[] | The addresses to check. Use this or file. |
file | multipart file | CSV or XLSX. The email column is guessed for you. |
email_column | integer or string | With a file: the zero-based index or the header name of the column that holds the emails, if you'd rather set it. |
service | string | email_verify (default) or catch_all. |
name | string | A label shown in the dashboard and returned in webhooks. |
callback_url | string | A public HTTPS URL for webhooks about this request. |
fresh | boolean | true checks every address live instead of reusing results saved in the last 30 days, where your account allows it. |
Request
curl -X POST "https://api.bouncezip.com/api/v1/verify/bulk" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Idempotency-Key: q3-newsletter-2026-11-19" \
-H "Content-Type: application/json" \
-d '{"emails": ["[email protected]", "[email protected]"], "name": "Q3 newsletter"}'
# Or upload a CSV / XLSX file
curl -X POST "https://api.bouncezip.com/api/v1/verify/bulk" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-F "[email protected]" -F "name=Q3 newsletter"const job = await (await fetch("https://api.bouncezip.com/api/v1/verify/bulk", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BOUNCEZIP_API_KEY}`, "Content-Type": "application/json", "Idempotency-Key": "q3-newsletter-2026-11-19" },
body: JSON.stringify({ emails, name: "Q3 newsletter" }),
})).json();
console.log(job.id, job.status);job = requests.post("https://api.bouncezip.com/api/v1/verify/bulk",
headers={"Authorization": f"Bearer {key}", "Idempotency-Key": "q3-newsletter-2026-11-19"},
json={"emails": emails, "name": "Q3 newsletter"}).json()
print(job["id"], job["status"])Response
# 201 Created
{
"id": "job_8f2c41d9a7b34e",
"number": 128,
"service": "email_verify",
"name": "Q3 newsletter",
"source": "api",
"status": "queued",
"total": 12008,
"processed": 0,
"progress": 0,
"counts": { "valid": 0, "invalid": 0, "catch_all": 0, "unknown": 0 },
"credits_held": 11950,
"credits_charged": 0,
"credits_released": 0,
"cost_per_email": 1,
"unique_emails": 11950,
"duplicates": 41,
"invalid_syntax": 17,
"error": null,
"queue_reason": null,
"created_at": "2026-11-19T10:02:41Z",
"finished_at": null,
"expires_at": null,
"status_url": "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9a7b34e",
"download_url": null,
"callback_url": "https://example.com/hooks/bz",
"callback_signing_secret": "whsec_5d1e…",
"balance": 36260
}The response is the request with your new balance, plus a callback_signing_secret when you sent a callback_url (it's only shown here, so store it). With an Idempotency-Key, a repeat returns the original request with status 200 instead of 201, whatever the body, and nothing is charged again.
Credits for the whole request come off your balance when it starts (credits_held) and are settled when it ends; anything not charged goes back to your balance. Duplicate addresses are checked and charged once, and blank or badly formatted rows are marked invalid with reason syntax and never charged. A 402 response means you don't have enough credits; its body says how many are needed and your balance.
progresscredits_released)Request results
Poll for status and progress (every 10 to 30 seconds is plenty), or use a webhook instead. GET /v1/jobs lists your requests, newest first: filter with service and status, page with limit (1 to 100, default 20) and offset or page, and read total and has_more from the response. When download_url is set (the request is completed, or cancelled after some rows were checked), download the results with GET /v1/jobs/{id}/download: your original columns plus the result columns, in the format you uploaded (CSV for a JSON list). Add ?filter=valid (or invalid, catch_all, unknown; all is the default) to get only those rows. Before the results are ready it answers 409 not_ready, and after expires_at 410 file_expired. POST /v1/jobs/{id}/cancel stops a queued or running request (409 not_cancellable once it has finished).
Request
curl "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9" -H "Authorization: Bearer $BOUNCEZIP_API_KEY"
# When status is completed: download the valid rows as CSV
curl -L "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9/download?filter=valid" -H "Authorization: Bearer $BOUNCEZIP_API_KEY" -o valid.csvconst job = await (await fetch("https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9", { headers })).json();
if (job.status === "completed") {
const csv = await (await fetch("https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9/download?filter=valid", { headers })).text();
}job = requests.get("https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9", headers=h).json()
if job["status"] == "completed":
open("valid.csv", "wb").write(requests.get("https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9/download", params={"filter": "valid"}, headers=h).content)Response
{
"id": "job_8f2c41d9a7b34e",
"number": 128,
"service": "email_verify",
"name": "Q3 newsletter",
"source": "api",
"status": "completed",
"total": 12008,
"processed": 12008,
"progress": 100,
"counts": { "valid": 9752, "invalid": 955, "catch_all": 1243, "unknown": 58 },
"credits_held": 0,
"credits_charged": 11950,
"credits_released": 0,
"cost_per_email": 1,
"unique_emails": 11950,
"duplicates": 41,
"invalid_syntax": 17,
"error": null,
"queue_reason": null,
"created_at": "2026-11-19T10:02:41Z",
"finished_at": "2026-11-19T10:14:02Z",
"expires_at": "2026-12-19T10:14:02Z",
"status_url": "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9a7b34e",
"download_url": "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9a7b34e/download",
"callback_url": "https://example.com/hooks/bz"
}expires_at, then they're deleted. You can delete a request sooner from the dashboard. See the security overview.Credit balance
Check your balance before a large request, and what each check costs your account. balance (also given as available) is what you can spend now. held is what running requests have reserved; it's already taken out of balance, and whatever a request doesn't use comes back when it ends. custom_costs is true when your account has its own prices. Credits never expire; see pricing for packs.
Request
curl "https://api.bouncezip.com/api/v1/credits" -H "Authorization: Bearer $BOUNCEZIP_API_KEY"const { balance, costs } = await (await fetch("https://api.bouncezip.com/api/v1/credits", { headers })).json();r = requests.get("https://api.bouncezip.com/api/v1/credits", headers=h).json()Response
{ "balance": 48210, "available": 48210, "held": 0, "costs": { "email_verify": 1, "catch_all": 5, "find_work": 2, "find_personal": 10 }, "custom_costs": false }find_work and find_personal are the Email Finder prices, charged only per email found.
Email Finder API
Find a person's email address, then verify it with /v1/verify before you send. The search runs now and answers in a few seconds. You only pay when an email is found: the price is held while it searches and comes straight back when nothing is found or the search fails. The same search powers the Email Finder in the dashboard.
Body parameters
| Parameter | Type | Description |
|---|---|---|
kind | string · optional | work (default) finds a work email; personal finds a personal email from a LinkedIn profile. |
first_name, last_name | string | Work email: the person's name. Or send full_name instead. |
full_name | string | Work email: the whole name, when first and last name aren't separate. |
domain | string | Work email: the company website or domain (acme.com, or a full URL). Send it, linkedin_url, or both. |
linkedin_url | string | The LinkedIn profile URL (linkedin.com/in/…). Required for kind: personal. |
Request
curl -X POST "https://api.bouncezip.com/api/v1/find" \
-H "Authorization: Bearer $BOUNCEZIP_API_KEY" \
-H "Content-Type: application/json" \
-d '{"first_name": "Jane", "last_name": "Cooper", "domain": "acme.com"}'const res = await fetch("https://api.bouncezip.com/api/v1/find", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.BOUNCEZIP_API_KEY}`, "Content-Type": "application/json" },
body: JSON.stringify({ first_name: "Jane", last_name: "Cooper", domain: "acme.com" }),
});
const { found, email } = await res.json();r = requests.post(
"https://api.bouncezip.com/api/v1/find",
headers={"Authorization": f"Bearer {os.environ['BOUNCEZIP_API_KEY']}"},
json={"first_name": "Jane", "last_name": "Cooper", "domain": "acme.com"},
)
data = r.json()Response
{
"kind": "work",
"found": true,
"email": "[email protected]",
"email_status": "valid",
"catch_all": false,
"credits": 2,
"balance": 48208
}When no email is found, found is false and nothing is charged:
{ "kind": "work", "found": false, "email": null, "email_status": null, "catch_all": null, "credits": 0, "balance": 48210 }| Field | Type | Meaning |
|---|---|---|
found | boolean | Whether an email was found. |
email | string · null | The email found, lower-cased. |
email_status | string · null | The finder's own check of the email, such as valid or catch_all. Run /v1/verify for the full result before sending. |
catch_all | boolean · null | Whether the company domain accepts every address. null for personal emails. |
credits | number | Credits charged: the price when found, 0 when not. |
balance | number | Your balance after this search. |
A missing input answers 400 before anything is searched or charged. Send an Idempotency-Key header to make retries safe, as with /v1/verify.
Find emails for a list
Send up to 10,000 contacts as JSON (each with the fields above), or upload a CSV or Excel file with multipart/form-data. For a file, the name, website and LinkedIn columns are guessed from the headers; send mapping (a JSON object of field to column name or 0-based index) to name them yourself. Credits for every row are held when it starts; every row not found, skipped (missing inputs) or failed is refunded when it ends. One request of each kind runs at a time per account (429 file_in_progress while one is running).
Requestcurl -X POST "https://api.bouncezip.com/api/v1/find/bulk" \ -H "Authorization: Bearer $BOUNCEZIP_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "kind": "work", "name": "Q4 prospects", "contacts": [ {"first_name": "Jane", "last_name": "Cooper", "domain": "acme.com"}, {"full_name": "Marcus Lee", "linkedin_url": "https://www.linkedin.com/in/marcus-lee"} ] }' # Or upload a file and name its columns curl -X POST "https://api.bouncezip.com/api/v1/find/bulk" \ -H "Authorization: Bearer $BOUNCEZIP_API_KEY" \ -F "[email protected]" \ -F "kind=work" \ -F 'mapping={"full_name": "Name", "domain": "Website"}'
The response is the request below with status queued or processing. Check it with GET /v1/find/jobs/{id} (every 10 to 30 seconds is plenty). GET /v1/find/jobs lists your requests, newest first (filter with kind and status, page with limit and offset), and POST /v1/find/jobs/{id}/cancel stops one: you're charged only for the emails found before it stopped.
GET /v1/find/jobs/{id}{ "id": "fnd_2b7e91c04a", "ref": "EF01042", "kind": "work", "name": "Q4 prospects", "source": "api", "status": "completed", "total": 1200, "processed": 1200, "progress": 100, "found": 912, "not_found": 270, "skipped": 18, "failed": 0, "cost_per_find": 2, "credits_held": 0, "credits_charged": 1824, "credits_released": 576, "error": null, "cancel_requested": false, "created_at": "2026-11-19T10:02:41Z", "finished_at": "2026-11-19T10:21:09Z", "expires_at": "2026-12-19T10:21:09Z", "status_url": "https://api.bouncezip.com/api/v1/find/jobs/fnd_2b7e91c04a", "download_url": "https://api.bouncezip.com/api/v1/find/jobs/fnd_2b7e91c04a/download" }
When download_url is set, GET /v1/find/jobs/{id}/download returns your rows as they were, in the format you uploaded, with four columns added at the end: email, email_status, catch_all (true or false) and find_result (found, not_found, skipped or failed). These names are fixed for files started through the API.
Webhooks
Pass a callback_url when you start a bulk request. It must be a public HTTPS URL: addresses on private or internal networks are refused, and redirects aren't followed. The response includes a callback_signing_secret for that request. When the request completes, fails or is cancelled, we POST JSON to your URL with an X-BounceZip-Event header and an X-BounceZip-Signature header: sha256= followed by the HMAC-SHA256 of the raw body, keyed with that secret. Respond with any 2xx status within 10 seconds to acknowledge. Anything else is retried with backoff (30 s, 2 min, 8 min, 32 min: five attempts in all).
| Event | When |
|---|---|
job.completed | A bulk request finished and its results can be downloaded. |
job.failed | A request couldn't finish on our side. error says why, and its credits are back on your balance. |
job.cancelled | A request was cancelled. Rows already checked are charged (credits_charged) and the rest returned (credits_released). |
Payload
POST https://example.com/hooks/bz
Content-Type: application/json
X-BounceZip-Event: job.completed
X-BounceZip-Signature: sha256=3f9a…c21e
{
"id": "whd_4c1d0e8b9a7f2e6d5c3b",
"event": "job.completed",
"created_at": "2026-11-19T10:14:02Z",
"data": {
"id": "job_8f2c41d9a7b34e", "number": 128, "service": "email_verify", "name": "Q3 newsletter",
"status": "completed", "total": 12008, "processed": 12008, "unique_emails": 11950,
"counts": { "valid": 9752, "invalid": 955, "catch_all": 1243, "unknown": 58 },
"credits_charged": 11950, "credits_released": 0, "cost_per_email": 1, "error": null,
"status_url": "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9a7b34e",
"download_url": "https://api.bouncezip.com/api/v1/jobs/job_8f2c41d9a7b34e/download",
"finished_at": "2026-11-19T10:14:02Z"
}
}Verifying the signature
Compute the HMAC over the raw body exactly as received, before parsing it, and compare in constant time.
import crypto from "node:crypto";
function verifySignature(rawBody, header, secret) {
const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody).digest("hex");
const a = Buffer.from(expected), b = Buffer.from(header ?? "");
return a.length === b.length && crypto.timingSafeEqual(a, b);
}id and created_at (when the event happened). Store the ids you have handled and ignore repeats. Because created_at is covered by the signature, you can also refuse deliveries whose created_at is more than an hour old (the last retry comes about 43 minutes after the first attempt).Rate limits
Limits are applied per API key and returned in every response as X-RateLimit-Limit and X-RateLimit-Remaining. Limits are per second (10 requests a second by default). Exceeding the limit returns 429 with Retry-After: wait a second and retry. Single checks are also limited to 20 emails a second per account by default (429 rate_limited). An account can also have a daily cap on requests (429 daily_limit_reached) or on emails verified (429 daily_email_limit); both reset at midnight UTC, and Retry-After then gives the seconds until then. For anything over a few hundred addresses, use a bulk request instead of many single calls.
HTTP/1.1 200 OK
X-RateLimit-Limit: 10
X-RateLimit-Remaining: 7Errors
Errors use conventional HTTP status codes and a JSON body with a stable code you can branch on. A check that completes but can't get a clear answer from the mail server still returns 200, with status set to unknown.
| Status | Meaning |
|---|---|
| 400 | Missing or malformed parameter; the message names the field. Codes: invalid_request, invalid_json, invalid_service, invalid_email, invalid_column, invalid_filter, too_many_emails, empty_file. |
| 401 | Missing, invalid or revoked API key (unauthorized). |
| 402 | Not enough credits (insufficient_credits, with needed and balance). |
| 403 | Account suspended (account_suspended), API access switched off for the account (api_disabled), bulk requests switched off (bulk_jobs_disabled), or this check isn't available on your account. |
| 404 | Request or endpoint not found (not_found). |
| 405 | Wrong HTTP method for the endpoint (method_not_allowed). |
| 409 | Results not ready yet (not_ready), request already finished (not_cancellable), or an Idempotency-Key clash (idempotency_key_reused, idempotency_key_in_use). |
| 410 | Result files have expired (file_expired). |
| 413 | Request body too large (request_too_large): upload long lists as a file. |
| 429 | A limit was reached: rate_limited, daily_limit_reached, daily_email_limit or too_many_files. Wait for Retry-After seconds where it's given. |
| 500 | Something went wrong on our side (internal_error). Safe to retry with the same Idempotency-Key. |
| 503 | Verification is paused for a moment (engine_unavailable), or the Email Finder is switched off (finder_off) or didn't answer (finder_unavailable, nothing charged). Retry shortly. |
# 402 Payment Required
{ "error": { "code": "insufficient_credits", "message": "You need 500 credits for this and have 120.00. Buy credits to continue.", "needed": 500, "balance": 120 }, "needed": 500, "balance": 120 }MCP server for AI agents
The BounceZip MCP server lets AI agents verify emails without you writing any code. It speaks the Model Context Protocol, the open standard that Claude, Cursor, Windsurf and other agents use to call tools, and it wraps the same email verification API documented above. Same checks, same result fields, same credits and rate limits.
https://api.bouncezip.com/api/mcp, hosted by BounceZipAuthorization headerverify_email, verify_catch_all, start_bulk_job, get_job, list_jobs, get_credits, get_account, get_pricingWant the product overview first? See the MCP server page. The rest of this section is the setup and tool reference.
Install and configure the MCP server
Create an API key on the API page of your dashboard, then add the server to your agent. Pick your client below, paste the snippet with your key, and restart the agent. The BounceZip tools appear in its tool list.
Terminal# One command, no file editing claude mcp add --transport http bouncezip https://api.bouncezip.com/api/mcp \ --header "Authorization: Bearer YOUR_API_KEY" # Check it is connected claude mcp list
.cursor/mcp.json// Project: .cursor/mcp.json · Global: ~/.cursor/mcp.json { "mcpServers": { "bouncezip": { "url": "https://api.bouncezip.com/api/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }
mcp_config.json// ~/.codeium/windsurf/mcp_config.json { "mcpServers": { "bouncezip": { "url": "https://api.bouncezip.com/api/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }
Any MCP client with remote (HTTP) servers# Server URL https://api.bouncezip.com/api/mcp # Header on every request Authorization: Bearer YOUR_API_KEY
MCP tools reference
Each tool maps to the API, so results match the dashboard and the API exactly. A tool returns its JSON both as text and as structuredContent; a failure (not enough credits, a bad argument, a rate limit) comes back as a tool result with isError: true and the API's message.
| Tool | What it does | Input | Credits |
|---|---|---|---|
verify_email | Verifies one address in real time and returns the same fields as POST /v1/verify. | email (string, required); fresh, idempotency_key (optional) | 1 per email |
verify_catch_all | Runs the Catch All Verifier on one address: result is valid, invalid or unknown. | email (string, required); fresh, idempotency_key (optional) | 5 per email |
start_bulk_job | Starts a bulk request from a list of addresses and returns the request (same as POST /v1/verify/bulk). | emails (string[], required); service, name, callback_url, fresh, idempotency_key (optional) | 1 per unique address (5 for catch_all) |
get_job | Returns a request's status, progress, counts by result, credits and download_url. | job_id (string, required) | Free |
list_jobs | Lists your requests, newest first. | service, status, limit, offset (optional) | Free |
get_credits | Returns the credit balance, credits held by running requests, and what each check costs your account. | none | Free |
get_account | Returns your account's name, email, credits and costs. | none | Free |
get_pricing | Returns what each check costs, the price of credits and the credit packs. | none | Free |
find_email | Finds one person's work email (name plus company domain or LinkedIn URL) or personal email (LinkedIn URL). Same as POST /v1/find. | kind, first_name, last_name, full_name, domain, linkedin_url, idempotency_key (optional; what a search needs depends on kind) | 2 per work email found, 10 per personal email found |
start_find_job | Starts a bulk Email Finder request from a list of contacts (same as POST /v1/find/bulk). | contacts (object[], required); kind, name, idempotency_key (optional) | Per email found; the rest is refunded |
get_find_job | Returns an Email Finder request's status, progress, found counts, credits and download_url. | job_id (string, required) | Free |
verify_email
Same result as POST /v1/verify. Returns the full response described in Verify an email.
Input{ "email": "[email protected]" }
Output{ "email": "[email protected]", "result": "valid", "quality": "good", "result_code": 1, "sub_result": "Deliverable", "score": 95, "provider": "Google", "free": false, "role": false, "disposable": false, "did_you_mean": null, "domain": "startup.io", "mx_record": "aspmx.l.google.com", "verified_at": "2026-11-19T10:24:07Z", "service": "email_verify", "cached": false, "credits": 1, "balance": 48209 }
start_bulk_job and get_job
Same as POST /v1/verify/bulk and GET /v1/jobs/{id}. Agents usually poll get_job until status is completed, then share the results.
Input{ "emails": ["[email protected]", "[email protected]"], "name": "Q3 newsletter" }
Example prompts
You talk to the agent in plain language. It picks the right tool and explains the result.
| You ask | Tool the agent calls |
|---|---|
| “Verify [email protected] before I add her to the sequence.” | verify_email |
| “These 20 addresses are on catch-all domains. Which ones are safe?” | verify_catch_all × 20 |
| “Check these 300 leads and tell me how many are safe to send.” | start_bulk_job → get_job |
| “Is the request I started this morning finished?” | list_jobs → get_job |
| “How many BounceZip credits do I have left before I run this list?” | get_credits |
| “Find Jane Cooper's work email at acme.com, then check it.” | find_email → verify_email |
MCP keys, credits and rate limits
- Credits: the MCP server uses your normal balance: 1 credit per email, 5 per catch-all check, duplicates in a request charged once.
get_job,list_jobs,get_credits,get_accountandget_pricingare free. - Rate limits: the same per-key limits as the API apply (see Rate limits). For more than a few dozen addresses, ask the agent to use
start_bulk_jobinstead of many single calls. - Approvals: keep your client's tool approval prompts on, because verification tools spend credits. Every call appears in your dashboard like any other API request.
- Verification only: the server only exposes verification, request, account and credit tools. It never sends email to the addresses it checks, and it can't buy credits or change your account.
- Untrusted text: tool results can contain text other people wrote, such as a request name or an address. The server tells agents to treat it as data, never as instructions.
- Your data: lists sent through MCP follow the same rules as uploads. See security.
MCP troubleshooting
| Symptom | Fix |
|---|---|
| The BounceZip tools don't appear | Restart the agent after saving the config, and check the JSON is valid (no trailing commas). |
| Client only offers OAuth sign-in | Use a client that supports remote servers with a custom header, like Claude Code or Cursor. |
| 401 with “Invalid API key” | The key is missing, wrong or was replaced by a newer one. Copy it again from the API page into the Authorization header. |
| Tool error “You need … credits” | Not enough credits. Top up from the pricing page. |
| Tool error “Rate limit exceeded” | The agent is making single calls too fast. Ask it to use start_bulk_job. |
Clean & Verify Your Email List for Free
- No credit card
- GDPR compliant
- Credits never expire