Article
Bulk Email Verification API: Webhook vs Polling, and Which to Choose
By Unlimited Verifier Team ·

Summary
Polling means your code repeatedly checks whether a bulk email verification job has finished, while a webhook means the verifier calls your server on completion. Polling is simpler and suits most list cleans, while webhooks fit high-concurrency or real-time pipelines where results must trigger action immediately.Polling means your code repeatedly asks the verifier whether a bulk job is finished, while a webhook means the verifier calls your server when it completes; for most list cleans, polling every 10 to 30 seconds is simpler and fast enough. The choice matters less for a one-off clean than for a pipeline that runs many jobs at once or must act on results immediately.
Quick answer
- Default to polling for one-off cleans, scheduled runs and small teams. It needs no public endpoint, and every request shows up in your own logs.
- Choose webhooks when many jobs run concurrently, several teams or customer accounts share one pipeline, or a finished list must update a CRM or start a send straight away.
- Check the API before you design. Public product information describes a REST API with API keys, single-email checks and bulk batches of up to 10,000 emails per request. It does not mention webhook callbacks.
- Keep your own copy of results. Unlimited Verifier keeps results for 30 days on Pro and 24 hours on Free, so your database should be the system of record.
What is the difference between webhooks and polling for email verification?
Both patterns deliver the same output: a Valid, Risky or Invalid verdict for each address once a bulk job finishes. They differ in who starts the conversation. With polling, your code is the client and asks on a schedule. With a webhook, the verifier is the client and calls a URL you control.
That one difference drives every trade-off. Polling costs extra requests and up to one polling interval of delay. Webhooks cost a publicly reachable endpoint that must be secured, must reply quickly, and must cope with the same event arriving twice.
Timing is also shaped by the work itself. Syntax and domain checks are quick. The SMTP mailbox check has to talk to the recipient's mail server, typically at the RCPT TO step defined in RFC 5321, and some servers reply slowly or throttle repeated probes. A bulk job of thousands of addresses therefore takes minutes rather than milliseconds. Our SMTP mailbox check guide explains that step in more depth.
The more useful question is not which pattern is faster but where a failure gets caught. With polling, a stuck job never reaches "complete", and your deadline catches it. With webhooks, a lost callback produces no signal at all, and it can go unnoticed for weeks. That matters because verification is part of your email verification compliance and hygiene program: a silent gap means addresses you never checked keep getting mailed.
Bottom line: Webhooks and polling deliver the same verdicts. They differ in who initiates contact and where failures surface.
How does polling work for a bulk verification job?
Polling is a loop your worker runs. Submit the job, store its reference, check its status until it completes, then fetch and save the results. Because your code owns the loop, you control timing, retries and logging.
Three details separate a reliable poll loop from a fragile one:
- Backoff. Start at 10 seconds, double the wait each time, and cap it at 30 seconds. No published standard sets this interval, so the 10–30 second range is our recommendation rather than a vendor rule. The cap matters more than the start: a 20-minute job spends most of its life at the cap (see the worked example below).
- A deadline. Set a maximum wait based on list size, and alert when it passes. A loop with no deadline is a common way to get a silently hung pipeline.
- Correct status-code handling. If an API returns 202 Accepted for a submission, RFC 9110 defines it as accepted for processing but not yet complete, which fits a fresh job. If you hit a rate limit, RFC 6585 defines 429 Too Many Requests, and RFC 9110 defines the Retry-After header you should honour.
Polling's strengths are real. It works behind firewalls, needs no inbound traffic, and runs fine as a scheduled job on a single server. Its cost is request volume. A job that takes 20 minutes and is polled every 10 seconds produces 120 status calls. Multiply that across dozens of jobs and the overhead starts to matter for your rate-limit budget.
Bottom line: Polling is the simplest default, provided you set backoff, a deadline and proper handling of 429 responses.
How do webhooks work for a bulk verification job?
A webhook is a URL on your server that the verifier calls when an event occurs, such as a job completing. Because that URL is public, your receiver has three responsibilities.
- Acknowledge fast, then process later. If the handler downloads and parses a 10,000-row result file before replying, the sender may time out and retry. The reliable pattern is to validate the request, write the event to a queue, return a 2xx response, and let a separate worker process the queue.
- Verify the sender. Where a provider signs its payloads, check the signature with a shared secret and compare it in constant time. Reject timestamps that are too old, which blocks replayed requests. Stripe's webhook documentation describes this timestamp-and-signature pattern in detail, and the same approach applies to any signed webhook.
- Make processing idempotent. Retries mean the same completion can arrive more than once. Key processing on job ID plus event type, record which events you have handled, and make sure a duplicate changes nothing.
Add one more safeguard: a nightly reconciliation job. It lists jobs submitted in the last 48 hours, checks which ones lack a stored result, and fetches those results. This turns a missed callback from silent data loss into a logged, fixable event.
Before you write a receiver, confirm the vendor's event names, retry policy and signature method in its documentation. Webhooks are only as reliable as the vendor's delivery guarantees, and those vary.
Bottom line: Webhooks scale well, but only with a fast-acknowledging receiver, signature checks, idempotent processing and reconciliation.
Which should you choose: webhooks or polling?
Neither pattern is universally better. Polling wins on simplicity and on keeping your network closed. Webhooks win on efficiency and latency once job volume grows. This table makes the trade-off explicit.
| Dimension | Polling | Webhooks |
|---|---|---|
| Who initiates contact | Your system | The verifier |
| Inbound endpoint needed | No | Yes, a public HTTPS URL |
| Delay before you learn of completion | Up to one polling interval (30 seconds at the cap) | Depends on the vendor; test it before relying on it |
| Request volume | Grows with job duration ÷ interval | One event per job, plus retries |
| Failure you see first | Job never reaches "complete" (caught by a deadline) | Callback lost or duplicated (caught only by reconciliation) |
| Debugging | Outbound logs show every call | Needs inbound logs and a way to replay events |
| Security surface | Outbound API key | Inbound endpoint, signature checks, replay protection |
| Best fit | Few jobs, scheduled cleans, small teams | Many concurrent jobs, event-driven pipelines, multi-tenant platforms |
Bottom line: Pick polling when simplicity and a closed network matter more than seconds of latency. Pick webhooks when job volume and event-driven workflows dominate.
How do you choose based on list size, concurrency and urgency?
Work through these five steps before writing any integration code. Together they take about ten minutes and prevent most architecture regrets.
- Count addresses per job. Under 10,000, a single batch request is often enough. Above that, you chunk the file.
- Count concurrent jobs. One or two at a time suits polling. Dozens across teams or client accounts suits webhooks, or a shared poller (more on that below).
- Identify what waits on the results. If nothing downstream depends on them, polling is fine. If a send or CRM update must follow within seconds, use webhooks or a tight poll cap.
- Decide where each check happens. Single addresses at signup are a direct request and response, not a job. That is the territory of real-time email validation, and the browser-side checks are covered in our JavaScript validation guide. Our client-side vs server-side validation comparison explains which checks belong where.
- Plan reconciliation from day one. Whichever pattern you pick, add the nightly check described above.
| Your situation | Recommended pattern | Why |
|---|---|---|
| One-off clean, by hand | Web upload of CSV or Excel up to 10MB | No endpoint to build |
| Monthly or quarterly cleans, one job at a time | Polling, capped at 30 seconds | Overhead is negligible |
| Single-address checks at signup | Synchronous single-address call | Result is returned immediately |
| Platform running many client jobs | Webhooks if offered, otherwise one shared poller | One service tracks all jobs, not one loop per job |
| Results must trigger a send or CRM update within seconds | Webhooks, or a 10-second poll | Lowest delay |
Platforms that verify on behalf of many customers are the clearest case for webhooks, and the same logic applies to the email verification for ecommerce and SaaS workloads that look like it. If you clean prospecting lists, our sales prospecting verification guide covers how fast-changing B2B data affects how often you need to re-run jobs.
Bottom line: Count addresses, concurrency and downstream urgency first. The right pattern follows from those three numbers.
Does Unlimited Verifier's API use webhooks or polling?
Public product information describes a REST API authenticated with API keys, covering single-email checks and bulk batches of up to 10,000 emails per request. It does not mention webhook callbacks, so design around request and response. Confirm in the current API documentation whether a bulk call returns results directly or requires a follow-up status call.
That single check decides whether you need a polling loop at all. If results come back in the response, store them and move on. If the response returns a reference instead, use the polling pattern from this guide with the status call your documentation names.
Plan access is the other constraint. The Free plan has no API access. Pro includes API access for 100,000 emails a month. Once you are on Pro, you can create an API key and start submitting batches. Check the plan details before you mix web uploads and API calls in the same month, so you know how your allowances apply.
Bottom line: Treat the API as request and response until the documentation proves otherwise, and store everything you receive.
Worked example: moving 180,000 contacts through the API
Scenario: A SaaS company must clean 180,000 contacts and wants the process to be repeatable, so it chooses the API. Each batch is capped at 10,000 emails per request.
Request count: 180,000 ÷ 10,000 = 18 requests.
Monthly allowance: Pro includes 100,000 API emails a month, so the job spans two months:
- Month 1: 100,000 ÷ 10,000 = 10 requests
- Month 2: the remaining 80,000 ÷ 10,000 = 8 requests
Plan the split at the start. Otherwise the list stops mid-way through a month, and you have partially verified data to reconcile.
Web route for comparison: Each Pro list holds up to 25,000 emails, so 180,000 ÷ 25,000 = 7.2, which means 8 lists: seven of 25,000 (175,000 addresses) and one of 5,000. Standard verification is unlimited on every plan with no per-email fees, so the web route has no per-email cost to weigh against the API. It suits a one-off clean. The API suits a process you run repeatedly. Deep verifications are capped at 25,000 a month on Pro, so budget those for your riskiest segment.
Polling cost: Assume each 10,000-address batch takes 20 minutes. That figure is illustrative, not measured.
| Approach | Status calls per batch (1,200 seconds) | Status calls for 18 batches |
|---|---|---|
| Fixed 10-second poll | 120 | 2,160 |
| Fixed 30-second poll | 40 | 720 |
| Backoff (10-second start, 30-second cap) | about 41 | about 740 |
| Webhook (if the vendor offers it) | 1 completion event, plus retries | 18, plus retries |
Two lessons come out of this. First, backoff with a 30-second cap behaves almost identically to a fixed 30-second poll on a 20-minute job, because most checks happen after the cap is reached. The 10-second start only saves calls on short jobs, so tune the cap for large batches. Second, moving from a 10-second poll to a 30-second poll cuts status calls by two-thirds, which is usually enough to stay well inside your rate-limit budget.
Cost: Pro is $29 a month, or $25 a month billed annually. Two months billed monthly costs $58. Annual billing costs $300 up front, against $348 for twelve monthly payments. Annual billing is the cheaper option only if you would otherwise pay for 11 or more months: 10 monthly payments ($290) come in under $300, while 11 ($319) come in over. Compare email verification pricing against your real cleaning calendar before committing.
Bottom line: At this scale, respect the 100,000-a-month API allowance and the 10,000-per-request cap, and polling overhead is small enough to ignore.
How do you run a bulk verification batch step by step?
For a one-off clean, use the web app. These steps cover a repeatable API run on Pro. The code uses placeholder names, so replace them with the calls in the current API documentation.
- Test with a small sample first. Sign up for a free account and upload 150 rows. The Free plan allows lists of up to 150 emails, so this is a safe test. Check that the Valid, Risky and Invalid buckets match what you expect.
- Export the full list as CSV. Include the email column and any engagement fields. Trim whitespace, lowercase addresses, and remove exact duplicates. Record the row count before and after.
- Chunk the file to 10,000 or fewer rows. Each API request accepts up to 10,000 emails. For example, 52,000 rows become five chunks of 10,000 plus one of 2,000, which is six requests.
- Create a Pro API key. Create an API key on Pro, since the Free plan has no API access. Store it in an environment variable or secrets manager. Never put it in front-end code.
- Submit one chunk and log the full response. Note whether verdicts come back directly or as a reference. That answer decides steps 6 and 7.
- If results come back directly, save them. If the response returns only a reference, poll with backoff and a deadline using the status call named in the docs (see the pseudocode below).
- Save each result with metadata. Store the request or job ID, the chunk number, a timestamp, and each address's verdict.
- Act on the three buckets. Send only to Valid addresses. Suppress Invalid addresses permanently. Hold Risky addresses back. Catch-all domains accept every address, so their mailboxes cannot be confirmed; the catch-all email verification page explains how to handle them. You can spot-check single addresses with the free email checker.
- Reconcile the totals. Rows submitted must equal Valid plus Risky plus Invalid. If they don't, investigate before sending anything.
Pseudocode for steps 4 to 7:
chunks = split(rows, size=10000) # API maximum per request
for i, chunk in enumerate(chunks):
response = submit_batch(chunk) # placeholder for your API call
# Don't blindly retry this POST: RFC 9110 treats POST as non-idempotent,
# so a retry could create a duplicate job.
if response.has_results:
save_results(i, response.results)
continue
delay, deadline = 10, now() + MAX_WAIT
while now() < deadline:
status = get_status(response.reference) # placeholder; GET is safe to repeat
if status.done:
save_results(i, status.results)
break
sleep(delay)
delay = min(delay * 2, 30)
else:
alert(f"chunk {i} timed out")
Bottom line: Chunk to 10,000, poll with backoff and a deadline, store everything, and reconcile the counts before sending.
What mistakes break webhook and polling pipelines?
- Polling with no deadline. One failed job can hang the pipeline indefinitely. Set a maximum wait and alert when it passes.
- Polling too aggressively. Polling every second adds load and makes rate limits more likely. Back off, and honour 429 responses and Retry-After headers.
- Retrying a submission blindly. A POST that times out may or may not have created a job. Retry the status GET, and reconcile before resubmitting.
- Heavy work inside the webhook handler. Slow handlers cause timeouts, retries and duplicates. Acknowledge first, then process from a queue.
- Skipping signature checks. Without them, anyone who finds your endpoint can post fake "all Valid" results, and you could mail addresses that are actually Invalid.
- Counting duplicate events as new data. Retries double-count suppressions and inflate reports. Make processing idempotent.
- Sending before a job is complete. A half-finished job gives you a partial list. Gate downstream steps on a completed status and reconciled counts.
- Forgetting the monthly API allowance. Pro includes 100,000 API emails a month. A 180,000-address job in one month exceeds that, so split it across two.
- Relying on the vendor as your archive. Results are kept 30 days on Pro and 24 hours on Free. Store your own copy.
- Blending Risky addresses into sends. Hold them back until you have checked them.
- Assuming verification proves consent. A deliverable mailbox is not an opted-in one. Verification and consent records answer different compliance questions.
Bottom line: Most broken pipelines fail on missing deadlines, unverified callbacks and unreconciled counts, not on the choice of pattern.
How we compared (and limitations)
This guide is based on public documentation and widely used standards: RFC 5321, RFC 6585, RFC 9110, Stripe's webhook documentation, and Unlimited Verifier's published plan information. We have not tested any vendor's endpoints or benchmarked latency or reliability across verification providers. The timings and call counts in the worked example are illustrative.
Sources differ on what they specify. No published standard sets a polling interval, so the 10-to-30-second range and backoff cap here are recommendations, not requirements. Unlimited Verifier's 99.5% accuracy figure for deep verification is the company's own stated number, not an independent benchmark. Plan limits described here, including the 10,000-per-request batch cap, 100,000 API emails a month on Pro, 25,000 emails per list and 25,000 deep verifications a month, may change, so check the current documentation before you build.
Verification vendors differ in whether they offer webhooks, polling, synchronous batches, or some combination. If you are weighing options, compare the best email verification tools on their documented delivery patterns rather than assuming one. For a broader look at response times, see our API speed comparison.
Bottom line: Use this framework to pick a pattern, then verify the specifics against current documentation before you commit.
Poll loop with backoff and deadline
- Submit the bulk job and store the job ID in your database.
- Wait 10 seconds, then request status.
- If still running, double the wait, capping at 30 seconds.
- If status is complete, fetch results and save them.
- If the job passes your deadline (for example 60 minutes), mark it failed and alert someone.
- Log every request for audit.
Frequently asked questions
What is the difference between webhooks and polling?
Polling means your code asks the API on a schedule whether a job is done. A webhook means the API sends a request to your URL when the job completes. Both deliver the same verdicts; they differ in who starts the contact and where failures surface.
Is polling or webhook better for email verification?
Polling is better for one-off cleans, scheduled runs and small teams because it needs no public endpoint and every request appears in your logs. Webhooks are better when many jobs run concurrently or results must trigger a CRM update or send right away.
How often should I poll a bulk verification job?
A common approach is to start around 10 seconds, double the wait after each check, and cap it at about 30 seconds. This range is a practical recommendation, not a vendor-published rule, so confirm any rate limits in your provider's documentation.
What happens if a webhook is lost?
A lost webhook produces no error by default, so the job can appear to never finish. To guard against this, pair webhooks with a fallback poll or a reconciliation job that checks for jobs stuck past a deadline.
Do webhooks need to be idempotent?
Yes. Networks retry and senders may deliver the same event more than once, so your handler should use the job ID to detect duplicates and ignore repeats without re-processing results.
Why does SMTP verification take minutes for bulk jobs?
The mailbox check requires a conversation with each recipient's mail server, including the RCPT TO step described in RFC 5321. Slow or throttling servers lengthen the run, so a job of thousands of addresses commonly takes minutes.
Should I store verification results myself?
Yes. Many providers retain results only for a limited period, so your own database should be the system of record. Check your provider's current retention policy in its documentation.
Can I use both polling and webhooks together?
Yes. Many teams use a webhook for fast notification and a slower poll as a safety net, which catches lost callbacks and stuck jobs without much extra cost.
Does a bulk verification API need a public endpoint?
Polling does not, because your code initiates every request. Webhooks do, since the verifier must reach a URL you control, which must be secured and respond quickly.
Cut Bounces and Protect Your Sender Reputation With Unlimited Email Verification
Every invalid address you send to hurts your sender reputation and your inbox placement. Verifying your list before each send means fewer bounces, healthier deliverability, and a predictable cost. With Unlimited Verifier, standard verification is unlimited on every plan, with no per-email fees.
Unlimited Verifier checks syntax, domain, MX records and the SMTP mailbox. It also detects catch-all domains and flags disposable and role-based addresses. Export a CSV from your email platform or CRM, upload and verify the list, then re-import the clean results. You can also automate checks with the email verification API.
| Free | Pro | |
|---|---|---|
| Price | $0 | $29/month ($25/month billed annually) |
| Lists | 25 a month, up to 150 emails each | Unlimited, up to 25,000 emails each |
| Deep verifications | 750 a month | 25,000 a month |
| API access | No | Yes (100,000 emails a month) |
| Result retention | 24 hours | 30 days |
Why teams choose Unlimited Verifier
- Unlimited standard verification on all plans, including Free, with no per-email fees.
- Catch-all detection so you know which domains accept every address.
- Clear Valid / Risky / Invalid results, exportable as CSV, Excel or JSON.
- An open-source verification engine you can inspect on GitHub.
Unlimited Verifier states 99.5% accuracy for deep verification.
Create a free account and verify your next list before you hit send.
Want to test a single address first? Try the free email checker.