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
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
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
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}
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
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
| Status | Meaning | Charged? |
|---|---|---|
| valid | Mail server confirmed the mailbox exists. | Yes — 1 credit |
| invalid | Bad syntax, no mail server, or mailbox does not exist. | Yes — 1 credit |
| catch_all | Domain accepts mail for any address — cannot confirm this mailbox. | Yes — 1 credit |
| disposable | Temporary / throwaway email provider. | Yes — 1 credit |
| role_based | Shared inbox (info@, support@) — mailbox exists, but it is not a person. | Yes — 1 credit |
| spam_trap_risk | Mailbox exists, but the address matches a spam-trap risk pattern. Heuristic signal only — not a confirmed trap. | Yes — 1 credit |
| unknown | Server 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
| HTTP | Meaning |
|---|---|
| 400 | Missing or invalid email address, or more than 100 emails in a bulk call. |
| 401 | Missing, revoked or wrong API key, or account disabled. |
| 402 | Out of credits — buy a pack or subscribe. |
| 404 | Job not found (GET /job/{id}). |
| 405 | Wrong HTTP method for this endpoint. |
| 429 | Rate limit — 60 requests per minute per key. |
| 500 | Database 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.
