# Find email provider, SPF & DMARC for company domains

**Use case:** 

Looks up MX, TXT and DNS records for a list of company domains and tells you which email provider each uses (Google Workspace, Microsoft 365, etc.) and whether SPF and DMARC are set up. Great for B2B prospecting and email deliverability audits.

## Input

```json
{
  "domains": [
    "stripe.com",
    "shopify.com",
    "hubspot.com",
    "zendesk.com",
    "atlassian.com",
    "canva.com"
  ],
  "checkRegistration": false,
  "whoisFallback": true,
  "checkDns": true,
  "dnsRecordTypes": [
    "MX",
    "TXT"
  ],
  "checkSsl": false,
  "maxConcurrency": 20
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "registered": {
    "label": "Registered",
    "format": "boolean"
  },
  "createdAt": {
    "label": "Created",
    "format": "string"
  },
  "domainAgeDays": {
    "label": "Age (days)",
    "format": "integer"
  },
  "expiresAt": {
    "label": "Expires",
    "format": "string"
  },
  "daysUntilExpiry": {
    "label": "Days to expiry",
    "format": "integer"
  },
  "registrar": {
    "label": "Registrar",
    "format": "string"
  },
  "mailProvider": {
    "label": "Email provider",
    "format": "string"
  },
  "hasSpf": {
    "label": "SPF",
    "format": "boolean"
  },
  "hasDmarc": {
    "label": "DMARC",
    "format": "boolean"
  },
  "ssl.certIssuer": {
    "label": "SSL issuer"
  },
  "ssl.certDaysLeft": {
    "label": "SSL days left",
    "format": "number"
  },
  "ssl.tlsValid": {
    "label": "SSL valid",
    "format": "boolean"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The WHOIS Lookup: Bulk Domain Age, Expiry, DNS & SSL Checker Actor is ready to run with the inputs already set for "Find email provider, SPF & DMARC for company domains". [Sign up or log in](https://console.apify.com/create-task-from-example/F5QVdt9pbdmWEmy1i) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find email provider, SPF & DMARC for company domains" task

The WHOIS Lookup: Bulk Domain Age, Expiry, DNS & SSL Checker Actor will start running based on the input automatically. You can also change all the input fields, like domains, urls or emails, registration data (rdap / whois), and more, to match your specific use case.

### 3. Receive the "Find email provider, SPF & DMARC for company domains" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as domain, registered, created, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find email provider, SPF & DMARC for company domains" task via API](https://apify.com/datafeedlab/bulk-domain-intel.md).

## FAQ

### How is the email provider detected?

This email provider task reads each domain's MX records and maps them to providers such as Google Workspace, Microsoft 365, Zoho, Proofpoint or Mimecast.

### What do hasSpf and hasDmarc mean?

hasSpf is true when the domain publishes an SPF TXT record; hasDmarc is true when a DMARC record exists at _dmarc.domain.

### Who uses this data?

Sales teams segment prospects by email stack, and IT and deliverability teams audit SPF and DMARC coverage across many domains.

## About this Actor

This example demonstrates how to use [WHOIS Lookup: Bulk Domain Age, Expiry, DNS & SSL Checker](https://apify.com/datafeedlab/bulk-domain-intel.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/datafeedlab/bulk-domain-intel.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/datafeedlab/bulk-domain-intel.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`).
