Frequently Asked Questions

Everything you need to know about CleanMail email verification API.

Getting Started
How do I get an API key?
Sign up for a free account at cleanmail.dev. Your API key will be displayed on your dashboard immediately after registration.
How do I use the API?
Include your API key in the X-API-Key header when making requests:
curl -X POST https://cleanmail.dev/api/verify \
  -H "X-API-Key: your_api_key" \
  -d '{"email": "user@example.com"}'
Is there a free trial?
Yes! New accounts are created on the Starter plan, which is free until further notice: 300 verifications per day, no credit card. The Free plan stays at $0 with 50 verifications per day.
Features
What does the verification check?
Our API checks:
  • Syntax validation
  • MX record existence
  • SMTP connection and mailbox existence
  • Disposable email detection
  • Role account detection (info@, support@, etc.)
  • Spam trap detection
  • Greylist detection
  • Free provider detection (Gmail, Yahoo, etc.)
What are webhooks?
Webhooks let you receive batch results asynchronously. Register your callback URL with POST /api/webhooks/register, keep the webhookId it returns, and pass it as options.webhookId when you submit a batch with POST /api/verify/batch. When the batch finishes we POST the results to your URL. This is perfect for high-volume applications.
What is greylist detection?
Greylisting is a temporary rejection technique where mail servers temporarily refuse emails from unknown senders. When CleanMail encounters a greylisted server, the email may time out during verification. The isGreylisted field in our API response indicates if this occurred — the email address itself may be valid, but verification couldn't complete due to server behavior.
Should I block greylisted emails?
Not necessarily. Greylisting is a normal server behavior used to combat spam — many legitimate mail servers use it. We recommend treating greylisted emails as risky rather than invalid. The recipient's email address is likely valid, but the temporary rejection means you may want to retry verification later or proceed with caution in your email campaigns.
What's the difference between sync and async verification?
Sync: You wait for the result (typically 2-5 seconds). Best for low-volume use.
Async (Batch + Webhooks): You submit a batch and get a batchId back immediately, then receive the results at your webhook URL when processing completes. Best for high-volume or real-time applications.
What risk levels mean
  • Low: Safe to email, deliverable mailbox
  • Medium: Some risk signals detected
  • High: Spam trap, known bounces, or suspicious patterns
What is batch verification?
Batch verification lets you upload a CSV file with up to 5,000 email addresses and process them all at once. Results include deliverability status, risk level, spam trap detection, disposable detection, role account detection, DMARC/SPF records, and more. Results are sent to your email and available for download.
How do I use batch verification?
Go to the Batch page, upload a CSV file with one email per line, and click Start Processing. You can monitor progress in real-time and cancel the job at any time. When complete, you'll receive an email with results and can download the CSV.
What CSV format is required for batch upload?
Create a CSV file with a single column containing email addresses, one per line. No headers needed. Example:
user@example.com
john.doe@company.com
sales@business.org
Maximum 5,000 emails per upload. Supports .csv files only.
What does the batch results CSV contain?
The batch results include 16 columns:
  • email - The email address
  • deliverable - true/false
  • reason - Why it failed or succeeded
  • risk_level - low/medium/high
  • is_spamtrap - Spam trap detected
  • is_disposable - Disposable email detected
  • is_role_account - Role account (info@, support@, etc.)
  • is_free_provider - Gmail, Yahoo, etc.
  • is_catchall - Catch-all domain
  • has_dmarc - DMARC policy present
  • dmarc_policy - none/quarantine/reject
  • has_spf - SPF record present
  • spf_strict - Strict SPF enforcement
  • domain_age_days - Age of domain in days
  • mx_record - MX server found
  • risk_score - 0-100 risk score
Can I cancel a batch job?
Yes! While a batch job is processing, you can click the "Cancel" button to stop it. Cancelling stops the remaining work, but the results file is only offered for jobs that finish, so a cancelled job cannot be downloaded.
Pricing & Plans
How much does it cost?
PlanPriceDaily Limit
Free$050
Starter$9/mo300
Pro$39/mo1,500
Business$99/mo5,000
Enterprise$199/mo20,000
View full pricing details →
Do you offer annual discounts?
No. Every CleanMail plan is billed monthly, and we do not offer a yearly discount.
What happens if I exceed my daily limit?
You'll receive a 429 error with the code DAILY_LIMIT_EXCEEDED. Upgrade your plan, or wait for the allowance to reset at the start of the next server day (Europe/Berlin time).
How many different email domains can I verify in a day?
As many as your plan has verifications. There is no separate cap on destinations, so a list spread over thousands of domains is verified exactly like a list concentrated on one. The free validator is the exception, because anyone can use it: 15 different email domains a day per IP address, and over that the answer is a 429 with the code RATE_LIMIT_DOMAINS, refused before any mail server is contacted.
Technical
What's the API response time?
Most verifications complete in 1-3 seconds. A mail server that does not answer within 5 seconds is reported as unknown rather than as a failure, and it is not counted against your allowance. Use batch verification with a webhook for better UX in high-volume scenarios.
Is the API HTTPS only?
Yes, all API requests must use HTTPS. HTTP requests will be rejected.
What response format does the API return?
JSON responses with camelCase fields:
{
  "success": true,
  "email": "user@example.com",
  "deliverable": true,
  "reason": "valid",
  "riskLevel": "low",
  "riskScore": 5,
  "isDisposable": false,
  "isRoleAccount": false,
  "isFreeProvider": true,
  "mxRecord": "gmail-smtp-in.l.google.com"
}
Why does CleanMail not offer breach detection?
Breach detection services like HaveIBeenPwned charge per query, which adds significant cost per verification. To keep our pricing competitive and offer higher verification limits at lower prices, we focus on delivering more email verifications for your dollar rather than adding premium features that increase costs for all users.
Can I test without an API key?
Yes! Use the demo endpoint: POST /api/demo/verify (no auth required). Limited to 10 requests per minute per IP, 100 requests per day per IP, and 15 different email domains per day per IP.

Starter is free until further notice — new accounts get 300 verifications/day, no credit card. Need Pro? See the pricing.
Support
How do I get help?
Email us at CleanMail.service@gmail.com for technical support or sales inquiries.
Do you offer custom plans?
We publish five plans, including Enterprise at $199/month with 20,000 verifications/day. If you need more than that, contact us and we will put together a custom quote with dedicated support.
Your account
I lost my API key. What do I do?
Sign in and open Settings. Your key is on the account page, and you can reveal it, copy it, or have it emailed to the address on the account. If you cannot sign in, use the “Forgot Password?” link on the sign-in screen.
How do I change the email address on my account?
Open Settings, enter the new address and your current password, and we send a 6 digit code to the new address. The account only moves once you enter that code, so nobody can take your account over by changing the address.
How do I change my password?
Open Settings and use the Change Password form. It asks for your current password, and the new one has to be at least 8 characters. The change takes effect immediately.
Can I download my data?
Yes. Open Settings and use Download my data. You get a JSON file with your account, your keys, your verification history, your batch jobs, your webhooks, your billing record and the emails we sent you.
How do I delete my account and my data?
Open Settings and use Delete my account. It asks for your password and for you to type DELETE. The account, its keys, its verification history, its batch jobs and the files behind them, its webhooks, its billing record and its email log are deleted. The free validator's anonymous rows are not personal to an account, so they are not part of that.
Is there a status page?
Yes: the status page. It runs live checks from your browser and shows what answered and what did not. There is no invented uptime number on it: what you see is the check that just ran.

Still have questions?

Contact us at CleanMail.service@gmail.com