{"api":{"id":"api_dc1804c3cb217a379b39d150","slug":"email-security-dns-check","name":"Email Security DNS Check API","description":"One email-security verdict row per company domain: mail provider, SPF record and its all rule, DMARC policy, percentage and report address, DKIM selectors found, MTA-STS and BIMI. Built from public DNS answers.","kind":"ready_made","visibility":"public","domain":"dns.google","source_url":"https://dns.google/resolve","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":12,"created_at":"2026-12-06T03:57:27.639Z","updated_at":"2026-12-06T03:57:27.639Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"domain","type":"string","description":"The domain checked, lower case.","required":true,"coverage":1,"example":"shopify.com"},{"name":"mx_hosts","type":"array","description":"Mail server host names from the MX records, best priority first.","required":false,"coverage":1,"example":["aspmx.l.google.com","alt2.aspmx.l.google.com"]},{"name":"email_provider","type":"string","description":"Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.","required":false,"coverage":0.75,"example":"Google Workspace"},{"name":"spf_record","type":"string","description":"The SPF TXT record, as published.","required":false,"coverage":1,"example":"v=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all"},{"name":"spf_all_mechanism","type":"string","description":"How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).","required":false,"coverage":1,"example":"~all"},{"name":"dmarc_record","type":"string","description":"The DMARC TXT record at _dmarc.<domain>.","required":false,"coverage":1,"example":"v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.com"},{"name":"dmarc_policy","type":"string","description":"DMARC policy p: none, quarantine or reject.","required":false,"coverage":1,"example":"reject"},{"name":"dmarc_pct","type":"integer","description":"Share of mail the DMARC policy applies to; 100 when the record leaves pct out.","required":false,"coverage":1,"example":100},{"name":"dmarc_rua","type":"string","description":"Address for DMARC aggregate reports (a business mailbox or a report service).","required":false,"coverage":1,"example":"mailto:d•••@shopify.com"},{"name":"dkim_selectors_found","type":"array","description":"Common DKIM selectors that have a published key.","required":false,"coverage":0.75,"example":["google","mail"]},{"name":"mta_sts","type":"string","description":"The MTA-STS TXT record at _mta-sts.<domain>.","required":false,"coverage":0.25,"example":"v=STSv1; id=20210803T010101;"},{"name":"bimi","type":"string","description":"The BIMI TXT record at default._bimi.<domain>.","required":false,"coverage":0.75,"example":"v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg;…"}],"inputs":[{"name":"domains","type":"array","description":"Company domains to check, such as shopify.com.","example":["shopify.com"],"required":true}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"bimi":{"description":"The BIMI TXT record at default._bimi.<domain>.","type":"string"},"dkim_selectors_found":{"description":"Common DKIM selectors that have a published key.","type":"array"},"dmarc_pct":{"description":"Share of mail the DMARC policy applies to; 100 when the record leaves pct out.","type":"integer"},"dmarc_policy":{"description":"DMARC policy p: none, quarantine or reject.","type":"string"},"dmarc_record":{"description":"The DMARC TXT record at _dmarc.<domain>.","type":"string"},"dmarc_rua":{"description":"Address for DMARC aggregate reports (a business mailbox or a report service).","type":"string"},"domain":{"description":"The domain checked, lower case.","type":"string"},"email_provider":{"description":"Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.","type":"string"},"mta_sts":{"description":"The MTA-STS TXT record at _mta-sts.<domain>.","type":"string"},"mx_hosts":{"description":"Mail server host names from the MX records, best priority first.","type":"array"},"spf_all_mechanism":{"description":"How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).","type":"string"},"spf_record":{"description":"The SPF TXT record, as published.","type":"string"}},"required":["domain"],"title":"Email Security DNS Check API","type":"object"},"samples":[{"domain":"shopify.com","mx_hosts":["aspmx.l.google.com","alt2.aspmx.l.google.com","alt1.aspmx.l.google.com","alt3.aspmx.l.google.com"],"email_provider":"Google Workspace","spf_record":"v=spf1 include:_spf.google.com include:mail.zendesk.com include:sendgrid.net ~all","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=reject; pct=100; fo=1; rua=mailto:d•••@shopify.com;ruf=mailto:d•••@shopify.com","dmarc_policy":"reject","dmarc_pct":100,"dmarc_rua":"mailto:d•••@shopify.com","dkim_selectors_found":["google","mail"],"mta_sts":null,"bimi":"v=BIMI1; l=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.svg; a=https://vmc.digicert.com/8833b699-1227-41ee-b185-cc2d9a08e213.pem;"},{"domain":"github.com","mx_hosts":["github-com.mail.protection.outlook.com"],"email_provider":"Microsoft 365","spf_record":"v=spf1 ip4:192.30.252.0/22 ip4:172.170.10.240/28 ip4:40.78.162.192/28 ip4:172.170.3.48/28 include:spf.protection.outlook.com include:_netblocks.google.com include:_netblocks2.google.com include:mail.zendesk.com include:_spf.salesforce.com include:servers.mcsv.net…","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:d•••@github.com; ruf=mailto:d•••@github.com; fo=1","dmarc_policy":"quarantine","dmarc_pct":100,"dmarc_rua":"mailto:d•••@github.com","dkim_selectors_found":["google","selector1","k1","s1"],"mta_sts":null,"bimi":null},{"domain":"google.com","mx_hosts":["smtp.google.com"],"email_provider":"Google Workspace","spf_record":"v=spf1 include:_spf.google.com ~all","spf_all_mechanism":"~all","dmarc_record":"v=DMARC1; p=reject; rua=mailto:m•••@google.com","dmarc_policy":"reject","dmarc_pct":100,"dmarc_rua":"mailto:m•••@google.com","dkim_selectors_found":[],"mta_sts":"v=STSv1; id=20210803T010101;","bimi":"v=BIMI1; l=; a=; lps=googlewallet-noreply-bimi"}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"bimi":0.67,"dkim_selectors_found":0.67,"dmarc_pct":1,"dmarc_policy":1,"dmarc_record":1,"dmarc_rua":1,"domain":1,"email_provider":1,"mta_sts":0.33,"mx_hosts":1,"spf_all_mechanism":1,"spf_record":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_dc1804c3cb217a379b39d150/run","openapi":"https://pullrow.dev/v1/apis/api_dc1804c3cb217a379b39d150/openapi.json","contract":"https://pullrow.dev/v1/apis/api_dc1804c3cb217a379b39d150/contract.json","page":"https://pullrow.dev/catalog/email-security-dns-check"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["Reads Google Public DNS (dns.google JSON API), which is free without a key but fair-use limited; each domain needs about 17 lookups, so a run is paced at several domains per second at most.","DKIM keys live under selector names only the sender knows; the check tries about 12 common selectors (google, selector1, selector2, default, k1, s1, s2, mandrill, dkim and similar), so an empty dkim_selectors_found does not prove DKIM is missing.","email_provider is inferred from the MX host names (Google Workspace, Microsoft 365, Proofpoint and others) and is null when the MX is not recognised.","Shows only what DNS publishes now: no mailbox tests, no blocklist checks, and no reading of the DMARC reports. One run takes up to 200 domains."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"domain","label":"Domain","description":"The domain checked, lower case.","group":"Basics","shown":true,"written":false},{"name":"mx_hosts","label":"Mx hosts","description":"Mail server host names from the MX records, best priority first.","group":"Basics","shown":true,"written":false},{"name":"email_provider","label":"Email provider","description":"Mail provider inferred from the MX hosts, such as Google Workspace or Microsoft 365.","group":"Contact","shown":true,"written":false},{"name":"spf_record","label":"Spf record","description":"The SPF TXT record, as published.","group":"Basics","shown":true,"written":false},{"name":"spf_all_mechanism","label":"Spf all mechanism","description":"How SPF ends: -all (reject), ~all (soft fail), ?all (neutral) or +all (allow all).","group":"Basics","shown":true,"written":false},{"name":"dmarc_record","label":"Dmarc record","description":"The DMARC TXT record at _dmarc.<domain>.","group":"Basics","shown":true,"written":false},{"name":"dmarc_policy","label":"Dmarc policy","description":"DMARC policy p: none, quarantine or reject.","group":"Basics","shown":true,"written":false},{"name":"dmarc_pct","label":"Dmarc (%)","description":"Share of mail the DMARC policy applies to; 100 when the record leaves pct out.","group":"Basics","shown":true,"written":false},{"name":"dmarc_rua","label":"Dmarc rua","description":"Address for DMARC aggregate reports (a business mailbox or a report service).","group":"Basics","shown":true,"written":false},{"name":"dkim_selectors_found","label":"Dkim selectors found","description":"Common DKIM selectors that have a published key.","group":"Basics","shown":true,"written":false},{"name":"mta_sts","label":"Mta sts","description":"The MTA-STS TXT record at _mta-sts.<domain>.","group":"Basics","shown":true,"written":false},{"name":"bimi","label":"Bimi","description":"The BIMI TXT record at default._bimi.<domain>.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"domains","label":"Domains","help":"Company domains to check, such as shopify.com.","example":"shopify.com","written":false}]}},"incidents":[]}