Verification API · Updated

Disposable email detection API

Sortance’s disposable email API is POST /v1/check, and it is free. It checks the address’s syntax, whether the domain has a mail server, whether the domain is a known throwaway, and your own block and allow rules. Every failure comes with a reason from a closed list, so your code knows what to say to the user.

How do I check if an email is disposable?

curl -X POST https://api.sortance.com/v1/check \
  -H "Authorization: Bearer $SORTANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":"test@mailinator.com"}'

An illustrative response:

{
  "email": "test@mailinator.com",
  "domain": "mailinator.com",
  "passes": false,
  "disposable": true,
  "suspected": false,
  "reason": "disposable_domain",
  "reasons": ["disposable_domain"],
  "checks": { "syntax": "pass", "mx": "pass", "disposable": "fail" },
  "esp": "self_hosted",
  "email_type": "disposable",
  "mx_hosts": ["mail.mailinator.com", "mail2.mailinator.com"],
  "mx_provider": "unknown",
  "latency_ms": 41,
  "trace_id": "ck_..."
}

passes is true only when the syntax is valid, the domain’s MX resolved, the domain is not on the block tier and you have not blocked the domain or the address. A suspected domain still passes, with suspected: true. email_type sorts the address into business, free, role, disposable, relay or unknown.

Is the disposable email API really free?

Yes. /v1/check has no meter. It does not touch your monthly verification quota and it is not billed. It does need an API key and it shares the 600-a-minute rate limit with /v1/verify.

It is free because it costs us almost nothing to run. Nothing in it asks a mailbox, calls a vendor or runs a model. It also stores nothing: no trace row and no cache entry. The ck_ trace id exists only so a support question can be matched to a log line.

What reasons can it return?

Nine, in this order. reason is the first one that applies, or null; reasons lists all of them. The list is closed, so a new code appears in the docs before it can appear in a response.

reasonSet whenAt signup
syntax_invalidNot a valid address.Reject. Show the user a typo message.
address_blocklistedThe address is on your own address blocklist.Reject.
domain_blocklistedThe domain, or a parent of it, is on your own blocklist.Reject.
no_mxDNS answered, and the domain has no mail server (or a null MX).Reject. Mail cannot arrive.
mx_unresolvedThe DNS lookup itself failed or timed out. Nothing was learned.Do not reject. Retry, or let /v1/verify decide.
disposable_domainThe domain is on the block tier.Reject.
disposable_suspectedThe domain is on the signal tier: alias services, anonymous signup, popular domains awaiting review.Confirm by email or review. Do not hard-block.
domain_allowlistedYour own allowlist covers the domain, so the disposable tiers were skipped.Informational.
address_allowlistedYour own allowlist covers the address. Syntax and MX still ran.Informational.

/v1/verify uses the same reasons, so a rule you write against one works on the other. The full table, including what each code becomes on /v1/screen, is in the check reference.

Why are there two disposable tiers?

Because some domains are throwaway inboxes and some only look like them, and treating both the same turns away real people.

  • Block tier (disposable_domain): known temp-mail providers. The check ends there.
  • Signal tier (disposable_suspected): alias and anonymous-signup services, plus popular domains that an upstream list added and nobody here has reviewed yet. Someone using one may be a privacy-minded customer. On /v1/verify a suspected domain caps the score at 60 but never changes the recommendation on its own.

Where does the disposable domain list come from?

Two public open-source projects, compiled together, with a popularity guard on top. Every list is fetched from them; nothing is sent back.

SourceFiles readWhat it can do to a request
disposable-email-domainsdisposable_email_blocklist.confBlock tier: a domain on it ends the check as disposable_domain, unless it is allowlisted or popular and not yet reviewed.
disposable/disposable-email-domainsdomains, domains_mx, domains_strict, domains_strict_mxdomains joins the block tier. The strict-only entries (anonymous-signup and alias services) form the signal tier, which never ends a check. The _mx variants are subsets and only tag a domain.
Legacy email-check exporttemp-email-domains (2026-10-07)Archive only. Kept for provenance and never read when a check runs: most of it no longer resolves, and it lists real providers.

Popularity guard: Tranco (tranco-list.eu), a research-grade ranking, used only to decide which upstream entries need human review.

  • The lists are rebuilt every six hours.
  • Any upstream entry in the Tranco top 100,000 goes to the signal tier until a person reviews it. One bad pull request upstream should not block a real mail provider for everyone.
  • A refresh is thrown away, and the previous list kept, if the block tier would drop below 50,000 entries or change by more than 20% in one go.

How the tiers are built and tested is in domain validation.

What if a real domain gets flagged?

Put it on your allowlist. POST /v1/domains/allowlist takes up to 1,000 domains a request, and your allowlist beats both disposable tiers on every later check. The response then carries domain_allowlisted so you can see it worked. The same goes the other way: POST /v1/domains/blocklist for a throwaway domain the public lists have not caught yet.

A rule applies at once on the API instance that took it. Elsewhere it waits out a 30-second memo plus Cloudflare’s own propagation, which is usually within a minute. See blocklists.

Can I call it without writing the HTTP request?

  • JavaScript SDK. One file, https://sortance.com/sdk/sortance.js, with isDisposableEmail(email), isValidEmail(email) and emailType(email). If our API is unreachable they fail open: isDisposableEmail returns false rather than turning someone away. See the SDK.
  • MCP. The check_email tool on https://api.sortance.com/mcp returns the same object and is also free. See MCP server.

What a disposable check will not catch

It judges the domain, never the part before the @. That is the whole trade: fast and free, and blind to anything a domain list cannot see.

  • A throwaway domain registered this morning. It reaches the public lists once someone notices it.
  • A real Gmail account opened for one free trial. Nothing about the domain is wrong. See free trial abuse.
  • A made-up address on a real domain, such as asdfgh@gmail.com. /v1/verify adds an AI check on the address for that, and the validation API page explains what it returns.

Bots that sign up at scale need throwaway inboxes, and this closes that door. It does not tell you whether a person or a script filled in the form, so pair it with Turnstile or hCaptcha. The signup-side playbook is on block disposable emails and fake signups.

Questions people ask

Is there a free disposable email API?

Yes. Sortance's POST /v1/check is free and does not count against any quota. You need an API key, which you get by signing in, and it shares the 600-requests-a-minute limit with /v1/verify. It checks syntax, the domain's mail servers, two tiers of disposable-domain lists and your own rules, and returns a reason from a closed list.

How does a temp mail detector API know a domain is disposable?

It looks the domain up in lists of known throwaway providers. Sortance compiles two public projects, disposable-email-domains and disposable/disposable-email-domains, into a block tier and a weaker signal tier, refreshes them every six hours, and moves any upstream entry that is a popular real domain to the weaker tier until a person has reviewed it.

What is the difference between disposable_domain and disposable_suspected?

disposable_domain means the domain is on the block tier, a known throwaway inbox, and it is safe to reject at signup. disposable_suspected means it is on the signal tier: alias and anonymous-signup services, or a popular domain still waiting for review. Do not hard-block those. Ask for email confirmation or send them to review.

Can a disposable email API catch every temporary address?

No. New throwaway domains appear every day and reach the public lists after they are noticed. A list also cannot tell you anything about a real Gmail account someone created for one free trial. Use /v1/check to stop the known ones for free, and /v1/verify, which adds an AI check on the address, for the signups that matter.

What if a real customer's domain is flagged as disposable?

Add it to your domain allowlist with POST /v1/domains/allowlist. Your allowlist beats the disposable tiers on every later check, and the reason domain_allowlisted tells you it was applied. You can send up to 1,000 domains per request. A change usually reaches every API instance within a minute.