About this endpoint
What it does
Checks one or more domains for email DNS security records and returns a row-by-row result set with MX, SPF, DKIM, DMARC, BIMI, MTA-STS, and TLS-RPT details where available. The request accepts either a single domain or a list of domains, plus optional dkimSelectors to probe additional DKIM selectors.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| domain | String | No | Optional: exactly one domain, e.g. example.com. It is not split; values containing spaces, commas, semicolons, or new lines return an invalid_format row. Use domains for a list. |
| domains | String Array | No | Domains to check, up to 50 per call, as bare domain names like example.com only. Duplicate inputs are checked once and listed in duplicateInputs. |
| dkimSelectors | String Array | No | Optional custom DKIM selector names to check in addition to the common selectors. Up to 20 values are accepted. |
Response
Returns a JSON object with summary fields and an items array of per-domain result objects. Each item includes the checked domain, the original input, a status string, and record-specific objects such as mx, spf, dmarc, dkim, bimi, mtaSts, and tlsRpt when present.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| billed | Integer | No | Units charged for this call; result rows only are billed, while not-found, unavailable, and invalid rows are free. |
| count | Integer | No | Number of rows in items. |
| items | Object Array | No | Per-domain results. Each item may include mx, spf, bimi, dkim, dmarc, mtaSts, tlsRpt, issues, partialErrors, duplicateInputs, and other summary fields defined in the schema. |
| items[].mx | Object | No | MX lookup details for the domain. |
| items[].mx.found | Boolean | No | Whether MX records were found. |
| items[].mx.nullMx | Boolean | No | Whether the domain has a null MX. |
| items[].mx.records | Object Array | No | MX records returned for the domain. |
| items[].mx.records[].host | String | No | MX host. |
| items[].mx.records[].isCname | Boolean | No | Whether the host is a CNAME. |
| items[].mx.records[].priority | Integer | No | MX priority. |
| items[].mx.records[].resolves | Boolean | No | Whether the host resolves. |
| items[].spf | Object | No | SPF lookup details. |
| items[].spf.found | Boolean | No | Whether an SPF record was found. |
| items[].spf.errors | String Array | No | SPF lookup or parsing errors. |
| items[].spf.record | String | No | SPF record text. |
| items[].spf.includes | String Array | No | SPF include mechanisms found. |
| items[].spf.dnsLookups | Integer | No | Number of DNS lookups consumed by SPF evaluation. |
| items[].spf.mechanisms | String Array | No | SPF mechanisms found. |
| items[].spf.lookupLimit | Integer | No | SPF lookup limit value. |
| items[].spf.qualifierAll | String | No | Qualifier applied to all, if present. |
| items[].spf.lookupLimitExceeded | Boolean | No | Whether the SPF lookup limit was exceeded. |
| items[].bimi | Object | No | BIMI lookup details. |
| items[].bimi.found | Boolean | No | Whether a BIMI record was found. |
| items[].bimi.record | String | No | BIMI record text. |
| items[].bimi.vmcUrl | String | No | BIMI VMC URL. |
| items[].bimi.logoUrl | String | No | BIMI logo URL. |
| items[].dkim | Object | No | DKIM lookup details. Only real DKIM records count; wildcard SPF/DMARC TXT answers are ignored. |
| items[].dkim.keys | Object Array | No | DKIM keys found for the checked selectors. |
| items[].dkim.keys[].keyBits | Integer | No | DKIM key size in bits. |
| items[].dkim.keys[].keyType | String | No | DKIM key type. |
| items[].dkim.keys[].revoked | Boolean | No | Whether the DKIM key is revoked. |
| items[].dkim.keys[].selector | String | No | DKIM selector name. |
| items[].dkim.keys[].testMode | Boolean | No | Whether the DKIM key is in test mode. |
| items[].dkim.keys[].keyFingerprint | String | No | DKIM key fingerprint. |
| items[].dkim.found | Boolean | No | Whether DKIM records were found. |
| items[].dkim.selectorsChecked | String Array | No | DKIM selectors that were checked. |
| items[].dmarc | Object | No | DMARC lookup details. |
| items[].dmarc.pct | Integer | No | DMARC pct value. |
| items[].dmarc.rua | String Array | No | DMARC aggregate report URIs. |
| items[].dmarc.ruf | String Array | No | DMARC forensic report URIs. |
| items[].dmarc.aspf | String | No | DMARC SPF alignment mode. |
| items[].dmarc.adkim | String | No | DMARC DKIM alignment mode. |
| items[].dmarc.found | Boolean | No | Whether a DMARC record was found. |
| items[].dmarc.policy | String | No | DMARC policy: none, quarantine, or reject. For an inherited record, this is the sp= policy of the organisational domain; otherwise it is p=. |
| items[].dmarc.record | String | No | DMARC record text. |
| items[].dmarc.source | String | No | DNS name the DMARC record was read from. |
| items[].dmarc.inheritedFrom | String | No | Organisational domain whose record applies when the checked subdomain has none. |
| items[].dmarc.subdomainPolicy | String | No | DMARC subdomain policy. |
| items[].error | String | No | Reason for unavailable or invalid-format rows. |
| items[].grade | ENUM | No | Overall grade: A, B, C, D, or F. |
| items[].input | String | No | The value sent for this row, unchanged. |
| items[].score | Integer | No | Score from 0 to 100, where higher values indicate fewer issues. |
| items[].domain | String | No | Checked domain, lowercased, with trailing dot removed; IDN values are returned as punycode. |
| items[].issues | Object Array | No | Issues detected for the domain. |
| items[].issues[].fix | String | No | Suggested fix. |
| items[].issues[].area | ENUM | No | Issue area: domain, mx, spf, dmarc, dkim, mta-sts, tls-rpt, or bimi. |
| items[].issues[].issue | String | No | Issue description. |
| items[].issues[].severity | ENUM | No | Severity: high, medium, low, or info. |
| items[].mtaSts | Object | No | MTA-STS lookup details. |
| items[].mtaSts.id | String | No | MTA-STS policy identifier. |
| items[].mtaSts.mx | String Array | No | MX patterns from the MTA-STS policy. |
| items[].mtaSts.mode | String | No | MTA-STS mode. |
| items[].mtaSts.error | String | No | MTA-STS error, if any. |
| items[].mtaSts.maxAge | Integer | No | MTA-STS max-age value. |
| items[].mtaSts.txtFound | Boolean | No | Whether the MTA-STS TXT record was found. |
| items[].mtaSts.policyFetched | Boolean | No | Whether the MTA-STS policy file was fetched. |
| items[].status | ENUM | No | Row status: ok, nxdomain, unavailable, or invalid_format. Only ok and nxdomain rows are billed. |
| items[].tlsRpt | Object | No | TLS-RPT lookup details. |
| items[].tlsRpt.rua | String Array | No | TLS-RPT reporting URIs. |
| items[].tlsRpt.found | Boolean | No | Whether a TLS-RPT record was found. |
| items[].tlsRpt.record | String | No | TLS-RPT record text. |
| items[].checkedAt | String | No | UTC time of the DNS lookups in ISO 8601 format. |
| items[].issueCount | Integer | No | Number of issues with severity high, medium, or low; info issues are not counted. |
| items[].normalized | Boolean | No | Whether the checked domain differs from the input because of case, trailing dot, or IDN normalization. |
| items[].partialErrors | String Array | No | Lookup failures inside an ok row, such as resolver errors for specific sub-lookups. |
| items[].duplicateInputs | String Array | No | Other inputs that normalize to the same domain and were checked and billed once. |
Notes
The request accepts up to 50 domains in domains and up to 20 DKIM selectors in dkimSelectors; values above those limits are rejected by the API. Duplicate domain inputs are normalized and only checked once, and the response reports the repeats in duplicateInputs.



