Email Domain Type API

Is a domain disposable, a free email provider, or a company domain? One API call tells you — with real counts behind every type.

Disposable

Built to be thrown away after one signup.

6,701+

Free Provider

Gmail, Yahoo, Outlook and more — real personal inboxes.

3,576+

Company

A real registered business domain.

81,305,811+

Quickstart

GET /v4/email-domain-type/check?domain=example.com — one domain in, one classification out.

cURL

curl "https://api.marketxy.com/v4/email-domain-type/check?domain=example.com" \
  -H "X-API-Key: mxy_live_your_key_here"

Python

import requests

resp = requests.get(
    "https://api.marketxy.com/v4/email-domain-type/check",
    params={"domain": "example.com"},
    headers={"X-API-Key": "mxy_live_your_key_here"},
)
print(resp.json())

PHP

$ch = curl_init("https://api.marketxy.com/v4/email-domain-type/check?domain=example.com");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["X-API-Key: mxy_live_your_key_here"]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
curl_close($ch);
echo $response;

Node.js

const res = await fetch("https://api.marketxy.com/v4/email-domain-type/check?domain=example.com", {
  headers: { "X-API-Key": "mxy_live_your_key_here" },
});
console.log(await res.json());

Example response

{
  "statusCode": 200,
  "data": {
    "domain": "yoocco.com",
    "type": "company",
    "source": "actes-z7",
    "hostingProvider": "google-workspace",
    "found": true
  }
}

Frequently asked questions

What does the Email Domain Type API actually return?
A classification — disposable, free, or company — for one domain, plus a separate hostingProvider signal (Google Workspace / Microsoft 365 / Zoho Mail) that never reclassifies a real company as "free" just because a consumer platform hosts its email. type is null, never a guess, when we have no classification.
Why would I check this before accepting a signup?
A disposable address is built to be thrown away — a strong, honest signal for fraud/spam risk. A free-provider address is a normal personal inbox, not a risk by itself. A company address usually means a real business is behind the signup. Most customers route or score leads differently by type rather than blocking any of them outright.
Is this real-time or a stale list?
Classification is read live from MarketXY's own crawled dataset (actes2025's z7 field) at request time, with a small curated fallback list (major free providers, and the open-source disposable-email-domains package) used only when the crawl has no answer yet.

Full parameter reference and more endpoints: API documentation.

Privacy policyTerms of useContact us← Ask MarketXY AI