Email Verification Strategies to Combat Bot Traffic and Spam
Run a 6-digit OTP email check, read the breach, disposable and deliverability flags in the response, and block high-risk sign-ups before an account exists. Didit charges $0.02 per email verification check.

Contents
In this guide
Jump to the part you need.
Email verification stops bot sign-ups by proving someone can read the inbox, then scoring the address before you create an account. This page is for product and fraud teams running self-serve sign-up. Didit charges $0.02 per email verification check at list price. The caveat: a one-time code proves control of an inbox, not who the person is or what they intend. Pair it with breach and disposable signals, and with protection at sign-in.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Layer | What runs | Price | What it stops |
|---|---|---|---|
| OTP email check | POST /v3/email/send/ then POST /v3/email/check/ | $0.02 per verification | Helps filter unreachable, mistyped and disposable addresses and adds mailbox-control evidence |
| Risk-only screen | POST /v3/email/risk/ | $0.04 per check on the separate Email risk API line | Breached and disposable addresses before you send anything |
| Disposable policy | Sign-in policy disposable | Authentication: first 50,000 active users a month free, then $0.02 per active user a month | Throwaway domains at sign-up and email code sign-in |
| Bot score | Sign-in policy bots, matches at 0.8 or more | Same Authentication pricing | Headless browsers, HTTP libraries, missing browser headers |
| Device and IP | Runs inside a verification session | $0.03 per check | Duplicate devices, VPN, Tor, data-center IPs |
| Escalated ID check | Full ID check via POST /v3/session/ | $0.33 per check | Accounts the email step flags as high risk |
Start free in the sandbox at https://business.didit.me/, no sales call, and sandbox testing is free and unlimited. Developers connecting Didit to an AI assistant can use the Didit MCP server. The product detail is in the email verification docs, and every number is on https://didit.me/pricing/.
What the strategy delivers
A sign-up funnel that survives bot traffic has four properties. Each account has a proven inbox. Disposable and breached addresses are labelled before account creation, not after a spam wave. Code attempts are bounded, so nobody can guess codes or drain your sending reputation. And the decision is recorded with the warnings that produced it, so support and compliance can read the same evidence you did.
- Every account is bound to an inbox whose code was entered within five minutes.
- Breach exposure, disposable provider and deliverability come back in the same response as the code result.
- Three code-entry attempts per session, one free retry per email inside the window. Restart with
POST /v3/email/send/. - Sign-in is protected separately against stuffing, brute force and automation, so a verified account cannot be taken over.
- The result is available three ways: the API response, the Business Console and the
status.updatedwebhook.
The recommended method
Use two layers, not one. Layer one is the OTP pair from the Email Verification API: send a code, then check the code, and read the risk metadata that comes back with it. Layer two is sign-in protection from Authentication, which scores the attempt itself against six policies: bots, stuffing, brute, disposable, vpn and travel.
The reason for two layers is that an OTP alone is a weak human test. Automated services may still complete an OTP flow, so pair the OTP with disposable, breach and bot-risk signals. What an OTP does well is prove the mailbox is real and reachable. Combine it with disposable-domain and breach signals to make a risk decision before account creation.
If the same session also runs identity verification, use the session route instead of the standalone pair. Add the EMAIL feature to the workflow, create the session with POST /v3/session/, and read email_verifications[] from the decision. That keeps one decision object for the whole user, with device and IP signals alongside the email result.
Prerequisites
- A Didit API key, sent as the
x-api-keyheader. - A sandbox application for testing. Sandbox testing is free and unlimited on every plan, so you can run the whole flow before you spend any credit.
- For the session route: a workflow with the EMAIL feature added, and three risk actions set,
duplicated_email_action,breached_email_actionanddisposable_email_action. - For the standalone route: nothing beyond the API key. The two endpoints are paired by email address.
- A written policy per warning code. Decide now which codes decline, which go to review and which pass, so the build does not become the argument.
- A place to read results: the console, your API response handler, or a webhook endpoint that verifies the HMAC signature.
Step by step: email verification with Didit
- Pick the route. Standalone OTP pair for a sign-up form with no other checks. Session route when the same user also runs ID verification, phone verification or device and IP analysis.
- Session route only: add the EMAIL feature to the workflow in the Business Console or with
POST /v3/workflows/. Setduplicated_email_action,breached_email_actionanddisposable_email_action. Then create the session withPOST /v3/session/and opensession.urlfor the user. - Send the code. Call
POST /v3/email/send/with the address and, optionally, the code size, locale and white-label flag. The default is 6 numeric digits with Didit-branded delivery. - The user receives the code. It is valid for 5 minutes. Codes sent by Didit during a verification are not billed as messages.
- Check the code. Call
POST /v3/email/check/with the address, the code the user typed, and the action you want on a disposable address. - Read the verdict. Take the
statusplus the full email metadata: the breach list, the disposable flag, the deliverable flag and thewarnings[]array. - Route on the warning codes. Decline disposable and undeliverable, review breached and duplicated, approve the clean remainder. Write the outcome to the user record before you create the account.
- Turn on sign-in protection. Set each of the six policies to Off, Log, Challenge or Block with
PATCHonprotection/in the Authentication management API, or from the console. Then subscribe tostatus.updatedwebhooks if you want results pushed rather than polled.
The runnable send call, exactly as documented:
curl -X POST 'https://verification.didit.me/v3/email/send/' \
-H "x-api-key: $DIDIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "alice@example.com",
"options": { "code_size": 6, "locale": "en", "use_white_label_customization": false },
"vendor_data": "user-1234"
}'

Then the check call, with the disposable action applied at check time:
curl -X POST 'https://verification.didit.me/v3/email/check/' \
-H "x-api-key: $DIDIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "alice@example.com",
"code": "123456",
"disposable_email_action": "DECLINE"
}'

Expected output
A matched code returns status Approved, plus the full email metadata whether or not the code matched: the breach list, the disposable flag and the deliverable flag. The same response carries warnings[] with the risk codes that fired.
The status values you will handle, exactly as documented:
Not StartedandIn Progress: normal flow, keep the user on the screen.Approved: code matched, proceed with account creation.Failed: wrong code, attempts remain.Declined: the attempt budget is spent, or a risk action declined the address.Undeliverable: the domain bounced or is invalid.Expired or Not Found: the code is outside the 5-minute window.AbandonedandKyc Expired: the user walked away, or a linked session aged out.
The warning codes you will route on: DUPLICATED_EMAIL, BREACHED_EMAIL, DISPOSABLE_EMAIL, UNDELIVERABLE_EMAIL, INVALID_EMAIL, OTP_MAX_ATTEMPTS_REACHED and OTP_EXPIRED. The full catalogue is in the warnings reference.

Failure cases and recovery
| Situation | What you see | Recovery |
|---|---|---|
| Address bounces or the domain is invalid | Send response with status Undeliverable. The docs state no charge for this case | Show the error to the user and ask for another address. Do not silently retry the same one |
| User mistypes the code | Check response Failed with attempts remaining | Re-prompt on the same screen. Say how many attempts are left |
| Third wrong attempt | Check response Declined | Restart the flow with POST /v3/email/send/ |
| User waits too long | Expired or Not Found and the OTP_EXPIRED warning | Restart. One retry per email inside the window is free |
| Throwaway domain | DISPOSABLE_EMAIL warning and the disposable flag set | Apply the action you configured, decline or review, and log it |
| Address appears in a breach | BREACHED_EMAIL warning with the breach details | Route to review or force a password reset. Do not treat it as proof of fraud |
| Same address seen before | DUPLICATED_EMAIL warning | Match to the existing account instead of creating a second one |
| Attempt cap hit | OTP_MAX_ATTEMPTS_REACHED | Close the session and rate-limit the address |
| Automation at sign-in | 403 with error attempt_blocked | Switch that policy from Block to Challenge if real users are caught |
| Brute-force block | Password attempts answer like a wrong password | The user resets the password, which clears the lock. Your team can also clear the lock from the console |
Inputs and outputs
| Field | Direction | What it does |
|---|---|---|
email | Send and check | The address being verified. It pairs the two calls |
options.code_size | Send | Code length from 4 to 8 characters. The default is 6 numeric digits; alphanumeric codes are optional |
options.locale | Send | Language of the email |
options.alphanumeric_code | Send | Letters and digits instead of digits only. The check is case-insensitive |
options.use_white_label_customization | Send | Default false. True sends this OTP with your application's white-label sender and branding |
vendor_data | Send | Your stable user identifier, echoed back on the record |
code | Check | The code the user typed |
disposable_email_action, breached_email_action, duplicated_email_action | Check or workflow | The action applied when that risk is detected |
status | Output | The verification state, one of the values listed above |
breach list, disposable flag, deliverable flag, warnings[] | Output | The risk metadata returned with every check |
Anti-spam verification at sign-in, not only at sign-up
Anti-spam verification is the check you run on the attempt itself, not just on the address. Didit Authentication runs bot protection on every sign-up, sign-in and password reset, and checks the attempt against six policies with four modes each: Off, Log, Challenge and Block.
botsmatches when Didit's server scores the request 0.8 or more. Signals includeautomation-ua,script-ua,browser-headers,webdriver,automation-artifact,headless,no-signalsandclient-score.stuffingmatches when one device or IP tries 10 or more different accounts within 15 minutes, or the password is a known breached password.brutematches after 5 or more failed attempts on an account. Wrong passwords and wrong email, phone and authenticator codes all count.disposablematches when a sign-up, or an email code or magic link sign-in, uses a disposable domain.vpnmatches when the IP is a VPN, Tor or data-center network.travelmatches when a sign-in is more than 500 km from the previous one at more than 1,000 km/h within 24 hours.
Stuffing defaults to Challenge, because offices, campuses and mobile carriers put many real people behind one address. A blocked attempt never reveals whether the account exists: the bots, stuffing, disposable and vpn policies answer 403 with error attempt_blocked for an existing account, an unknown one, a right secret and a wrong one alike. Protection is off until you switch it on, so plan a week in Log mode and read the events before you move anything to Block.
Paid steps and review boundaries
Email verification is $0.02 per verification at list price, $0.0192 on Growth and $0.018 on Scale. That $0.02 standalone price buys the send-and-check email verification, not a risk lookup on its own. Billing is per completed check from prepaid credit, and the docs list a send that comes back Undeliverable as not charged. The separate Email risk API, which returns breach, disposable and deliverability signals without sending a code, is its own line at $0.04 per check, and email intelligence is $0.05.
Costs that sit around the email step: device and IP analysis at $0.03 per check when it runs inside the session, and phone verification at the carrier price for the country and channel plus a $0.02 Didit fee. Read the current list on the pricing page before you commit a budget line.
Where the human boundary sits is your call, not ours. The three risk actions exist so your policy decides, and the split below is one implementation choice, not a Didit default. Auto-decline undeliverable addresses and disposable domains. Auto-decline a bot score of 0.8 or more once the policy has run in Log mode. Send breached and duplicated addresses to review, because a breached inbox is a risk signal rather than proof of fraud. Keep the review queue small and the auto-decline list narrow for the first month, then widen it with evidence from your own events.
Worked cost example
Take 50,000 sign-ups a month with email verification on every one, an email risk pre-screen on 10,000 addresses imported from a waitlist, and a full ID check for the 3,000 sign-ups the email step flags as high risk.
- Email verification: 50,000 at $0.02 = $1,000.00
- Email risk API pre-screen: 10,000 at $0.04 = $400.00
- Full ID check for escalated accounts: 3,000 at $0.33 = $990.00
- Total: $1,000.00 + $400.00 + $990.00 = $2,390.00 a month
- Per sign-up: $2,390.00 divided by 50,000 = $0.0478
The same volume on Scale, where every Didit price is 10% lower: 50,000 at $0.018 = $900.00, 10,000 at $0.036 = $360.00, and 3,000 at $0.297 = $891.00. Total $2,151.00, or $0.04302 per sign-up. On Growth, 4% off: 50,000 at $0.0192 = $960.00, 10,000 at $0.0384 = $384.00, and 3,000 at $0.3168 = $950.40, for $2,294.40, or $0.045888 per sign-up. On the Free plan, the $10.00 of monthly credit for eligible organizations buys 500 email verifications at list price ($10.00 divided by $0.02 = 500), and sandbox testing is free and unlimited while you build the flow.
Sources
- Didit docs: Email Verification API, OTP and risk scoring
- Didit docs: Send Email Code
- Didit docs: Check Email Code
- Didit docs: Score Email Risk
- Didit docs: Email Verification overview
- Didit docs: Email verification warnings
- Didit docs: Bot protection at sign-in
- Didit docs: Webhooks and signature verification
- Didit docs: Create Session API
- Didit docs: Device and IP analysis
- Didit docs: Pricing and billing
- Didit pricing page and live price feed, read November 26, 2026
Next step: open the sandbox at https://business.didit.me/, create an application, and run the send and check pair against a test address. No sales call, and sandbox testing is free and unlimited.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
How much does email verification cost with Didit?
Email verification is $0.02 per verification at list price, $0.0192 on the Growth plan and $0.018 on the Scale plan. Billing is per completed check from prepaid credit, and sandbox testing is free and unlimited on every plan.
Does an OTP prove a sign-up is human?
No. An OTP proves the person can read that inbox within five minutes. Automated services can complete codes, so pair the OTP with a disposable-domain verdict, a breach lookup and a bot score on the attempt itself.
What is anti-spam verification?
Anti-spam verification means checking both the address and the attempt at sign-up or sign-in. Didit runs six sign-in policies (bots, stuffing, brute, disposable, vpn, travel) on every sign-up, sign-in and password reset, alongside the OTP email check and its risk flags.
How long is the Didit email code valid, and how many attempts do I get?
The code is valid for 5 minutes, and each session accepts up to 3 code-entry attempts. One retry per email inside the window is free.
What happens when someone signs up with a disposable address?
The check returns the disposable flag set and a DISPOSABLE_EMAIL warning. What happens next depends on the action you configured in disposable_email_action: decline, review or approve.
Can I score an email without sending a code?
Yes. POST /v3/email/risk/ scores deliverability, breach exposure and disposable-provider risk without sending anything, and it is priced as its own line at $0.04 per check. It is the right call for a pre-check on a bulk import or a form field blur.
What does the API return when the user types the wrong code?
Status Failed with the attempts remaining, so you can re-prompt. The third failed attempt returns Declined, and you restart with POST /v3/email/send/.
Am I charged when the email bounces?
The docs state that a send returning status Undeliverable for a bounce or invalid domain is not charged. Billing is per completed check from prepaid credit, and the check that returns a result is the one that bills.
Is Didit bot protection on by default?
No. Protection is off until you turn it on, and the modes you save are kept. Rate limits and bounded code attempts always apply, and your allowlist and blocklist apply on Growth and above.
What does a blocked sign-in attempt return?
A blocked attempt never reveals whether the account exists. The bots, stuffing, disposable and vpn policies answer 403 with error attempt_blocked; brute and travel are enforced but answer like a wrong secret, invalid_credentials for a password and invalid_grant for a code.
How many failed attempts trigger brute-force protection?
Five. Wrong passwords and wrong email, phone and authenticator codes all count. After that the block mode requires a password reset, which also clears the lock.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


