DMARC, SPF & MX Lookup API - Email Authentication & DNS Security Audit
email_dns_dmarc_spf_checkCheck the email DNS setup of up to 50 domains per call: MX records (do the hosts resolve), SPF (parsed, DNS lookup count against the limit of 10 with includes resolved), DMARC (policy, pct, reports, alignment), DKIM for your selectors and common ones, MTA-STS, TLS-RPT and BIMI, with a score, a grade and a fix for every issue. Change monitor mode returns only domains whose records changed. A resolver outage is reported as unavailable, never as no record. Free: 5 calls/day per IP. Paid: Radar API key (from €15/mo at https://radarbg.com/pricing#starter via X-API-Key) or $0.005/call via x402 at https://radarbg.com/x402/email-dns-dmarc-spf-check.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domains": [
"google.com",
"github.com",
"example.com"
],
"dkimSelectors": [
"selector1"
]
},
"name": "email_dns_dmarc_spf_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | Optional: exactly one domain, e.g. example.com. It is never split: a value with spaces, commas, semicolons or new lines returns one invalid_format row. Use domains for a list. | |
| domains | No | Domains to check, up to 50 per call, bare names like example.com (no https://, no mailbox). The API answers 400 above 50 (the Actor checks the first 50). Each row shows your input and the checked (lowercased) domain; duplicates are checked | |
| datasetId | No | Optional. Pick a dataset (or paste its ID) to read the input from, for example the result of Google Maps Scraper. When this actor runs as an integration, the dataset of the triggering run is used automatically (payload.resource.defaultDatas | |
| datasetField | No | Optional. The item field that holds the value, for example website, url or videoUrl (dot paths like author.url work). Empty = detected automatically. | |
| dkimSelectors | No | Optional. Your own DKIM selector names (the part before ._domainkey), up to 20 (the API answers 400 above 20 or for an invalid name), for example s1 or mimecast20240101. They are checked in addition to the common ones: google, selector1, se | |
| datasetMaxItems | No | Upper limit of unique values taken from the dataset, to keep the cost under control. |