---
title: "Check email DNS health (MX, SPF, DMARC, DKIM)"
method: GET
path: "/api/domains/{domain}/email/check"
tags: ["Email"]
---

# Check email DNS health (MX, SPF, DMARC, DKIM)

`GET /api/domains/{domain}/email/check`

## Request

- Base URL: `https://domani.run`
- URL: `https://domani.run/api/domains/{domain}/email/check`
- Auth: HTTP bearer

Checks email DNS configuration for a domain: MX records, SPF, DMARC, and DKIM. Auto-detects the email provider from MX records (Google Workspace, Proton, Fastmail).

## Path parameters

- `domain` string, required

## Response `200`

Email DNS health report

- object
  - `domain` string
  - `provider` string, nullable: Auto-detected email provider (google-workspace, proton, fastmail) or null
  - `mx` object
    - `configured` boolean
    - `records` string[]
  - `spf` object
    - `configured` boolean
    - `value` string, nullable
  - `dmarc` object
    - `configured` boolean
    - `value` string, nullable
  - `dkim` object
    - `configured` boolean
    - `selectors` string[]

## Other responses

- `401`: Missing or invalid API key
- `404`: Domain not found
- `429`: Rate limit exceeded - wait and retry

---

[API](https://skmtc.dev/domani/apis/domani-run-api.md) · [All operations](https://skmtc.dev/domani/apis/domani-run-api/llms.txt) · [OpenAPI document](https://skmtc.dev/domani/apis/domani-run-api/revisions/7679f8159533?raw)
