# MX record checker: does this domain accept mail

**Use case:** 

Look up the mail servers behind every address. A domain with no MX record cannot receive mail at all, which is the quiet cause of most hard bounces in a bought list.

## Input

```json
{
  "emails": [
    "hello@stripe.com",
    "info@apify.com",
    "contact@nonexistentdomain-xyz-99.com"
  ],
  "contacts": [
    {
      "company": "Apify",
      "email": "support@apify.com",
      "phone": "+1 206 235 0243"
    },
    {
      "company": "Stripe",
      "email": "hello@stripe.com",
      "phone": "+1 415 555 0132"
    },
    {
      "company": "Typo Co",
      "email": "noreply@gmial.com",
      "phone": "+62 361 123456"
    },
    {
      "company": "Disposable Ltd",
      "email": "test@mailinator.com",
      "phone": "+44 20 7946 0958"
    },
    {
      "company": "Ghost Inc",
      "email": "sales@nonexistentdomain-xyz-99.com",
      "phone": "+1 999 123 4567"
    }
  ],
  "keep": "all",
  "findWebsite": false,
  "emailField": "email, contactEmail, emailAddress",
  "phoneField": "phone, contactPhone, phoneNumber",
  "companyField": "company, companyName, name",
  "defaultCountry": "US",
  "dnsCheck": true,
  "maxContacts": 10000,
  "concurrency": 20,
  "dnsTimeoutMs": 5000,
  "httpTimeoutMs": 8000
}
```

## Output

```json
{
  "contactScore": {
    "label": "Contact score",
    "format": "number"
  },
  "company": {
    "label": "Company",
    "format": "string"
  },
  "website": {
    "label": "Website",
    "format": "string"
  },
  "websiteStatus": {
    "label": "Website check",
    "format": "string"
  },
  "foundEmails": {
    "label": "Addresses found on the site",
    "format": "array"
  },
  "email": {
    "label": "E-mail",
    "format": "string"
  },
  "emailStatus": {
    "label": "E-mail verdict",
    "format": "string"
  },
  "emailScore": {
    "label": "E-mail score",
    "format": "integer"
  },
  "emailReason": {
    "label": "Why",
    "format": "string"
  },
  "emailProvider": {
    "label": "Mail host",
    "format": "string"
  },
  "emailIsRole": {
    "label": "Role address",
    "format": "boolean"
  },
  "emailIsFree": {
    "label": "Free mailbox",
    "format": "boolean"
  },
  "phone": {
    "label": "Phone",
    "format": "string"
  },
  "phoneStatus": {
    "label": "Phone verdict",
    "format": "string"
  },
  "phoneType": {
    "label": "Number type",
    "format": "string"
  },
  "phoneCountry": {
    "label": "Country",
    "format": "string"
  },
  "phoneState": {
    "label": "State or province",
    "format": "string"
  },
  "phoneTimezone": {
    "label": "Time zone",
    "format": "string"
  },
  "phoneE164": {
    "label": "E.164",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Email Verifier & Phone Validator — $0.90 / 1,000](https://apify.com/lergassy/email-phone-verifier.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/lergassy/email-phone-verifier.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/lergassy/email-phone-verifier.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
