Skip to main content
ScrubiMail

Email validation

Know an address is real before you send

Check syntax, DNS, the mailbox itself and risk signals in one API call. Use it on signup forms, in your CRM and before every campaign.

The Free plan includes 100 validation credits a month. Signing up does not ask for a card.

POST /validate/ mode: deep
{ "email": "[email protected]" }
Example response

[email protected]

verification_status valid · sub_status mailbox_exists

Valid

96/100

  • Syntaxpass
  • DNS and MXpass
  • Mailbox (SMTP)pass
  • Role-basedno
  • Reputation92

What it checks

Every check that decides whether mail will land

One request runs the full pipeline and returns each result in the breakdown, so you can decide how strict to be.

  • Syntax and typos

    RFC 5322 syntax, internationalised domain names and length limits. Common typos come back as a suggestion, such as gmial.com to gmail.com.

    breakdown.syntax, suggestions

  • DNS and MX

    Confirms the domain exists and can receive mail: A, AAAA and MX records, with CNAME fallback and MX preference scoring.

    breakdown.dns

  • Live mailbox check

    An SMTP conversation with the receiving server asks whether the mailbox exists.

    breakdown.smtp

  • Catch-all detection

    Spots domains that accept every address, so you can treat a yes from them as risky instead of confirmed.

    breakdown.smtp.catch_all

  • Disposable and role addresses

    Flags throwaway domains and role mailboxes such as info@, admin@ and support@, so you decide whether to accept them.

    breakdown.role_based, warnings

  • Reputation and spam traps

    Scores the domain and checks known spam-trap patterns. Look up any domain on its own with the domain reputation endpoint.

    GET /domain-reputation/{domain}/

  • Bulk list cleaning

    Submit a list as an asynchronous job and poll its progress, or upload a CSV file in the dashboard.

    POST /validate-bulk/

  • Verdict and score

    A verdict, an is_valid flag and a 0 to 100 score on every result, so a single field is enough for a quick decision.

    verdict, is_valid, score

  • History and analytics

    Browse past validations and see statistics for your account, filterable, from the API or the dashboard.

    GET /history/, GET /analytics/

How it works

From address to verdict in five stages

The checks run in this order, and each one reports its result in the breakdown.

  1. 01

    Syntax

    Parse the address, normalise internationalised domains and look for typos.

  2. 02

    DNS and MX

    Confirm the domain resolves and publishes mail servers.

  3. 03

    List checks

    Compare against disposable domains, role mailboxes and known spam-trap patterns.

  4. 04

    Mailbox check

    Ask the receiving server about the mailbox over SMTP, and test whether the domain accepts everything.

  5. 05

    Verdict and score

    Combine every signal into a verdict, a 0 to 100 score and a breakdown.

default

Deep check

Typically 2 to 8 seconds

  • Runs all five stages, including the live mailbox check.
  • Can return valid, invalid or catch-all.
  • If the check cannot finish in time the result is unknown, with a sub_status that says why. It never reports valid by guesswork.

?mode=fast

Fast check

Well under a second

  • Syntax, DNS and list checks only. It never opens an SMTP connection.
  • Suited to form fields where you want an instant answer while someone types.
  • Follow it with a deep check when the form is submitted.

In code

One request, one JSON result

Authenticate with the X-API-Key header. Paths end in a slash.

  • Accept an address when is_valid is true; treat catch-all domains, role addresses and low scores as risky.
  • Show suggestions to the user when a typo is likely.
  • Cached results are flagged with cached: true.
  • Create keys limited to the validate scope. Keep them on your server.
curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/validate/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "[email protected]"}'

# Syntax and DNS only, well under a second:
# curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/validate/?mode=fast" ...
200 OK, abridged
{
  "email": "[email protected]",
  "is_valid": true,
  "verdict": "Valid",
  "verification_status": "valid",
  "sub_status": "mailbox_exists",
  "score": 96,
  "mode": "deep",
  "cached": false,
  "breakdown": {
    "syntax": {"valid": true},
    "dns": {"valid": true, "score": 90},
    "smtp": {"valid": true, "catch_all": false},
    "reputation": {"reputation_score": 92, "is_spam_trap": false},
    "role_based": {"is_role_based": false}
  },
  "suggestions": [],
  "warnings": []
}
Lists: /validate-bulk/
# 1. Submit a list: returns 202 with a job_id
curl -X POST "https://api.scrubimail.com/scrubimail/api/v1/validate-bulk/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"emails": ["[email protected]", "[email protected]"]}'

# 2. Poll until the job is complete
curl "https://api.scrubimail.com/scrubimail/api/v1/bulk-status/JOB_ID/" \
  -H "X-API-Key: $SCRUBIMAIL_API_KEY"

Use cases

Where teams use it

  • Signup forms

    Run a fast check while the person types, then a deep check on submit. Block throwaway domains and mistyped addresses before they become accounts.

  • CRM and list hygiene

    Clean an exported list in bulk and remove invalid addresses, then flag catch-all and role addresses for review.

  • Before a campaign

    Invalid addresses cause hard bounces, which hurt your sender reputation. Validate first, then send.

    See email sending
  • Ongoing monitoring

    Use history and analytics to see how the quality of incoming addresses changes over time.

Pricing

Pay for the addresses you check

One credit validates one address. Use the monthly allowance of a plan, or buy credits when you need them.

See plans and the calculator
Free plan
100 validations
included every month. Signing up does not ask for a card.
Monthly plans from
$9 a month
Starter includes 10,000 validation credits a month.
Pay as you go
from $0.0016 per validation
$8.00 buys the first 1,000 credits; the rate drops as you buy more.

FAQ

Frequently asked questions

How validation behaves, and how to read a result.

How long does a check take?

The default deep check includes a live mailbox check and typically takes 2 to 8 seconds. Add ?mode=fast for a syntax and DNS check only, which returns well under a second and suits form fields where you want an answer while the person types.

If the mailbox check cannot finish inside its time budget, the response says unknown with a sub_status such as timeout instead of guessing.

What does the score mean?

Every result carries a verdict, an is_valid flag and a 0 to 100 score, plus a breakdown of each check: syntax, DNS, SMTP, reputation and role-based detection. Accept an address when is_valid is true, and treat catch-all domains, role addresses such as info@ or admin@, and low scores as risky. Where to draw that line is your business decision.

Can I clean a whole list?

Yes. POST a list of addresses to /validate-bulk/ to start an asynchronous job, then poll /bulk-status/{job_id}/ for progress and a summary. You can also upload a CSV file from the dashboard.

Do repeat checks cost credits?

Each validated address uses one credit. Repeat lookups of the same address can be served from a cache, which the response flags with cached: true.

Does it suggest fixes for typos?

Yes. The suggestions array can carry a correction such as gmial.com to gmail.com, which you can show to the person who typed it.

Is it safe to call from a browser?

No. Keep your API key on your server and call ScrubiMail from your backend. Create a key limited to the validate scope (or validate:bulk for lists) so a leaked key cannot send email or change settings.

Validate your first address in minutes

Create an account, make an API key and send the request above.