# Email Validator API

> Email Validator is an email validation API that checks whether an address is well-formed, whether its domain can receive mail, and whether it is safe to accept. It validates the format, resolves MX records (including null MX and the A-record fallback), checks for SPF and DMARC, flags disposable, role and free-provider addresses, and returns a normalized address for spotting duplicates. Paid plans add a risk score, typo correction, the mail provider and what a role mailbox is for (support, billing, noreply and so on).

**Endpoint:** `GET https://api.apiverve.com/v1/emailvalidator`  
**Category:** Data Validation  
**Cost:** 20 credits per call  
**Canonical page:** https://apiverve.com/marketplace/emailvalidator

## Overview

Use it as an email validation API, email checker API or email address verification API: one call verifies an email address before it reaches your database, with disposable email detection for temp mail domains built in. An email verification API and email checker for signup forms and CRM imports. Email Validator checks the address format, resolves the domain's MX records, follows the RFC fallback to the domain's A record, flags domains that publish a null MX, and reports whether the domain has SPF and DMARC records. It matches the domain against free, disposable and role-account lists, and returns a normalized address so +tag and Gmail-dot variants collapse to one. Every check runs over DNS, with no SMTP mailbox probe, so a slow mail server never holds up the response. Paid plans add a risk score and a suggested correction for domain typos.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/emailvalidator?email=support%40myspace.com" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `email` | string | Yes | The email address to validate (e.g., support@myspace.com). email |

## Response fields

- `email` — string · The email address that was validated
- `domain` — string · The domain portion extracted from the email
- `username` — string · The username (local part) extracted from the email
- `isRegexValid` — boolean · Email passes standard regex format validation
- `hasTypo` — boolean · The address is malformed and fails format validation
- `isMxValid` — boolean · The domain has valid mail exchange (MX) records and can receive mail
- `isValid` — boolean · Indicates whether the email address is valid
- `isFreeEmail` — boolean · Domain belongs to a free consumer email provider
- `isCompanyEmail` — boolean · Domain appears to be a corporate/company domain; always false for disposable and free-provider domains, for domains that cannot receive mail, and for mail-less typos of free providers such as yahoo.comm
- `isDisposable` — boolean · Domain is a known disposable or throwaway email provider
- `isRoleAccount` — boolean · Mailbox is a role or shared address (e.g. info@, support@, noreply@) rather than a person
- `mxRecord` — string · The preferred (lowest-priority) mail exchanger host for the domain, or null when it has none
- `isNullMx` — boolean · The domain publishes a null MX record (RFC 7505), declaring that it accepts no email
- `canReceiveMail` — boolean · The domain can be sent mail: it has a real MX record, or no MX at all but an A record that mail falls back to (RFC 5321). Null if the fallback lookup could not complete. False when the domain's DNS is broken (every public resolver answers SERVFAIL, e.g. a lame delegation). Unlike isMxValid, this follows the RFC fallback, so a parked domain with only a website address can be true
- `hasSpf` — boolean · The domain publishes an SPF (v=spf1) record, a sign it is set up to send mail. Null if the TXT lookup could not complete
- `hasDmarc` — boolean · The domain publishes a DMARC (v=DMARC1) record at _dmarc. Null if the lookup could not complete
- `isSubaddressed` — boolean · The address uses a +tag sub-address, e.g. jane+news@example.com
- `normalizedEmail` — string · Canonical address for spotting duplicates: the +tag removed, and for Gmail the dots too (googlemail.com folds into gmail.com). Not a deliverability claim
- `suggestedCorrection` — object · The likely intended email when a common domain typo is detected (e.g. gmial.com to gmail.com), otherwise null · (premium)
- `mailProvider` — string · Who handles the domain's incoming mail, read from its MX records: Google, Microsoft, Zoho, Proofpoint and about 25 others. Null when the domain runs its own mail servers or uses a provider not on the list · (premium)
- `isSecurityGateway` — boolean · True when mailProvider is an email security gateway (Proofpoint, Mimecast, Cisco and similar) that filters mail before it reaches the real mailbox host, which is typical of larger companies; null when mailProvider is null · (premium)
- `roleCategory` — string · What a role mailbox is for: general, support, sales, marketing, press, billing, hr, legal, security, technical or noreply. Null for a personal address · (premium)
- `riskScore` — number · Composite 0-100 risk score combining deliverability, disposable, role and format signals (higher is riskier) · (premium)
- `riskLevel` — string · Risk band derived from the score: low, medium or high · (premium)

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "email": "support@myspace.com",
    "domain": "myspace.com",
    "username": "support",
    "isRegexValid": true,
    "hasTypo": false,
    "isMxValid": true,
    "isValid": true,
    "isFreeEmail": false,
    "isCompanyEmail": true,
    "isDisposable": false,
    "isRoleAccount": true,
    "mxRecord": "mxa-00ac0e01.gslb.pphosted.com",
    "isNullMx": false,
    "canReceiveMail": true,
    "hasSpf": true,
    "hasDmarc": true,
    "isSubaddressed": false,
    "normalizedEmail": "support@myspace.com",
    "suggestedCorrection": null,
    "mailProvider": "Proofpoint",
    "isSecurityGateway": true,
    "roleCategory": "support",
    "riskScore": 10,
    "riskLevel": "low"
  }
}
```

## Use cases

- **Signup Abuse Prevention** — To stop fake signups, SaaS onboarding flows block temporary addresses by checking disposable flags before creating new trial accounts.
- **B2B Lead Routing** — Sales teams verify company domains against free provider flags to route corporate inquiries directly to account executives.
- **Mailing List Hygiene** — When scrubbing subscriber databases, email marketers filter out missing mail records and invalid syntax to protect sender reputation.
- **Customer Support Routing** — Flag shared inboxes like billing or support addresses during ticket submission to direct automated receipts to named team members instead.
- **Free Trial Abuse** — Store the normalized address at signup so jane+1@gmail.com and j.ane@gmail.com count as one person when a product hands out free trials or credits.

## SDKs

- **npm** — `npm install @apiverve/emailvalidator` (https://www.npmjs.com/package/@apiverve/emailvalidator)
- **PyPI** — `pip install apiverve-emailvalidator` (https://pypi.org/project/apiverve-emailvalidator/)
- **NuGet** — `dotnet add package APIVerve.API.EmailValidator` (https://www.nuget.org/packages/APIVerve.API.EmailValidator)
- **Source** — https://github.com/apiverve/emailvalidator-api

## More

- Full reference: https://docs.apiverve.com/ref/emailvalidator
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
