The same verification engine as the dashboard, available over HTTPS. One address or up to 100 at a time, with a credit balance endpoint, job results, and webhooks when a job finishes.
Try it live — test your API key
Send a real request to the OffBounce app from this page. Your key goes through this website's server to my.offbounce.com — the app sends no CORS headers, so a direct browser call would be blocked.
Getting started
- Create a free OffBounce account at my.offbounce.com — you get 100 free trial credits when you sign up.
- In the app, open Dashboard → API Keys and click Generate new API key.
- Copy the key now — it is shown in full only once. If you lose it, generate a new one; the old key cannot be shown again.
- Send your first request to
POST /api/v1/verifywith the key in theX-API-Keyheader (examples below). - Read the JSON reply:
statustells you the result,scorethe 0–100 quality score, andcredits_leftyour remaining balance.
Authentication
Every request needs an API key. Send it as the X-API-Key header — that is the recommended way. You can also send it as the api_key form field or query parameter, but the header keeps the key out of URLs and server logs.
Keys are managed in the app under Dashboard → API Keys. Create as many as you need. The list shows each key masked, with its number of uses and last-used date, plus per-endpoint usage for the last 30 days. Regenerate replaces a key — the old key stops working instantly. You can revoke any key at any time. A revoked key, or a disabled account, returns 401.
Keep your key secret. Never put an API key in client-side JavaScript, a public repository, or a shared screenshot. If a key leaks, revoke it in the app and create a new one.
Base URL
All endpoints live under:
https://my.offbounce.com/api/v1/
Requests are JSON or form-encoded. Replies are always JSON, with Content-Type: application/json. Every reply is an object with ok: true or ok: false — there is no success field.
A note on other APIs: some verification providers use a different shape — for example, an api_key query parameter on a /v2/validate path. OffBounce’s API is its own: the endpoints, paths and field names on this page are the real ones. Do not mix another provider’s URLs into OffBounce calls.
Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /api/v1/verify | Verify one email address. Returns the full result immediately. |
| POST | /api/v1/verify/bulk | Verify up to 100 email addresses in one call. Creates a job and returns its counts. |
| GET | /api/v1/job/{id} | Get a job’s summary and its first 100 results. Also accepts ?id=. |
| GET | /api/v1/credits | Get your credit balance, split by trial, pay-as-you-go and monthly, plus your monthly plan. |
Verify a single email
POST /api/v1/verify — send {"email": "jane@example.com"} as JSON, or as a form field. One credit is used for a definitive result; an Unknown result is free. If you are out of credits, the reply is 402 and includes only the result’s status — top up, then retry for the full result.
curl -X POST https://my.offbounce.com/api/v1/verify \
-H "X-API-Key: ob_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "jane@example.com"}'<?php
$ch = curl_init('https://my.offbounce.com/api/v1/verify');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POST => true,
CURLOPT_POSTFIELDS => json_encode(['email' => 'jane@example.com']),
CURLOPT_HTTPHEADER => [
'X-API-Key: ob_live_YOUR_KEY',
'Content-Type: application/json',
],
]);
$res = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $res['status'] ?? $res['error'];
// "valid"# pip install requests
import requests
r = requests.post(
"https://my.offbounce.com/api/v1/verify",
headers={"X-API-Key": "ob_live_YOUR_KEY"},
json={"email": "jane@example.com"},
timeout=30,
)
data = r.json()
print(data.get("status"))
# "valid"// Node 18+ has fetch built in. Never expose your key in browser code.
const res = await fetch(
"https://my.offbounce.com/api/v1/verify", {
method: "POST",
headers: {
"X-API-Key": "ob_live_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ email: "jane@example.com" }),
});
const data = await res.json();
console.log(data.status);
// "valid"Success reply — 200
{
"ok": true,
"email": "jane@example.com",
"status": "valid",
"sub_status": "mailbox_exists",
"reason": "Mailbox exists (SMTP accepted the address)",
"score": 98,
"mx_domain": "example.com",
"suggestion": "",
"trap_signal": "",
"retryable": false,
"charged": true,
"credits_left": 9842
}Out of credits — 402
{
"ok": false,
"error": "Out of credits — buy a pack or subscribe to continue.",
"status": "valid"
}Only the status comes back — no full result. Buy a pack or subscribe, then retry for the full result.
Verify up to 100 emails
POST /api/v1/verify/bulk — send {"emails": ["a@example.com", "b@example.com"]}. At most 100 addresses per call; split larger lists into several calls. You can also send the addresses as one string, split on newlines, commas or semicolons. The call verifies each address with the same engine as the dashboard, deducts one credit per definitive result (Unknown is free), and returns the finished job id and counts. Duplicates inside one call are checked once — the extra copies are free. Suppressed addresses come back unknown and are free. If credits run out mid-batch, the remaining rows stay unprocessed and the job is left paused — top up and resume it from the dashboard.
cURL — verify a batch
curl -X POST https://my.offbounce.com/api/v1/verify/bulk \
-H "X-API-Key: ob_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"emails": ["a@example.com", "b@example.com"]}'Success reply — 200
{
"ok": true,
"job_id": 42,
"status": "completed",
"total": 2,
"processed": 2,
"count_valid": 1,
"count_invalid": 1,
"count_catch_all": 0,
"count_disposable": 0,
"count_role": 0,
"count_unknown": 0,
"count_spam_trap_risk": 0,
"credits_used": 2,
"credits_left": 9840,
"job_url": "https://my.offbounce.com/api/v1/job/42"
}Get a job and its results
GET /api/v1/job/{id} — for example GET /api/v1/job/42, or GET /api/v1/job?id=42. Returns the job summary and the first 100 result rows. For the full list, use the CSV export in the dashboard. A job that belongs to another account returns 404. Jobs created through the API have type api_bulk and a name like API bulk (2 emails).
cURL — get a job
curl https://my.offbounce.com/api/v1/job/42 \ -H "X-API-Key: ob_live_YOUR_KEY"
Job reply — 200
{
"ok": true,
"job": {
"id": 42,
"name": "API bulk (2 emails)",
"type": "api_bulk",
"status": "completed",
"total": 2,
"processed": 2,
"count_valid": 1,
"count_invalid": 1,
"count_catch_all": 0,
"count_disposable": 0,
"count_role": 0,
"count_unknown": 0,
"count_spam_trap_risk": 0,
"credits_used": 2,
"created_at": "2026-12-03 10:15:00",
"finished_at": "2026-12-03 10:15:04"
},
"results": [
{
"email": "a@example.com",
"status": "valid",
"sub_status": "mailbox_exists",
"reason": "Mailbox exists (SMTP accepted the address)",
"score": 98,
"mx_domain": "example.com",
"trap_signal": "",
"checked_at": "2026-12-03 10:15:02"
},
{
"email": "b@example.com",
"status": "invalid",
"sub_status": "mailbox_not_found",
"reason": "Mailbox does not exist (SMTP rejected the address)",
"score": 0,
"mx_domain": "example.com",
"trap_signal": "",
"checked_at": "2026-12-03 10:15:03"
}
],
"results_shown": 2
}Check your credit balance
GET /api/v1/credits — returns your balance split by trial, pay-as-you-go and monthly credits, plus your monthly plan and renewal date.
cURL — check credits
curl https://my.offbounce.com/api/v1/credits \ -H "X-API-Key: ob_live_YOUR_KEY"
Credits reply — 200
{
"ok": true,
"credits": {
"trial": 0,
"payg": 5000,
"monthly": 4840,
"total": 9840,
"monthly_plan": "Standard",
"monthly_renews": "2026-12-15"
},
"email": "you@company.com"
}Statuses, sub-statuses & scores
Every verification returns a status, a sub_status, a plain-language reason and a rule-based score from 0 to 100. The score is a simple rule score — not AI, and not a guarantee. Unknown results are never charged; duplicates in the same list and suppressed addresses are free too. A trap signal caps the score at 25.
| Status | Meaning | Score | Charged |
|---|---|---|---|
| valid | The mail server accepted the address. | 98 | Yes |
| invalid | Bad format, no domain, no MX, or the mailbox does not exist. | 0 | Yes |
| catch_all | The domain accepts any address — the mailbox cannot be confirmed. | 50 | Yes |
| disposable | Temporary / throwaway email provider. | 5 | Yes |
| role_based | Shared inbox (info@, sales@, support@ …). | 85 | Yes |
| spam_trap_risk | Suspicious patterns — heuristic signal only, not a confirmed trap. | 25 | Yes |
| unknown | Greylisted, blocked, or no clear answer from the server. | 50 | No |
Common sub-statuses: mailbox_exists, mailbox_not_found, invalid_syntax, no_mx, domain_not_found, disposable, role_based, catch_all, possible_trap, greylisted, mailbox_full, smtp_blocked, smtp_timeout, smtp_error, dns_error, typo_suspected, duplicate, suppressed. A greylisted result is marked retryable: true — try it again later, free.
Errors & status codes
Errors are JSON with ok: false and an error message — for example {"ok": false, "error": "Missing API key. Send it as the X-API-Key header."}. The HTTP status tells you what went wrong:
| Code | Meaning | What to do |
|---|---|---|
| 200 | OK — the request worked. | Read the result. |
| 400 | Bad request — missing or invalid email, more than 100 in a bulk call, or a missing job id. | Fix the request and try again. |
| 401 | Missing, invalid or revoked API key, or a disabled account. | Check the key, or create a new one in the app. |
| 402 | Out of credits. | Buy a pack or order a plan, then retry. |
| 404 | Job not found (or it belongs to another account). | Check the job id. |
| 405 | Wrong HTTP method for the endpoint. | Use the method shown above. |
| 429 | Rate limit — more than 60 requests per minute on this key. | Slow down and retry after a minute. |
| 500 | Server error (for example, the database is not installed). | Retry later, or contact support. |
Rate limits
60 requests per minute, per API key. If you exceed it, the API returns 429 with the message “Rate limit: 60 requests per minute per key. Slow down and try again.” For large lists, use the bulk endpoint (up to 100 addresses per call) instead of one request per address.
Webhooks
When a bulk job finishes, OffBounce can POST the job summary to a URL you choose, so your system can pick up clean lists automatically. Set it up in the app under Webhooks.
Event: job.completed · Method: POST with a JSON body · Headers: Content-Type: application/json, X-OffBounce-Event: job.completed, and X-OffBounce-Signature — an HMAC-SHA256 signature of the raw body, made with your webhook secret.
Webhook payload
{
"event": "job.completed",
"site": "OffBounce",
"job_id": 42,
"job_name": "API bulk (100 emails)",
"total": 100,
"count_valid": 85,
"count_invalid": 9,
"count_unknown": 6,
"credits_used": 94
}Always verify the signature before trusting a webhook: compute HMAC-SHA256(raw_body, your_webhook_secret) and compare it with the X-OffBounce-Signature header. Every delivery attempt is logged in the app with its real HTTP status.
Embed widget
Add a small email checker to your own website. The visitor types an address, and the widget calls POST /api/v1/verify from their browser. Paste this where you want the checker to appear:
<form id="ob-verify-form"> <input type="email" id="ob-verify-email" placeholder="Enter your email" required> <button type="submit">Check email</button> <span id="ob-verify-result"></span> </form> <script src="https://my.offbounce.com/assets/js/widget.js" data-api-key="YOUR_API_KEY" data-endpoint="https://my.offbounce.com/api/v1/verify"></script>
Replace YOUR_API_KEY with your real key. Easier still: the app’s own Dashboard → Embed Widget page fills in your real key automatically — copy the snippet from there. If the key is ever abused, regenerate it under API Keys.
How verification works
Every check — in the dashboard and through the API — runs the same steps, in order:
- Syntax — the address format is checked, and a likely typo (for example
gmial.com) returns a suggestion. - DNS & MX — the domain must exist and have a mail server.
- Disposable & role checks — temporary providers and shared inboxes (info@, sales@ …) are flagged.
- Live SMTP handshake — the checker greets the mail server (
EHLO), says who the mail is from (MAIL FROM), and asks if the address exists (RCPT TO), then says goodbye (QUIT). No email is ever sent — the conversation ends beforeDATA.
What it does not do: POP/IMAP is not used for verification. There is no confirmed spam-trap database — the trap flag is a labelled heuristic, not a proven trap. The score is a rule-based heuristic, not AI. And there is no seed-based inbox placement test — the dashboard tool is a labelled self-test checklist, not a measured placement percentage.
Questions about the API? Write to support@offbounce.com with the endpoint you called and the exact reply you received.