Real SMTP mailbox checks — Unknown results are never charged.

Home / API Docs — OffBounce REST API v1

OffBounce API — verify email from your own code

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.

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.

Keys look like ob_live_ followed by 32 characters. Create one first in the app: my.offbounce.com → API Keys → Generate new API key.

Endpoint

Your key is sent only to my.offbounce.com for this test and is never saved anywhere.

Each Verify test uses 1 credit for a definitive result — Unknown results are free.

Create your key first in the app: my.offbounce.com → API Keys → Generate new API key.

Getting started

  1. Create a free OffBounce account at my.offbounce.com — you get 100 free trial credits when you sign up.
  2. In the app, open Dashboard → API Keys and click Generate new API key.
  3. 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.
  4. Send your first request to POST /api/v1/verify with the key in the X-API-Key header (examples below).
  5. Read the JSON reply: status tells you the result, score the 0–100 quality score, and credits_left your 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

MethodPathWhat it does
POST/api/v1/verifyVerify one email address. Returns the full result immediately.
POST/api/v1/verify/bulkVerify 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/creditsGet 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"}'

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.

StatusMeaningScoreCharged
validThe mail server accepted the address.98Yes
invalidBad format, no domain, no MX, or the mailbox does not exist.0Yes
catch_allThe domain accepts any address — the mailbox cannot be confirmed.50Yes
disposableTemporary / throwaway email provider.5Yes
role_basedShared inbox (info@, sales@, support@ …).85Yes
spam_trap_riskSuspicious patterns — heuristic signal only, not a confirmed trap.25Yes
unknownGreylisted, blocked, or no clear answer from the server.50No

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:

CodeMeaningWhat to do
200OK — the request worked.Read the result.
400Bad request — missing or invalid email, more than 100 in a bulk call, or a missing job id.Fix the request and try again.
401Missing, invalid or revoked API key, or a disabled account.Check the key, or create a new one in the app.
402Out of credits.Buy a pack or order a plan, then retry.
404Job not found (or it belongs to another account).Check the job id.
405Wrong HTTP method for the endpoint.Use the method shown above.
429Rate limit — more than 60 requests per minute on this key.Slow down and retry after a minute.
500Server 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:

  1. Syntax — the address format is checked, and a likely typo (for example gmial.com) returns a suggestion.
  2. DNS & MX — the domain must exist and have a mail server.
  3. Disposable & role checks — temporary providers and shared inboxes (info@, sales@ …) are flagged.
  4. 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 before DATA.

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.

Ready to Reach the Inbox?

Clean your list, strengthen your sender reputation, and send with confidence.

✉ Create a free account and verify your first addresses today.