API Docs

Verify emails from your own app, form or CRM. 1 credit per definitive result, charged from the same balance as bulk uploads. Unknown results are free. Rate limit: 60 requests per minute per key.

1. Get your API key

Log in, go to Dashboard → API Keys, and copy your key. It looks like ob_live_…. Regenerate it anytime — the old key stops working immediately. Usage per endpoint is shown on the same page.

2. Verify a single email

POST https://my.offbounce.com/api/v1/verify

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":"[email protected]"}'

You can also send the key as a form field (api_key) or a query string (?api_key=…), and the email as a form field.

3. Response

{ "ok": true, "email": "[email protected]", "status": "valid", "sub_status": "mailbox_exists", "reason": "mailbox accepted by gmail-smtp-in.l.google.com", "score": 98, "mx_domain": "gmail-smtp-in.l.google.com", "smtp_code": 250, "is_free": true, "is_role": false, "is_disposable": false, "is_catch_all": false, "suggestion": "", "trap_signal": "", "retryable": false, "charged": true, "credits_left": 99 }

score is a rule-based Quality Score 0–100 (labelled HEURISTIC — a rule score, not AI and not activity data). trap_signal is empty unless a spam-trap risk pattern was found; it is a heuristic signal only, never a confirmed trap. retryable is true for greylisted results — try again later, free.

4. Verify up to 100 emails in one call

POST https://my.offbounce.com/api/v1/verify/bulk

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":["[email protected]","[email protected]"]}'

Returns a job_id plus the finished counts (the call processes the batch synchronously, up to 100 addresses). If you run out of credits mid-batch, the remaining rows stay unprocessed and the job is left paused — resume it from the dashboard after buying credits.

5. Get a job

GET https://my.offbounce.com/api/v1/job/{id}

curl https://my.offbounce.com/api/v1/job/12 \ -H "X-API-Key: ob_live_YOUR_KEY"

Returns the job summary and the first 100 results. For the full list, export the CSV in the dashboard.

6. Check your credit balance

GET https://my.offbounce.com/api/v1/credits

curl https://my.offbounce.com/api/v1/credits \ -H "X-API-Key: ob_live_YOUR_KEY"

Returns trial / PAYG / monthly credits separately, plus your monthly plan and renewal date.

7. Embed widget (JS)

Add a live check to your own signup form — no backend code needed. Get the ready-to-paste snippet in Dashboard → Embed Widget. It calls POST /api/v1/verify from the browser with your key and shows Valid / Invalid / Unknown inline.

8. Webhooks

Set a webhook URL in Dashboard → Webhooks. When a job finishes we POST JSON to it: {"event":"job.completed","job_id":12,"job_name":"...","total":1000,"count_valid":850,"count_invalid":90,"count_unknown":60,"credits_used":940}, signed with HMAC-SHA256 in the X-OffBounce-Signature header. Every delivery attempt is logged with its real HTTP status.

Status values

StatusMeaningCharged?
validMail server confirmed the mailbox exists.Yes — 1 credit
invalidBad syntax, no mail server, or mailbox does not exist.Yes — 1 credit
catch_allDomain accepts mail for any address — cannot confirm this mailbox.Yes — 1 credit
disposableTemporary / throwaway email provider.Yes — 1 credit
role_basedShared inbox (info@, support@) — mailbox exists, but it is not a person.Yes — 1 credit
spam_trap_riskMailbox exists, but the address matches a spam-trap risk pattern. Heuristic signal only — not a confirmed trap.Yes — 1 credit
unknownServer gave no clear answer (greylisted), or port 25 is blocked on this server (smtp_blocked).No — free

Sub-statuses

Every result also carries a sub_status with more detail — for example 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, typo_suspected. The full list (30+) is in lib/verify.php — ob_verify_sub_statuses().

Errors

HTTPMeaning
400Missing or invalid email address, or more than 100 emails in a bulk call.
401Missing, revoked or wrong API key, or account disabled.
402Out of credits — buy a pack or subscribe.
404Job not found (GET /job/{id}).
405Wrong HTTP method for this endpoint.
429Rate limit — 60 requests per minute per key.
500Database not installed (run /install/).

How verification works — and what it does not do

Each check runs syntax + typo suggestion, DNS + MX, disposable and role checks, then a live SMTP handshake (EHLO, MAIL FROM, RCPT TO, QUIT). No email is ever sent — the conversation ends before DATA. POP/IMAP is not used for verification: POP/IMAP reads a mailbox, it cannot tell you whether an address on somebody else's server exists.

We do not claim a confirmed spam-trap database (none exists publicly — our trap flag is a labelled heuristic), not AI scoring or activity data (the 0–100 score is a rule-based heuristic), and not seed-based inbox placement (the dashboard tool is a labelled self-test checklist). We also make no accuracy % or bounce guarantee.

No verifier can guarantee 100% — catch-all domains and firewalls can block the check. Unknown results are not charged.

Get your API key — free →