# Domain age, MX, SPF and DMARC check

**Use case:** 

Check a list of domains in bulk for registration date and domain age, mail provider (Google Workspace, Microsoft 365 and others), MX records, SPF, DMARC policy and SSL certificate expiry. Useful for lead cleaning and email deliverability or security audits.

## Input

```json
{
  "domains": [
    "apify.com",
    "mailchimp.com"
  ],
  "extras": [
    "dns",
    "ssl",
    "rdap"
  ],
  "defaultPhoneCountry": "",
  "maxPagesPerDomain": 1,
  "respectRobotsTxt": true
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "string"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "companyName": {
    "label": "Company name",
    "format": "string"
  },
  "description": {
    "label": "Description",
    "format": "string"
  },
  "logo": {
    "label": "Logo",
    "format": "string"
  },
  "emails": {
    "label": "Business emails",
    "format": "array"
  },
  "phones": {
    "label": "Phone numbers (E.164)",
    "format": "array"
  },
  "socials": {
    "label": "Social links",
    "format": "object"
  },
  "address": {
    "label": "Postal address",
    "format": "object"
  },
  "dns": {
    "label": "DNS and email provider",
    "format": "object"
  },
  "ssl": {
    "label": "SSL certificate",
    "format": "object"
  },
  "rdap": {
    "label": "Domain registration (RDAP)",
    "format": "object"
  },
  "techStack": {
    "label": "Tech stack",
    "format": "array"
  },
  "error": {
    "label": "Error message",
    "format": "string"
  }
}
```

## How it works

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

The Company Enrichment & Lead Finder: Emails, Phones Actor is ready to run with the inputs already set for "Domain age, MX, SPF and DMARC check". [Sign up or log in](https://console.apify.com/create-task-from-example/FbPTTm4fVnJREUCYs) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Domain age, MX, SPF and DMARC check" task

The Company Enrichment & Lead Finder: Emails, Phones Actor will start running based on the input automatically. You can also change all the input fields, like domains or urls, extra data to collect, and more, to match your specific use case.

### 3. Receive the "Domain age, MX, SPF and DMARC check" 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, status, company name, 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 "Domain age, MX, SPF and DMARC check" task via API](https://apify.com/jcwilk/company-website-enrichment.md).

## FAQ

### What does the domain checker return?

The domain check task returns registration date and age in years, registrar, MX records, SPF, DMARC and its policy, nameservers, email provider and SSL issuer and expiry.

### Why is the domain age empty for some domains?

Domain age comes from public RDAP records. Some registries, such as .io and .de, run no public RDAP server, so the domain check task leaves it empty without failing.

### Can I check DMARC across many domains?

Yes. Paste all domains into the domain check task and each row shows the DMARC policy (none, quarantine or reject) and SPF record, so you can audit email security at scale.

### Can I run it from the API, n8n, Make or a schedule?

Yes. The domain check task runs from the Apify API, schedules and webhooks, and from n8n, Make or Zapier, and returns JSON, CSV or Excel.

## About this Actor

This example demonstrates how to use [Company Enrichment & Lead Finder: Emails, Phones](https://apify.com/jcwilk/company-website-enrichment.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/jcwilk/company-website-enrichment.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/jcwilk/company-website-enrichment.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`).
