Skip to main content
Post

Beyond the Flag: MX, Catch-All, and Role Fields in API Responses

By November 1, 2026November 16th, 2026No Comments

Most teams wire up a disposable email checker, see a boolean come back, and move on. Then a legitimate customer gets rejected at sign-up and nobody can explain why. The flag said “disposable,” but was that a blocklist match against a known temp-mail provider, or a DNS heuristic that misfired on a corporate mail gateway? The boolean can’t tell you. The full response can. This guide walks through the fields that matter beyond the flag and how to log and read them so you can debug false positives instead of guessing.

What a disposable email checker actually returns

A basic endpoint gives you three things: the domain, a pass/fail verdict, and maybe a reason string. Richer APIs return a structured payload with several independent signals. The disposable flag is one of them. The others describe the domain’s mail infrastructure and the mailbox’s likely role. Common fields include MX-host classification (which mail provider or class of provider the domain points to), catch-all status (whether the domain accepts mail for any address at that domain), and role-account detection (whether the local part looks like admin@, info@, sales@, or similar). Some services add domain age, DNS record presence, and SMTP-level reachability.

The reason this matters is that these fields come from different detection methods. A blocklist hit is a lookup against a curated list of known disposable email domains. A DNS heuristic hit is an inference drawn from MX records, catch-all behavior, or domain age. Both can set the same disposable flag, but they fail in different ways. Blocklists produce false negatives when a new temp-mail provider isn’t listed yet. Heuristics produce false positives when a legitimate domain happens to look like a throwaway one. If your logs only store the boolean, you can’t tell which failure you’re looking at.

The blocklist itself is rarely a single source. Services aggregate from projects like disposable-email-domains, which is a community blocklist plus an allowlist and is licensed under CC0, and FakeFilter, which publishes an automated list of temp-mail providers daily and offers an online API at fakefilter.net. Others pull from MailChecker, which supports over 55,000 throwable email domains, or from burner-email-providers, which is a plain list of temporary providers. amieiro/disposable-email-domains regenerates aggregated deny and allow lists every 15 minutes, which tells you how fresh a given source is. Some older lists like ivolo/disposable-email-domains are no longer maintained, so a service that still depends on them will drift. Knowing which upstream feeds a response is part of reading it correctly.

Reading MX, catch-all, and role fields without breaking sign-up

Start with MX-host classification. If the response says the domain routes through a major consumer provider, that’s a weak signal on its own. If it routes through a host that also serves hundreds of known temp-mail domains, that’s stronger. The field usually comes as a category or a provider name, not a raw MX string, so log the category label exactly as returned. When you debug a false positive later, you need to know whether the classifier saw “shared hosting” or “known disposable host.”

Catch-all status is the field most likely to cause trouble. A domain that accepts mail for any address is common among small businesses running their own mail server, and it’s also common among throwaway providers. Treat catch-all as a risk multiplier, not a verdict. A response that flags catch-all plus a role-account local part plus a young domain is a much stronger signal than catch-all alone. Role-account detection is the same story: info@ on a Fortune 500 domain is normal, info@ on a domain registered three weeks ago is not. The fields are meant to be combined, and the API usually returns them separately precisely so you can weight them yourself.

When you get a false positive, the debugging procedure is straightforward if you logged the payload. Pull the full response for that address. If the disposable flag is set and the reason points to a blocklist source, check which list and when it was last refreshed. If the reason points to MX or catch-all heuristics, the domain is probably legitimate and the heuristic is too aggressive for your use case. You can then either lower the weight on that signal or file a blocklist removal request with the upstream project. Projects like disposable-email-domains and amieiro’s aggregated lists accept pull requests on GitHub, and allowlist entries exist for exactly this reason. These resources also let you check if a domain is disposable when you need to verify a single address. Without the payload, you have no basis for either action.

Logging the full payload and choosing an endpoint

The practical rule: store the entire JSON response, not just the boolean, and store it with the request timestamp and the API version. Schema changes happen, fields get added, and a verdict you can’t reconstruct six months later is useless. A simple append-only log keyed on the email hash and timestamp covers most needs. If you handle high volume, sample the full payloads rather than every one, but always keep full payloads for any address that gets rejected, since those are the ones you’ll investigate. Include the upstream list name and its refresh time when the API exposes them, because a blocklist hit from a stale feed is a different problem than a hit from a fresh one.

Endpoint choice affects how much you get back. DeBounce provides a free disposable-check endpoint without an API key, which is fine for low-volume scripts but returns a thin payload. Kickbox and similar email validation API services return richer responses including MX and role fields, at a cost. Open-source options give you the raw lists so you can run your own checks, but you own the refresh cadence and the DNS lookups. For a sign-up form, a common pattern is a fast local check against a cached email domain blocklist on submit, then an asynchronous call to a fuller API for anything that passes, with the full response logged. That keeps latency low and still captures the diagnostic detail you need.

For background on how these lists are assembled and maintained, AllMail publishes a guide on disposable email domain lists that covers the major sources and their update schedules. Read it before you pick a provider, because the list behind the API matters as much as the API itself. A checker backed by ivolo’s abandoned list will miss newer providers; one backed by FakeFilter’s daily automated feed or amieiro’s 15-minute regeneration will stay current. The email domain reputation of your upstream sources is your own reputation at the sign-up form.

Store the full response, log the reason string and the upstream source, and treat the disposable flag as one signal among several rather than the answer. When a legitimate user gets blocked, the MX class, catch-all status, and role flag in the payload tell you whether you hit a blocklist or a DNS heuristic, and that distinction decides whether you tune a threshold or file a removal request. Build the logging first, then trust the flag.