Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- The Authorization header carries the bare key, with no ‘Bearer’ prefix.
- Each single or bulk verification costs 1 credit; credits for unknown results are refunded (bulk, at task end). /v1/check bills a separate Check Plan balance.
- A key can have daily and monthly quotas; going over one answers 403 with error api_key_quota_exceeded and quota_resets_at.
- Single verification waits up to 15 seconds, then answers status ‘verifying’ with an id; poll bounceban.single.status for it. Never resubmit while verifying, every request is billed.
- Bulk flow: create a task from a JSON list (bounceban.bulk.create, up to about 500,000 emails), poll bounceban.bulk.status until status is finished, then read results with bounceban.bulk.dump (JSON, cursor-paged) or bounceban.bulk.export (a CSV download link valid 4 hours). CSV file upload (multipart) and the waterfall host api-waterfall.bounceban.com are not in this entry.
- Results are kept for 90 days. Rate limits are per account, e.g. 25 per second for single verify, 3 per second for bulk create, 5 per second for account.
Endpoints
Verify one email
- A read: costs 1 credit per request, even for the same email. If status is ‘verifying’, poll bounceban.single.status with the returned id.
Get a single verification’s result
- Free. Keep to 10 polls per id per 5 minutes; after 5 minutes without a result, start a new verification.
Check an email or domain without SMTP
- Send at least one of email or domain. Costs 1 Check Plan credit, not a verification credit.
Get credits and rate limits
Start a bulk verification from a list
- Starts a billed job: it only produces data and changes nothing else in your account.
- Bills 1 credit per email. Returns {id, credits_remaining}; poll bounceban.bulk.status with the id.
- The whole task is rejected with 403 if credits or the key’s quota cannot cover it.
Get a bulk task’s status
Page through a bulk task’s results
Get bulk results for specific emails
- A read over POST: it only looks results up. The answer has result ‘err’ if the task has not finished.
Get a CSV download link for a finished task
- A read over POST: it only builds a download link. Generation takes about 30 seconds per 100k emails; if download_url is not ready, retry after a few seconds (at most 15 requests per export per 15 minutes).